Crossfire Server, Branch 1.12
R12190
|
#include <CREArtifactPanel.h>
Public Member Functions | |
CREArtifactPanel () | |
void | setArtifact (const artifact *artifact) |
Protected Attributes | |
QTreeWidget * | myArchetypes |
const artifact * | myArtifact |
QLineEdit * | myChance |
QLineEdit * | myName |
QLineEdit * | myType |
Definition at line 12 of file CREArtifactPanel.h.
Definition at line 11 of file CREArtifactPanel.cpp.
References myArchetypes, myArtifact, myChance, myName, and myType.
void CREArtifactPanel::setArtifact | ( | const artifact * | artifact | ) |
Definition at line 42 of file CREArtifactPanel.cpp.
References artifactstruct::allowed, CREUtils::archetypeNode(), artifactstruct::chance, find_archetype_by_object_name(), artifactstruct::item, myArchetypes, myArtifact, myChance, myName, myType, linked_char::next, and try_find_archetype().
Referenced by CRETreeItemArtifact::fillPanel().
QTreeWidget* CREArtifactPanel::myArchetypes [protected] |
Definition at line 25 of file CREArtifactPanel.h.
Referenced by CREArtifactPanel(), and setArtifact().
const artifact* CREArtifactPanel::myArtifact [protected] |
Definition at line 21 of file CREArtifactPanel.h.
Referenced by CREArtifactPanel(), and setArtifact().
QLineEdit* CREArtifactPanel::myChance [protected] |
Definition at line 23 of file CREArtifactPanel.h.
Referenced by CREArtifactPanel(), and setArtifact().
QLineEdit* CREArtifactPanel::myName [protected] |
Definition at line 22 of file CREArtifactPanel.h.
Referenced by CREArtifactPanel(), and setArtifact().
QLineEdit* CREArtifactPanel::myType [protected] |
Definition at line 24 of file CREArtifactPanel.h.
Referenced by CREArtifactPanel(), and setArtifact().