7 #include <ff7tkwidgets_export.h>
8 #include <ChocoboEditor>
9 #include <ChocoboLabel>
21 void ownedChanged(qint8);
22 void occupiedChanged(qint8);
23 void stableMaskChanged(qint8);
24 void setMode(
bool advanced);
25 void nameChanged(
int, QString);
26 void sexChanged(
int, quint8);
27 void typeChanged(
int, quint8);
28 void sprintChanged(
int, quint16);
29 void mSprintChanged(
int, quint16);
30 void speedChanged(
int, quint16);
31 void mSpeedChanged(
int, quint16);
32 void staminaChanged(
int, quint16);
33 void accelChanged(
int, quint8);
34 void coopChanged(
int, quint8);
35 void intelligenceChanged(
int, quint8);
36 void personalityChanged(
int, quint8);
37 void pCountChanged(
int, quint8);
38 void winsChanged(
int, quint8);
39 void ratingChanged(
int, quint8);
40 void cantMateChanged(
int,
bool);
41 void penChanged(
int,
int);
45 chocoboEditor->setAdvancedMode(advanced);
47 void setData(
FF7CHOCOBO choco[6], QString name[6], quint16 stamina[6],
bool cMate[6], qint8 owned, qint8 occupied, qint8 mask, qint8 chocoPens[4], quint8 chocoRatings[6]);
48 void setData(QList<FF7CHOCOBO> chocos, QList<QString> names, QList<quint16> staminas, QList<bool> cMate, qint8 owned, qint8 occupied, qint8 mask, QList<qint8> chocoPens, QList<quint8> chocoRatings);
49 void setChocobo(
int s,
const FF7CHOCOBO &chocoData,
const QString &chocoName, quint16 chocoStamina,
bool chocoCmate, quint8 rating);
50 void setChocoboPen(
int pen,
int value);
51 void setOwned(
int owned);
52 void setOccupied(
int occupied,
int mask);
54 void changeEvent(QEvent *);
56 void ChocoboChanged(
int s);
57 void setStablesOwned(
int value);
61 void clearSelection();
62 void disableChocoLabels();
63 void enableChocoboLabels(
int count);
64 void rmChocobo(
int s);
65 void labelUpdate(
int label);
67 QGridLayout *createChocoboPenGrid();
68 QGridLayout *createChocoboLabelGrid();
69 QSpinBox *sbStablesOwned =
nullptr;
70 QLCDNumber *lcdStablesOccupied =
nullptr;
71 ChocoboLabel *chocoboLabel[6] = {
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr};
73 QGroupBox *penBox =
nullptr;
74 qint8 stablesOwned = 0;
75 qint8 stablesOccupied = 0;
77 QLabel *lblStablesOwned =
nullptr;
78 QLabel *lblStablesOccupied =
nullptr;
79 int selectedStable = -1;
82 QString chocoboName[7];
84 quint16 chocoboStamina[7];
85 quint8 chocoboRatings[7];
86 QComboBox *comboChocoPen[4];