Go to the documentation of this file.
23 addSpinBox(tr(
"Chance:"),
"chance", 0, 255,
false);
24 addSpinBox(tr(
"Magic:"),
"magic", 0, 255,
false);
25 addSpinBox(tr(
"Count:"),
"nrof", 0, 65535,
false);
38 event->acceptProposedAction();
43 event->acceptProposedAction();
50 event->acceptProposedAction();
55 event->acceptProposedAction();
static const char * Archetype
virtual void dragEnterEvent(QDragEnterEvent *event) override
TreasureListComboBox * myList
QLineEdit * addLineEdit(const QString &label, const char *property, bool readOnly=true)
void setList(const treasurelist *list)
AssetsManager * getManager()
QSpinBox * addSpinBox(const QString &label, const char *property, int min=0, int max=100, bool readOnly=true)
ArchetypeComboBox * addArchetype(const QString &label, const char *property, bool readOnly=false, bool allowNone=true)
static const char * TreasureList
static QList< T * > extract(const QMimeData *data, const QString &mime, AssetsCollection< T > *assets)
static void setHelpId(QWidget *widget, const QString &id)
virtual void dragMoveEvent(QDragMoveEvent *event) override
TreasureListComboBox * addTreasureList(const QString &label, const char *property, bool readOnly=true, bool allowNone=true)
event
DIALOGCHECK MINARGS 1 MAXARGS 2
void setArch(const archetype *arch)
ArchetypeComboBox * myArch
virtual void dropEvent(QDropEvent *event) override
TreasurePanel(QWidget *parent)