diff --git a/AchievementEditor_8cpp.html b/AchievementEditor_8cpp.html index 3444af668..a5ecca555 100644 --- a/AchievementEditor_8cpp.html +++ b/AchievementEditor_8cpp.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/AchievementEditor_8h.html b/AchievementEditor_8h.html index 8bde1e426..66fae8810 100644 --- a/AchievementEditor_8h.html +++ b/AchievementEditor_8h.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/AchievementEditor_8h_source.html b/AchievementEditor_8h_source.html index c6ce31aad..0b2e4aa0e 100644 --- a/AchievementEditor_8h_source.html +++ b/AchievementEditor_8h_source.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/AkaoIO_8cpp.html b/AkaoIO_8cpp.html index 52d0948ac..8a5ff8b60 100644 --- a/AkaoIO_8cpp.html +++ b/AkaoIO_8cpp.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/AkaoIO_8h.html b/AkaoIO_8h.html index f9f32ee7f..43afe1cd8 100644 --- a/AkaoIO_8h.html +++ b/AkaoIO_8h.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/AkaoIO_8h_source.html b/AkaoIO_8h_source.html index f24d14f3b..12eb818a4 100644 --- a/AkaoIO_8h_source.html +++ b/AkaoIO_8h_source.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/Akao_8cpp.html b/Akao_8cpp.html index 86d14f4e0..edee93f1b 100644 --- a/Akao_8cpp.html +++ b/Akao_8cpp.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/Akao_8h.html b/Akao_8h.html index a067c3c74..6b2975481 100644 --- a/Akao_8h.html +++ b/Akao_8h.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/Akao_8h_source.html b/Akao_8h_source.html index 5a8ce4ac6..6d0d5a460 100644 --- a/Akao_8h_source.html +++ b/Akao_8h_source.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/Archive_8cpp.html b/Archive_8cpp.html index bd99946a1..dc1530ef2 100644 --- a/Archive_8cpp.html +++ b/Archive_8cpp.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/Archive_8h.html b/Archive_8h.html index 0f7c334ad..d0f6894e1 100644 --- a/Archive_8h.html +++ b/Archive_8h.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/Archive_8h_source.html b/Archive_8h_source.html index e36af0489..84d840934 100644 --- a/Archive_8h_source.html +++ b/Archive_8h_source.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/CONTRIBUTING_8md.html b/CONTRIBUTING_8md.html index 0c80a1489..c7a093ec8 100644 --- a/CONTRIBUTING_8md.html +++ b/CONTRIBUTING_8md.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/CharEditor_8cpp.html b/CharEditor_8cpp.html index 939da1c40..e18d9e8f4 100644 --- a/CharEditor_8cpp.html +++ b/CharEditor_8cpp.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/CharEditor_8h.html b/CharEditor_8h.html index 45e8ba719..748da236e 100644 --- a/CharEditor_8h.html +++ b/CharEditor_8h.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/CharEditor_8h_source.html b/CharEditor_8h_source.html index 9771ed7be..ea638a618 100644 --- a/CharEditor_8h_source.html +++ b/CharEditor_8h_source.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
@@ -155,257 +155,333 @@
85  void changeEvent(QEvent *e) override;
86 
87 signals:
-
88  void id_changed(qint8);
-
89  void level_changed(qint8);
-
90  void str_changed(quint8);
-
91  void vit_changed(quint8);
-
92  void mag_changed(quint8);
-
93  void spi_changed(quint8);
-
94  void dex_changed(quint8);
-
95  void lck_changed(quint8);
-
96  void strBonus_changed(quint8);
-
97  void vitBonus_changed(quint8);
-
98  void magBonus_changed(quint8);
-
99  void spiBonus_changed(quint8);
-
100  void dexBonus_changed(quint8);
-
101  void lckBonus_changed(quint8);
-
102  void limitLevel_changed(qint8);
-
103  void limitBar_changed(quint8);
-
104  void name_changed(QString);
-
105  void weapon_changed(quint8);
-
106  void armor_changed(quint8);
-
107  void accessory_changed(quint8);
-
108  void curHp_changed(quint16);
-
109  void maxHp_changed(quint16);
-
110  void curMp_changed(quint16);
-
111  void maxMp_changed(quint16);
-
112  void kills_changed(quint16);
-
113  void row_changed(quint8);
-
114  void levelProgress_changed(quint8);
-
115  void sadnessfury_changed(quint8);
-
116  void limits_changed(quint16);
-
117  void timesused1_changed(quint16);
-
118  void timesused2_changed(quint16);
-
119  void timesused3_changed(quint16);
-
120  void baseHp_changed(quint16);
-
121  void baseMp_changed(quint16);
-
122  void exp_changed(quint32);
-
123  void mslotChanged(int);
-
124  void Materias_changed(materia);
-
125  void expNext_changed(quint32);
-
126 
-
127 public slots:
-
128  void setAutoLevel(bool);
-
129  void setAutoStatCalc(bool);
-
130  void setEditable(bool);
-
131  void setShowPlaceholderMateria(bool);
-
132  void setAdvancedMode(bool);
-
133  void setToolBoxStyle(const QString &styleSheet);
-
134  void setSliderStyle(const QString &style);
-
135  void setEditableComboBoxes(bool);
-
136 
-
137 private:
-
138  void setId(int);
-
139  void setLevel(int);
-
140  void setStr(int);
-
141  void setVit(int);
-
142  void setMag(int);
-
143  void setSpi(int);
-
144  void setDex(int);
-
145  void setLck(int);
-
146  void setStrBonus(int);
-
147  void setVitBonus(int);
-
148  void setMagBonus(int);
-
149  void setSpiBonus(int);
-
150  void setDexBonus(int);
-
151  void setLckBonus(int);
-
152  void setLimitLevel(int);
-
153  void setLimitBar(int);
-
154  void setName(const QString &name);
-
155  void setWeapon(int);
-
156  void setArmor(int);
-
157  void setAccessory(int);
-
158  void setRow(bool front_row);
-
159  void setLevelProgress(int);
-
160  void setSadnessFury(int);
-
161  void setLimits(int);
-
162  void setTimesused1(int);
-
163  void setTimesused2(int);
-
164  void setTimesused3(int);
-
165  void setBaseHp(int);
-
166  void setBaseMp(int);
-
167  void setExp(int);
-
168  void setExpNext(int);
-
169  void setCurMp(int);
-
170  void setCurHp(int);
-
171  void setMaxMp(int);
-
172  void setMaxHp(int);
-
173  void setKills(int);
-
174  void cb_fury_toggled(bool);
-
175  void cb_sadness_toggled(bool);
-
176  void cb_idChanger_toggled(bool);
-
177  void calc_limit_value(QModelIndex);
-
178  void Level_Changed(int);// used for tracking growth of char
-
179  void Exp_Changed(int);// used for tracking growth of char
-
180  void materiaSlotClicked(int slotClicked);
-
181  void matAp_changed(qint32);
-
182  void matId_changed(qint8);
-
183  void init_display();
-
184  void init_connections();
-
185  void disconnectAll();
-
186  void calc_stats();//calc stat changes if autostatcalc == true;
-
187  void level_up(int);
-
188  void update_tnl_bar();
-
189  void elemental_info();
-
190  void status_info();
-
191  void update_materia_slots();
-
192  void updateMateriaToolTips();
-
193  void setSlotFrame();
-
198  void updateText();
-
199 
-
209  QWidget* makeStatWidget(QSpinBox* statBaseSpinBox = nullptr, QSpinBox* statSourceSpinBox = nullptr
-
210  , QLabel* statLabel = nullptr, QLabel* statMateriaBonusLabel = nullptr, QLabel* statTotalLabel = nullptr);
-
211 
-
216  QFrame* makeStatFrame();
-
217 
-
227  QHBoxLayout * makeMateriaSlotPair(QPushButton* button1 = nullptr, QPushButton* button2 = nullptr, QFrame *frame1 = nullptr, QFrame *frame2 = nullptr, QLabel* linkLabel = nullptr);
-
228 
-
233  QWidget * makeLimitLayout();
-
234 //Data
-
235  bool load{false};
-
236  bool autolevel{true};
-
237  bool autostatcalc{true};
-
238  bool editable{true};
-
239  bool showplaceholderMateria{false};
-
240  bool advancedMode{false};
-
241  int mslotsel{-1};
-
242  qint32 ap{0};
-
243  FF7CHAR data;
-
244  QString _name;
-
245 //GUI PARTS
-
246  QLabel *lblAvatar = nullptr;
-
247  QLineEdit *lineName = nullptr;
-
248  QSpinBox *sbLevel = nullptr;
-
249  QSpinBox *sbCurrentMp = nullptr;
-
250  QSpinBox *sbCurrentHp = nullptr;
-
251 
-
252  QLabel *lblBaseHp = nullptr;
-
253  QSpinBox *sbBaseHp = nullptr;
-
254  QLabel *lblBaseHpBonus = nullptr;
-
255 
-
256  QLabel *lblBaseMp = nullptr;
-
257  QSpinBox *sbBaseMp = nullptr;
-
258  QLabel *lblBaseMpBonus = nullptr;
-
259 
-
260  QSpinBox *sbKills = nullptr;
-
261  QLabel *lblCurrentHp = nullptr;
-
262  QLabel *lblMaxHp = nullptr;
-
263  QLabel *lblCurrentMp = nullptr;
-
264  QLabel *lblMaxMp = nullptr;
-
265  QCheckBox *cbFury = nullptr;
-
266  QCheckBox *cbSadness = nullptr;
-
267  QCheckBox *cbFrontRow = nullptr;
-
268  QComboBox *comboId = nullptr;
-
269 
-
270  QSpinBox *sbTotalExp = nullptr;
-
271  QLabel *lbl_level_next = nullptr;
-
272  QProgressBar *bar_tnl = nullptr;
-
273  QLabel *lbl_limit_bar = nullptr;
-
274  QSlider *slider_limit = nullptr;
-
275  QLCDNumber *lcdLimitValue = nullptr;
-
276 
-
277  QLabel *lblStr = nullptr;
-
278  QSpinBox *sbStr = nullptr;
-
279  QSpinBox *sbStrSourceUse = nullptr;
-
280  QLabel *lblStrMateriaBonus = nullptr;
-
281  QLabel *lblStrTotal = nullptr;
-
282 
-
283  QLabel *lblVit = nullptr;
-
284  QSpinBox *sbVit = nullptr;
-
285  QSpinBox *sbVitSourceUse = nullptr;
-
286  QLabel *lblVitMateriaBonus = nullptr;
-
287  QLabel *lblVitTotal = nullptr;
-
288 
-
289  QLabel *lblMag = nullptr;
-
290  QSpinBox *sbMag = nullptr;
-
291  QSpinBox *sbMagSourceUse = nullptr;
-
292  QLabel *lblMagMateriaBonus = nullptr;
-
293  QLabel *lblMagTotal = nullptr;
-
294 
-
295  QLabel *lblSpi = nullptr;
-
296  QSpinBox *sbSpi = nullptr;
-
297  QSpinBox *sbSpiSourceUse = nullptr;
-
298  QLabel *lblSpiMateriaBonus = nullptr;
-
299  QLabel *lblSpiTotal = nullptr;
-
300 
-
301  QLabel *lblDex = nullptr;
-
302  QSpinBox *sbDex = nullptr;
-
303  QSpinBox *sbDexSourceUse = nullptr;
-
304  QLabel *lblDexMateriaBonus = nullptr;
-
305  QLabel *lblDexTotal = nullptr;
+
88 
+
93  void idChanged(qint8 id);
+
94  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::idChanged") ]]void id_changed(qint8);
+
95 
+
100  void levelChanged(qint8 level);
+
101  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::levelChanged") ]]void level_changed(qint8);
+
102 
+
107  void strengthChanged(quint8 strength);
+
108  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::strengthChanged") ]]void str_changed(quint8);
+
109 
+
114  void vitalityChanged(quint8 vitality);
+
115  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::vitalityChanged") ]]void vit_changed(quint8);
+
116 
+
121  void magicChanged(quint8 magic);
+
122  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::magicChanged") ]]void mag_changed(quint8);
+
123 
+
128  void spiritChanged(quint8 spirit);
+
129  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::spiritChanged") ]]void spi_changed(quint8);
+
130 
+
135  void dexterityChanged(quint8 dexterity);
+
136  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::dexterityChanged") ]]void dex_changed(quint8);
+
141  void luckChanged(quint8 luck);
+
142  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::luckChanged") ]]void lck_changed(quint8);
+
143 
+
148  void strengthBonusChanged(quint8 strengthBonus);
+
149  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::strengthBonusChanged") ]]void strBonus_changed(quint8);
+
150 
+
155  void vitalityBonusChanged(quint8 vitalityBonus);
+
156  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::vitalityBonusChanged") ]]void vitBonus_changed(quint8);
+
157 
+
162  void magicBonusChanged(quint8 magicBonus);
+
163  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::magicBonusChanged") ]]void magBonus_changed(quint8);
+
164 
+
169  void spiritBonusChanged(quint8 spiritBonus);
+
170  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::spiritBonusChanged") ]]void spiBonus_changed(quint8);
+
171 
+
176  void dexterityBonusChanged(quint8 dexterityBonus);
+
177  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::dexterityBonusChanged") ]]void dexBonus_changed(quint8);
+
178 
+
183  void luckBonusChanged(quint8 luckBonus);
+
184  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::luckBonusChanged") ]]void lckBonus_changed(quint8);
+
185 
+
186 
+
191  void limitLevelChanged(qint8 limitLevel);
+
192  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::limitLevelChanged") ]]void limitLevel_changed(qint8);
+
193 
+
198  void limitBarChanged(qint8 limitBar);
+
199  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::limitBarChanged") ]]void limitBar_changed(quint8);
+
200 
+
205  void nameChanged(QString name);
+
206  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::nameChanged") ]]void name_changed(QString);
+
207 
+
212  void weaponChanged(quint8 weapon);
+
213  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::weaponChanged") ]]void weapon_changed(quint8);
+
214 
+
219  void armorChanged(quint8 armor);
+
220  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::armorChanged") ]]void armor_changed(quint8);
+
221 
+
226  void accessoryChanged(quint8 accessory);
+
227 
+
228  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::accessoryChanged") ]]void accessory_changed(quint8);
+
229 
+
234  void curHpChanged(quint16 curHp);
+
235  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::curHpChanged") ]]void curHp_changed(quint16);
+
236 
+
241  void maxHpChanged(quint16 maxHp);
+
242  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::maxHpChanged") ]]void maxHp_changed(quint16);
+
243 
+
248  void curMpChanged(quint16 curMp);
+
249  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::curMpChanged") ]]void curMp_changed(quint16);
+
250 
+
255  void maxMpChanged(quint16 maxMp);
+
256  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::maxMpChanged") ]]void maxMp_changed(quint16);
+
257 
+
262  void killsChanged(quint16 kills);
+
263  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::killsChanged") ]]void kills_changed(quint16);
+
264 
+
269  void rowChanged(quint8 row);
+
270  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::rowChanged") ]]void row_changed(quint8);
+
271 
+
276  void levelProgressChanged(quint8 levelProgress);
+
277  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::levelProgressChanged") ]]void levelProgress_changed(quint8);
+
278 
+
283  void stateChanged(quint8 state);
+
284  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::stateChanged") ]]void sadnessfury_changed(quint8);
+
285 
+
290  void limitsChanged(quint16 limits);
+
291  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::limitsChanged") ]]void limits_changed(quint16);
+
292 
+
297  void times1UsedChanged(quint16 times);
+
298  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::times1UsedChanged") ]]void timesused1_changed(quint16);
+
299 
+
304  void times2UsedChanged(quint16 times);
+
305  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::times2UsedChanged") ]]void timesused2_changed(quint16);
306 
-
307  QLabel *lblLck = nullptr;
-
308  QSpinBox *sbLck = nullptr;
-
309  QSpinBox *sbLckSourceUse = nullptr;
-
310  QLabel *lblLckMateriaBonus = nullptr;
-
311  QLabel *lblLckTotal = nullptr;
-
312 
-
313  QSpinBox *sbLimitLevel = nullptr;
-
314  QSpinBox *sb_uses_limit_1_1 = nullptr;
-
315  QSpinBox *sb_uses_limit_2_1 = nullptr;
-
316  QSpinBox *sb_uses_limit_3_1 = nullptr;
-
317  QListWidget *list_limits = nullptr;
-
318  QLabel *lbl_uses = nullptr;
-
319  QLabel *lbl_1_1 = nullptr;
-
320  QLabel *lbl_2_1 = nullptr;
-
321  QLabel *lbl_3_1 = nullptr;
-
322  QLabel *lbl_0x34 = nullptr;
-
323  QLabel *lbl_0x35 = nullptr;
-
324  QLabel *lbl_0x36 = nullptr;
-
325  QLabel *lbl_0x37 = nullptr;
-
326  QLabel *lblWeaponStats = nullptr;
-
327  QLabel *lblArmorStats = nullptr;
-
328  QComboBox *weapon_selection = nullptr;
-
329  QComboBox *armor_selection = nullptr;
-
330  QComboBox *accessory_selection = nullptr;
-
331  MateriaEditor *materia_edit = nullptr;
-
332  QGroupBox *elemental_box = nullptr;
-
333  QGroupBox *status_box = nullptr;
-
334  QListWidget *elemental_effects = nullptr;
-
335  QListWidget *status_effects = nullptr;
-
336  QFrame *weapon_materia_box = nullptr;
-
337  QFrame *armor_materia_box = nullptr;
-
338  QGroupBox *weapon_box = nullptr;
-
339  QGroupBox *armor_box = nullptr;
-
340  QGroupBox *accessory_box = nullptr;
-
341  QList<QFrame *> materiaSlotFrames;
-
342  QList<QPushButton *> materiaSlots;
-
343  QLabel *weapon_m_link_1 = nullptr;
-
344  QLabel *weapon_m_link_2 = nullptr;
-
345  QLabel *weapon_m_link_3 = nullptr;
-
346  QLabel *weapon_m_link_4 = nullptr;
-
347  QLabel *armor_m_link_1 = nullptr;
-
348  QLabel *armor_m_link_2 = nullptr;
-
349  QLabel *armor_m_link_3 = nullptr;
-
350  QLabel *armor_m_link_4 = nullptr;
-
351  QToolBox *toolbox = nullptr;
-
352  QFrame *unknown_box = nullptr;
-
353  QLCDNumber *lcd_0x34 = nullptr;
-
354  QLCDNumber *lcd_0x35 = nullptr;
-
355  QLCDNumber *lcd_0x36 = nullptr;
-
356  QLCDNumber *lcd_0x37 = nullptr;
-
357  QCheckBox *cb_idChanger = nullptr;
-
358  const int charWidth;
-
359  const int lineHeight;
-
360  const QSizePolicy sbSizePolicy;
-
361  //Static Limits
-
362  inline static const int quint8Max = 255;
-
363  inline static const int qint16Max = 32767;
-
364  inline static const int quint16Max = 65535;
-
365  inline static const int expMax = 2147483647;
-
366  inline static const QString comboStyle = QStringLiteral("QComboBox { combobox-popup: 0}");
-
367  inline static const QString transparentBackgroundStyle = QStringLiteral("QFrame{background-color:rgba(0,0,0,0);}");
-
368 };
+
311  void times3UsedChanged(quint16 times);
+
312  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::times3UsedChanged") ]]void timesused3_changed(quint16);
+
313 
+
318  void baseHpChanged(quint16 baseHp);
+
319  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::baseHpChanged") ]]void baseHp_changed(quint16);
+
320 
+
325  void baseMpChanged(quint16 baseMp);
+
326  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::baseMpChanged") ]]void baseMp_changed(quint16);
+
327 
+
332  void expChanged(quint32 exp);
+
333  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::expChanged") ]]void exp_changed(quint32);
+
334 
+
339  void mslotChanged(int mslot);
+
340 
+
345  void materiaChanged(materia mat);
+
346  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::materiaChanged") ]]void Materias_changed(materia);
+
347 
+
352  void expNextChanged(quint32 expNext);
+
353  [[ deprecated ("will be removed in ff7tk 2.0, Use CharEditor::expNextChanged") ]]void expNext_changed(quint32);
+
354 
+
355 public slots:
+
356  void setAutoLevel(bool);
+
357  void setAutoStatCalc(bool);
+
358  void setEditable(bool);
+
359  void setShowPlaceholderMateria(bool);
+
360  void setAdvancedMode(bool);
+
361  void setToolBoxStyle(const QString &styleSheet);
+
362  void setSliderStyle(const QString &style);
+
363  void setEditableComboBoxes(bool);
+
364 
+
365 private:
+
366  void setId(int);
+
367  void setLevel(int);
+
368  void setStr(int);
+
369  void setVit(int);
+
370  void setMag(int);
+
371  void setSpi(int);
+
372  void setDex(int);
+
373  void setLck(int);
+
374  void setStrBonus(int);
+
375  void setVitBonus(int);
+
376  void setMagBonus(int);
+
377  void setSpiBonus(int);
+
378  void setDexBonus(int);
+
379  void setLckBonus(int);
+
380  void setLimitLevel(int);
+
381  void setLimitBar(int);
+
382  void setName(const QString &name);
+
383  void setWeapon(int);
+
384  void setArmor(int);
+
385  void setAccessory(int);
+
386  void setRow(bool front_row);
+
387  void setLevelProgress(int);
+
388  void setSadnessFury(int);
+
389  void setLimits(int);
+
390  void setTimesused1(int);
+
391  void setTimesused2(int);
+
392  void setTimesused3(int);
+
393  void setBaseHp(int);
+
394  void setBaseMp(int);
+
395  void setExp(int);
+
396  void setExpNext(int);
+
397  void setCurMp(int);
+
398  void setCurHp(int);
+
399  void setMaxMp(int);
+
400  void setMaxHp(int);
+
401  void setKills(int);
+
402  void cb_fury_toggled(bool);
+
403  void cb_sadness_toggled(bool);
+
404  void cb_idChanger_toggled(bool);
+
405  void calc_limit_value(QModelIndex);
+
406  void Level_Changed(int);// used for tracking growth of char
+
407  void Exp_Changed(int);// used for tracking growth of char
+
408  void materiaSlotClicked(int slotClicked);
+
409  void matAp_changed(qint32);
+
410  void matId_changed(qint8);
+
411  void init_display();
+
412  void init_connections();
+
413  void disconnectAll();
+
414  void calc_stats();//calc stat changes if autostatcalc == true;
+
415  void level_up(int);
+
416  void update_tnl_bar();
+
417  void elemental_info();
+
418  void status_info();
+
419  void update_materia_slots();
+
420  void updateMateriaToolTips();
+
421  void setSlotFrame();
+
426  void updateText();
+
427 
+
437  QWidget* makeStatWidget(QSpinBox* statBaseSpinBox = nullptr, QSpinBox* statSourceSpinBox = nullptr
+
438  , QLabel* statLabel = nullptr, QLabel* statMateriaBonusLabel = nullptr, QLabel* statTotalLabel = nullptr);
+
439 
+
444  QFrame* makeStatFrame();
+
445 
+
455  QHBoxLayout * makeMateriaSlotPair(QPushButton* button1 = nullptr, QPushButton* button2 = nullptr, QFrame *frame1 = nullptr, QFrame *frame2 = nullptr, QLabel* linkLabel = nullptr);
+
456 
+
461  QWidget * makeLimitLayout();
+
462 //Data
+
463  bool load{false};
+
464  bool autolevel{true};
+
465  bool autostatcalc{true};
+
466  bool editable{true};
+
467  bool showplaceholderMateria{false};
+
468  bool advancedMode{false};
+
469  int mslotsel{-1};
+
470  qint32 ap{0};
+
471  FF7CHAR data;
+
472  QString _name;
+
473 //GUI PARTS
+
474  QLabel *lblAvatar = nullptr;
+
475  QLineEdit *lineName = nullptr;
+
476  QSpinBox *sbLevel = nullptr;
+
477  QSpinBox *sbCurrentMp = nullptr;
+
478  QSpinBox *sbCurrentHp = nullptr;
+
479 
+
480  QLabel *lblBaseHp = nullptr;
+
481  QSpinBox *sbBaseHp = nullptr;
+
482  QLabel *lblBaseHpBonus = nullptr;
+
483 
+
484  QLabel *lblBaseMp = nullptr;
+
485  QSpinBox *sbBaseMp = nullptr;
+
486  QLabel *lblBaseMpBonus = nullptr;
+
487 
+
488  QSpinBox *sbKills = nullptr;
+
489  QLabel *lblCurrentHp = nullptr;
+
490  QLabel *lblMaxHp = nullptr;
+
491  QLabel *lblCurrentMp = nullptr;
+
492  QLabel *lblMaxMp = nullptr;
+
493  QCheckBox *cbFury = nullptr;
+
494  QCheckBox *cbSadness = nullptr;
+
495  QCheckBox *cbFrontRow = nullptr;
+
496  QComboBox *comboId = nullptr;
+
497 
+
498  QSpinBox *sbTotalExp = nullptr;
+
499  QLabel *lbl_level_next = nullptr;
+
500  QProgressBar *bar_tnl = nullptr;
+
501  QLabel *lbl_limit_bar = nullptr;
+
502  QSlider *slider_limit = nullptr;
+
503  QLCDNumber *lcdLimitValue = nullptr;
+
504 
+
505  QLabel *lblStr = nullptr;
+
506  QSpinBox *sbStr = nullptr;
+
507  QSpinBox *sbStrSourceUse = nullptr;
+
508  QLabel *lblStrMateriaBonus = nullptr;
+
509  QLabel *lblStrTotal = nullptr;
+
510 
+
511  QLabel *lblVit = nullptr;
+
512  QSpinBox *sbVit = nullptr;
+
513  QSpinBox *sbVitSourceUse = nullptr;
+
514  QLabel *lblVitMateriaBonus = nullptr;
+
515  QLabel *lblVitTotal = nullptr;
+
516 
+
517  QLabel *lblMag = nullptr;
+
518  QSpinBox *sbMag = nullptr;
+
519  QSpinBox *sbMagSourceUse = nullptr;
+
520  QLabel *lblMagMateriaBonus = nullptr;
+
521  QLabel *lblMagTotal = nullptr;
+
522 
+
523  QLabel *lblSpi = nullptr;
+
524  QSpinBox *sbSpi = nullptr;
+
525  QSpinBox *sbSpiSourceUse = nullptr;
+
526  QLabel *lblSpiMateriaBonus = nullptr;
+
527  QLabel *lblSpiTotal = nullptr;
+
528 
+
529  QLabel *lblDex = nullptr;
+
530  QSpinBox *sbDex = nullptr;
+
531  QSpinBox *sbDexSourceUse = nullptr;
+
532  QLabel *lblDexMateriaBonus = nullptr;
+
533  QLabel *lblDexTotal = nullptr;
+
534 
+
535  QLabel *lblLck = nullptr;
+
536  QSpinBox *sbLck = nullptr;
+
537  QSpinBox *sbLckSourceUse = nullptr;
+
538  QLabel *lblLckMateriaBonus = nullptr;
+
539  QLabel *lblLckTotal = nullptr;
+
540 
+
541  QSpinBox *sbLimitLevel = nullptr;
+
542  QSpinBox *sb_uses_limit_1_1 = nullptr;
+
543  QSpinBox *sb_uses_limit_2_1 = nullptr;
+
544  QSpinBox *sb_uses_limit_3_1 = nullptr;
+
545  QListWidget *list_limits = nullptr;
+
546  QLabel *lbl_uses = nullptr;
+
547  QLabel *lbl_1_1 = nullptr;
+
548  QLabel *lbl_2_1 = nullptr;
+
549  QLabel *lbl_3_1 = nullptr;
+
550  QLabel *lbl_0x34 = nullptr;
+
551  QLabel *lbl_0x35 = nullptr;
+
552  QLabel *lbl_0x36 = nullptr;
+
553  QLabel *lbl_0x37 = nullptr;
+
554  QLabel *lblWeaponStats = nullptr;
+
555  QLabel *lblArmorStats = nullptr;
+
556  QComboBox *weapon_selection = nullptr;
+
557  QComboBox *armor_selection = nullptr;
+
558  QComboBox *accessory_selection = nullptr;
+
559  MateriaEditor *materia_edit = nullptr;
+
560  QGroupBox *elemental_box = nullptr;
+
561  QGroupBox *status_box = nullptr;
+
562  QListWidget *elemental_effects = nullptr;
+
563  QListWidget *status_effects = nullptr;
+
564  QFrame *weapon_materia_box = nullptr;
+
565  QFrame *armor_materia_box = nullptr;
+
566  QGroupBox *weapon_box = nullptr;
+
567  QGroupBox *armor_box = nullptr;
+
568  QGroupBox *accessory_box = nullptr;
+
569  QList<QFrame *> materiaSlotFrames;
+
570  QList<QPushButton *> materiaSlots;
+
571  QLabel *weapon_m_link_1 = nullptr;
+
572  QLabel *weapon_m_link_2 = nullptr;
+
573  QLabel *weapon_m_link_3 = nullptr;
+
574  QLabel *weapon_m_link_4 = nullptr;
+
575  QLabel *armor_m_link_1 = nullptr;
+
576  QLabel *armor_m_link_2 = nullptr;
+
577  QLabel *armor_m_link_3 = nullptr;
+
578  QLabel *armor_m_link_4 = nullptr;
+
579  QToolBox *toolbox = nullptr;
+
580  QFrame *unknown_box = nullptr;
+
581  QLCDNumber *lcd_0x34 = nullptr;
+
582  QLCDNumber *lcd_0x35 = nullptr;
+
583  QLCDNumber *lcd_0x36 = nullptr;
+
584  QLCDNumber *lcd_0x37 = nullptr;
+
585  QCheckBox *cb_idChanger = nullptr;
+
586  const int charWidth;
+
587  const int lineHeight;
+
588  const QSizePolicy sbSizePolicy;
+
589  //Static Limits
+
590  inline static const int quint8Max = 255;
+
591  inline static const int qint16Max = 32767;
+
592  inline static const int quint16Max = 65535;
+
593  inline static const int expMax = 2147483647;
+
594  inline static const QString comboStyle = QStringLiteral("QComboBox { combobox-popup: 0}");
+
595  inline static const QString transparentBackgroundStyle = QStringLiteral("QFrame{background-color:rgba(0,0,0,0);}");
+
596 };
MateriaEditor
The MateriaEditor class MateriaEditor is a Widget that can be used to edit materia in the player's i...
Definition: MateriaEditor.h:24
materia
materia format saved in materia list or on a character
diff --git a/ChocoboEditor_8cpp.html b/ChocoboEditor_8cpp.html index c5f6e97a2..3f9265da6 100644 --- a/ChocoboEditor_8cpp.html +++ b/ChocoboEditor_8cpp.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/ChocoboEditor_8h.html b/ChocoboEditor_8h.html index e3d448294..837784eb4 100644 --- a/ChocoboEditor_8h.html +++ b/ChocoboEditor_8h.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/ChocoboEditor_8h_source.html b/ChocoboEditor_8h_source.html index f39a1dbda..de4ac6b3d 100644 --- a/ChocoboEditor_8h_source.html +++ b/ChocoboEditor_8h_source.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/ChocoboLabel_8cpp.html b/ChocoboLabel_8cpp.html index c685f2889..276350635 100644 --- a/ChocoboLabel_8cpp.html +++ b/ChocoboLabel_8cpp.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/ChocoboLabel_8h.html b/ChocoboLabel_8h.html index 93a2f24d6..93d27dcf2 100644 --- a/ChocoboLabel_8h.html +++ b/ChocoboLabel_8h.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/ChocoboLabel_8h_source.html b/ChocoboLabel_8h_source.html index 52a462130..135b8d7ee 100644 --- a/ChocoboLabel_8h_source.html +++ b/ChocoboLabel_8h_source.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/ChocoboManager_8cpp.html b/ChocoboManager_8cpp.html index 87b3d4746..9de91f678 100644 --- a/ChocoboManager_8cpp.html +++ b/ChocoboManager_8cpp.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/ChocoboManager_8h.html b/ChocoboManager_8h.html index f652e4a82..5a78a8516 100644 --- a/ChocoboManager_8h.html +++ b/ChocoboManager_8h.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/ChocoboManager_8h_source.html b/ChocoboManager_8h_source.html index 8fe288039..23c0c2a05 100644 --- a/ChocoboManager_8h_source.html +++ b/ChocoboManager_8h_source.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/ColorDisplay_8cpp.html b/ColorDisplay_8cpp.html index 50efe998e..d4ca97bc4 100644 --- a/ColorDisplay_8cpp.html +++ b/ColorDisplay_8cpp.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/ColorDisplay_8h.html b/ColorDisplay_8h.html index bd572dd7c..4e138f2ed 100644 --- a/ColorDisplay_8h.html +++ b/ColorDisplay_8h.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/ColorDisplay_8h_source.html b/ColorDisplay_8h_source.html index d66574575..d1aa721cb 100644 --- a/ColorDisplay_8h_source.html +++ b/ColorDisplay_8h_source.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/DialogPreview_8cpp.html b/DialogPreview_8cpp.html index b62e03dbe..5b28bfae4 100644 --- a/DialogPreview_8cpp.html +++ b/DialogPreview_8cpp.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/DialogPreview_8h.html b/DialogPreview_8h.html index 45616c1ed..312f2062b 100644 --- a/DialogPreview_8h.html +++ b/DialogPreview_8h.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/DialogPreview_8h_source.html b/DialogPreview_8h_source.html index e29e0b5ac..a80fb3cf6 100644 --- a/DialogPreview_8h_source.html +++ b/DialogPreview_8h_source.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/DoubleCheckBox_8cpp.html b/DoubleCheckBox_8cpp.html index cb5ca8d0d..94258d45b 100644 --- a/DoubleCheckBox_8cpp.html +++ b/DoubleCheckBox_8cpp.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/DoubleCheckBox_8h.html b/DoubleCheckBox_8h.html index e59e329e7..0c4fb4a0e 100644 --- a/DoubleCheckBox_8h.html +++ b/DoubleCheckBox_8h.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
diff --git a/DoubleCheckBox_8h_source.html b/DoubleCheckBox_8h_source.html index 87f42128b..783d4aa82 100644 --- a/DoubleCheckBox_8h_source.html +++ b/DoubleCheckBox_8h_source.html @@ -22,7 +22,7 @@
ff7tk -  1.1.0.13 +  1.1.0.16
Work with Final Fantasy 7 game data
@@ -82,35 +82,37 @@
9 class QCheckBox;
10 class QLabel;
11 
-
15 class FF7TKQTWIDGETS_EXPORT DoubleCheckBox : public QWidget
-
16 {
-
17  Q_OBJECT
-
18 public:
-
22  explicit DoubleCheckBox(QWidget *parent = nullptr);
-
27  explicit DoubleCheckBox(const QString &text, QWidget *parent = nullptr);
-
28  ~DoubleCheckBox() = default;
-
32  void setText(const QString &text);
-
33 
-
38  void setChecked(int box, bool checked);
-
39 
-
44  bool isChecked(int box);
-
45 
-
50  void setBoxToolTip(int box, const QString &text);
-
51 
-
55  void setToolTip(const QString &text);
-
56 
-
57 signals:
-
61  void box1_toggled(bool checked);
-
62 
-
66  void box2_toggled(bool checked);
-
67 private:
-
68  void init_display();
-
69  QCheckBox *cb_one = nullptr;
-
70  QCheckBox *cb_two = nullptr;
-
71  QLabel *label = nullptr;
-
72 };
+
16 class FF7TKQTWIDGETS_EXPORT DoubleCheckBox : public QWidget
+
17 {
+
18  Q_OBJECT
+
19 public:
+
23  explicit DoubleCheckBox(QWidget *parent = nullptr);
+
28  explicit DoubleCheckBox(const QString &text, QWidget *parent = nullptr);
+
29  ~DoubleCheckBox() = default;
+
33  void setText(const QString &text);
+
34 
+
39  void setChecked(int box, bool checked);
+
40 
+
45  bool isChecked(int box);
+
46 
+
51  void setBoxToolTip(int box, const QString &text);
+
52 
+
56  void setToolTip(const QString &text);
+
57 
+
58 signals:
+
62  void box1Toggled(bool checked);
+
63  [[ deprecated ("will be removed in ff7tk 2.0, Use DoubleCheckbox::box1Toggled") ]]void box1_toggled(bool checked);
+
64 
+
68  void box2Toggled(bool checked);
+
69  [[ deprecated ("will be removed in ff7tk 2.0, Use DoubleCheckbox::box2Toggled") ]]void box2_toggled(bool checked);
+
70 private:
+
71  void init_display();
+
72  QCheckBox *cb_one = nullptr;
+
73  QCheckBox *cb_two = nullptr;
+
74  QLabel *label = nullptr;
+
75 };
-
DoubleCheckBox
one text two checkable boxes
Definition: DoubleCheckBox.h:15
+
DoubleCheckBox
one text two checkable boxes
Definition: DoubleCheckBox.h:16