Crossfire Server, Trunk
|
#include <ArtifactPanel.h>
Public Member Functions | |
CREArtifactPanel (QWidget *parent) | |
virtual void | setItem (const artifact *artifact) override |
Public Member Functions inherited from CRETPanel< const artifact > | |
CRETPanel (QWidget *parent) | |
Public Member Functions inherited from CREPanel | |
virtual void | commitData () |
CREPanel (QWidget *parent) | |
virtual | ~CREPanel () |
Protected Slots | |
void | artifactChanged (QTreeWidgetItem *current, QTreeWidgetItem *previous) |
Protected Member Functions | |
void | computeMadeViaAlchemy (const artifact *artifact) const |
Protected Attributes | |
AnimationControl * | myAnimation |
QTreeWidget * | myArchetypes |
const artifact * | myArtifact |
QLineEdit * | myChance |
AnimationWidget * | myFace |
QTextEdit * | myInstance |
QLineEdit * | myName |
QLineEdit * | myType |
QTextEdit * | myValues |
QLabel * | myViaAlchemy |
Definition at line 14 of file ArtifactPanel.h.
CREArtifactPanel::CREArtifactPanel | ( | QWidget * | parent | ) |
Definition at line 9 of file ArtifactPanel.cpp.
References artifactChanged(), myAnimation, myArchetypes, myArtifact, myChance, myFace, myInstance, myName, myType, myValues, and myViaAlchemy.
|
protectedslot |
Definition at line 182 of file ArtifactPanel.cpp.
References obj::animation, archininventory::arch, arch_to_object(), AssetsManager::archetypes(), replace::current, describe_item(), obj::face, dragon_attune::faces, AssetsCollection< T, Key >::find(), FLAG_IDENTIFIED, FLAG_IS_TURNABLE, FREE_OBJ_FREE_INVENTORY, FREE_OBJ_NO_DESTROY_CALLBACK, getManager(), give_artifact_abilities(), artifactstruct::item, myAnimation, myArtifact, myFace, myInstance, Face::number, object_free(), object_give_identified_properties(), QUERY_FLAG, SET_FLAG, AnimationWidget::setAnimation(), AnimationControl::setAnimation(), AnimationWidget::step(), and stringbuffer_finish().
Referenced by CREArtifactPanel().
|
protected |
Definition at line 61 of file ArtifactPanel.cpp.
References disinfect::a, artifactstruct::allowed_size, archininventory::arch, recipestruct::arch_name, recipestruct::arch_names, find_archetype(), get_formulalist(), artifactstruct::item, legal_artifact_combination(), guildoracle::list, myViaAlchemy, obj::name, recipestruct::next, recipestruct::title, and obj::type.
Referenced by setItem().
|
overridevirtual |
Implements CRETPanel< const artifact >.
Definition at line 144 of file ArtifactPanel.cpp.
References addArchetypes(), artifactstruct::allowed, artifactstruct::chance, reputation_trigger_connect::check(), archt::clone, computeMadeViaAlchemy(), empty_archetype, get_ob_diff(), artifactstruct::item, myArchetypes, myArtifact, myChance, myInstance, myName, myType, myValues, give::name, obj::name, linked_char::next, stringbuffer_finish(), stringbuffer_new(), and obj::type.
|
protected |
Definition at line 31 of file ArtifactPanel.h.
Referenced by artifactChanged(), and CREArtifactPanel().
|
protected |
Definition at line 28 of file ArtifactPanel.h.
Referenced by CREArtifactPanel(), and setItem().
|
protected |
Definition at line 23 of file ArtifactPanel.h.
Referenced by artifactChanged(), CREArtifactPanel(), and setItem().
|
protected |
Definition at line 25 of file ArtifactPanel.h.
Referenced by CREArtifactPanel(), and setItem().
|
protected |
Definition at line 32 of file ArtifactPanel.h.
Referenced by artifactChanged(), and CREArtifactPanel().
|
protected |
Definition at line 30 of file ArtifactPanel.h.
Referenced by artifactChanged(), CREArtifactPanel(), and setItem().
|
protected |
Definition at line 24 of file ArtifactPanel.h.
Referenced by CREArtifactPanel(), and setItem().
|
protected |
Definition at line 26 of file ArtifactPanel.h.
Referenced by CREArtifactPanel(), and setItem().
|
protected |
Definition at line 29 of file ArtifactPanel.h.
Referenced by CREArtifactPanel(), and setItem().
|
protected |
Definition at line 27 of file ArtifactPanel.h.
Referenced by computeMadeViaAlchemy(), and CREArtifactPanel().