39 line_name->setPlaceholderText(tr(
"Name"));
40 lbl_hp =
new QLabel(tr(
"HP"));
41 lbl_mp =
new QLabel(tr(
"MP"));
47 sb_level->setPrefix(tr(
"Level").append(
": "));
51 sb_maxMp->setToolTip(tr(
"value calculated ingame; edit BaseMp"));
54 sb_maxHp->setToolTip(tr(
"value calculated ingame; edit BaseHp"));
58 sb_kills->setPrefix(tr(
"Kills").append(
": "));
59 cb_fury=
new QCheckBox(tr(
"Fury"));
67 combo_id->setSizePolicy(QSizePolicy::Minimum,QSizePolicy::Fixed);
73 sb_base_hp->setFixedWidth(fontMetrics().width(QChar(
'W'))*5);
77 sb_base_mp->setFixedWidth(fontMetrics().width(QChar(
'W'))*5);
88 sb_total_exp->setMaximumWidth(fontMetrics().width(QChar(
'9'))*16);
100 lbl_str =
new QLabel(tr(
"Str"));
102 sb_str->setAlignment(Qt::AlignCenter);
103 QLabel *lbl_str_plus_1 =
new QLabel(tr(
"+"));
104 lbl_str_plus_1->setAlignment(Qt::AlignCenter);
107 QLabel *lbl_str_plus_2 =
new QLabel(tr(
"+"));
108 lbl_str_plus_2->setAlignment(Qt::AlignCenter);
110 QLabel *lbl_str_equals =
new QLabel(tr(
"="));
113 lbl_vit =
new QLabel(tr(
"Vit"));
115 sb_vit->setAlignment(Qt::AlignCenter);
116 QLabel *lbl_vit_plus_1 =
new QLabel(tr(
"+"));
117 lbl_vit_plus_1->setAlignment(Qt::AlignCenter);
120 QLabel *lbl_vit_plus_2 =
new QLabel(tr(
"+"));
121 lbl_vit_plus_2->setAlignment(Qt::AlignCenter);
123 QLabel *lbl_vit_equals =
new QLabel(tr(
"="));
126 lbl_mag =
new QLabel(tr(
"Mag"));
128 sb_mag->setAlignment(Qt::AlignCenter);
129 QLabel *lbl_mag_plus_1 =
new QLabel(tr(
"+"));
130 lbl_mag_plus_1->setAlignment(Qt::AlignCenter);
133 QLabel *lbl_mag_plus_2 =
new QLabel(tr(
"+"));
134 lbl_mag_plus_2->setAlignment(Qt::AlignCenter);
136 QLabel *lbl_mag_equals =
new QLabel(tr(
"="));
139 lbl_spi =
new QLabel(tr(
"Spi"));
141 sb_spi->setAlignment(Qt::AlignCenter);
142 QLabel *lbl_spi_plus_1 =
new QLabel(tr(
"+"));
143 lbl_spi_plus_1->setAlignment(Qt::AlignCenter);
146 QLabel *lbl_spi_plus_2 =
new QLabel(tr(
"+"));
147 lbl_spi_plus_2->setAlignment(Qt::AlignCenter);
149 QLabel *lbl_spi_equals =
new QLabel(tr(
"="));
152 lbl_dex =
new QLabel(tr(
"Dex"));
154 sb_dex->setAlignment(Qt::AlignCenter);
155 QLabel *lbl_dex_plus_1 =
new QLabel(tr(
"+"));
156 lbl_dex_plus_1->setAlignment(Qt::AlignCenter);
159 QLabel *lbl_dex_plus_2 =
new QLabel(tr(
"+"));
160 lbl_dex_plus_2->setAlignment(Qt::AlignCenter);
162 QLabel *lbl_dex_equals =
new QLabel(tr(
"="));
165 lbl_lck =
new QLabel(tr(
"Lck"));
167 sb_lck->setAlignment(Qt::AlignCenter);
168 QLabel *lbl_lck_plus_1 =
new QLabel(tr(
"+"));
169 lbl_lck_plus_1->setAlignment(Qt::AlignCenter);
172 QLabel *lbl_lck_plus_2 =
new QLabel(tr(
"+"));
173 lbl_lck_plus_2->setAlignment(Qt::AlignCenter);
175 QLabel *lbl_lck_equals =
new QLabel(tr(
"="));
190 lbl_uses =
new QLabel(tr(
"Limit Uses"));
191 lbl_uses->setAlignment(Qt::AlignHCenter);
192 lbl_1_1 =
new QLabel(tr(
"1-1"));
193 lbl_2_1 =
new QLabel(tr(
"2-1"));
194 lbl_3_1 =
new QLabel(tr(
"3-1"));
195 lbl_1_1->setFixedWidth(fontMetrics().width(QChar(
'W'))*3);
196 lbl_2_1->setFixedWidth(fontMetrics().width(QChar(
'W'))*3);
197 lbl_3_1->setFixedWidth(fontMetrics().width(QChar(
'W'))*3);
198 lbl_1_1->setAlignment(Qt::AlignHCenter);
199 lbl_2_1->setAlignment(Qt::AlignHCenter);
200 lbl_3_1->setAlignment(Qt::AlignHCenter);
203 QHBoxLayout *layout_1_1 =
new QHBoxLayout;
204 layout_1_1->setContentsMargins(0,0,0,0);
206 layout_1_1->addWidget(
lbl_1_1);
209 QHBoxLayout *layout_2_1 =
new QHBoxLayout;
210 layout_2_1->setContentsMargins(0,0,0,0);
212 layout_2_1->addWidget(
lbl_2_1);
214 QHBoxLayout *layout_3_1 =
new QHBoxLayout;
215 layout_3_1->setContentsMargins(0,0,0,0);
217 layout_3_1->addWidget(
lbl_3_1);
220 QVBoxLayout *used_limits_layout =
new QVBoxLayout;
221 used_limits_layout->setContentsMargins(0,0,0,0);
223 used_limits_layout->addSpacerItem(
new QSpacerItem(0,0,QSizePolicy::Minimum,QSizePolicy::MinimumExpanding));
224 used_limits_layout->addWidget(
lbl_uses);
225 used_limits_layout->addLayout(layout_1_1);
226 used_limits_layout->addLayout(layout_2_1);
227 used_limits_layout->addLayout(layout_3_1);
228 used_limits_layout->addSpacerItem(
new QSpacerItem(0,0,QSizePolicy::Minimum,QSizePolicy::MinimumExpanding));
236 QHBoxLayout *limit_level_layout =
new QHBoxLayout;
237 limit_level_layout->setContentsMargins(0,0,0,0);
271 sb_str->setWrapping(
true);
273 sb_vit->setWrapping(
true);
275 sb_mag->setWrapping(
true);
277 sb_spi->setWrapping(
true);
279 sb_dex->setWrapping(
true);
281 sb_lck->setWrapping(
true);
289 line_name->setMaximumWidth(fontMetrics().width(QChar(
'W'))*11);
291 QHBoxLayout * name_level_layout=
new QHBoxLayout;
293 QSpacerItem *name_spacer =
new QSpacerItem(20,0,QSizePolicy::Fixed,QSizePolicy::Fixed);
294 name_level_layout->addSpacerItem(name_spacer);
295 name_level_layout->addWidget(
sb_level);
297 QHBoxLayout *hp_layout =
new QHBoxLayout;
298 hp_layout->addWidget(
lbl_hp);
303 QSpacerItem *hp_spacer1 =
new QSpacerItem(20,0,QSizePolicy::Expanding,QSizePolicy::Fixed);
304 hp_layout->addSpacerItem(hp_spacer1);
305 QSpacerItem *hp_spacer =
new QSpacerItem(20,0,QSizePolicy::Expanding,QSizePolicy::Fixed);
306 hp_layout->addSpacerItem(hp_spacer);
308 QHBoxLayout *mp_layout =
new QHBoxLayout;
309 mp_layout->addWidget(
lbl_mp);
314 QSpacerItem *mp_spacer1 =
new QSpacerItem(20,0,QSizePolicy::Expanding,QSizePolicy::Fixed);
315 mp_layout->addSpacerItem(mp_spacer1);
316 QSpacerItem *mp_spacer =
new QSpacerItem(20,0,QSizePolicy::Expanding,QSizePolicy::Fixed);
317 mp_layout->addSpacerItem(mp_spacer);
319 QHBoxLayout *barNextLayout =
new QHBoxLayout();
320 barNextLayout->setContentsMargins(0,0,0,0);
321 barNextLayout->addWidget(
bar_tnl);
323 barNextLayout->addSpacerItem(
new QSpacerItem(0,0,QSizePolicy::MinimumExpanding,QSizePolicy::Fixed));
325 QVBoxLayout *exp_layout =
new QVBoxLayout;
326 exp_layout->setContentsMargins(0,0,0,0);
329 exp_layout->addLayout(barNextLayout);
331 QHBoxLayout *kills_layout =
new QHBoxLayout;
332 kills_layout->setContentsMargins(0,0,0,0);
334 kills_layout->addLayout(exp_layout);
336 QVBoxLayout *name_hp_mp_kills_layout =
new QVBoxLayout;
338 name_hp_mp_kills_layout->addLayout(name_level_layout);
339 name_hp_mp_kills_layout->addLayout(hp_layout);
340 name_hp_mp_kills_layout->addLayout(mp_layout);
341 name_hp_mp_kills_layout->addLayout(kills_layout);
343 QVBoxLayout *fury_sadness_layout =
new QVBoxLayout;
344 fury_sadness_layout->setContentsMargins(0,0,0,0);
346 fury_sadness_layout->addWidget(
cb_fury);
350 QVBoxLayout *sadness_row_id_layout =
new QVBoxLayout;
351 sadness_row_id_layout->addLayout(fury_sadness_layout);
352 sadness_row_id_layout->addSpacerItem(
new QSpacerItem(0,6,QSizePolicy::Preferred,QSizePolicy::Preferred));
355 sadness_row_id_layout->addSpacerItem(
new QSpacerItem(0,6,QSizePolicy::Preferred,QSizePolicy::Preferred));
356 sadness_row_id_layout->addWidget(
combo_id);
358 QHBoxLayout *avatar_name_layout =
new QHBoxLayout;
359 avatar_name_layout->setContentsMargins(0,0,0,0);
362 avatar_name_layout->addLayout(name_hp_mp_kills_layout);
363 avatar_name_layout->addLayout(sadness_row_id_layout);
365 QHBoxLayout *limit_bar_layout =
new QHBoxLayout;
366 limit_bar_layout->setContentsMargins(0,0,0,0);
367 limit_bar_layout->addLayout(limit_level_layout);
369 QSpacerItem *limitSpacer =
new QSpacerItem(10,0,QSizePolicy::Fixed,QSizePolicy::Fixed);
370 limit_bar_layout->addSpacerItem(limitSpacer);
375 QHBoxLayout *str_layout =
new QHBoxLayout;
376 str_layout->setContentsMargins(0,0,0,0);
377 str_layout->addWidget(
lbl_str);
378 str_layout->addWidget(
sb_str);
379 str_layout->addWidget(lbl_str_plus_1);
381 str_layout->addWidget(lbl_str_plus_2);
383 str_layout->addWidget(lbl_str_equals);
386 QHBoxLayout *vit_layout =
new QHBoxLayout;
387 vit_layout->setContentsMargins(0,0,0,0);
388 vit_layout->addWidget(
lbl_vit);
389 vit_layout->addWidget(
sb_vit);
390 vit_layout->addWidget(lbl_vit_plus_1);
392 vit_layout->addWidget(lbl_vit_plus_2);
394 vit_layout->addWidget(lbl_vit_equals);
397 QHBoxLayout *mag_layout =
new QHBoxLayout;
398 mag_layout->setContentsMargins(0,0,0,0);
399 mag_layout->addWidget(
lbl_mag);
400 mag_layout->addWidget(
sb_mag);
401 mag_layout->addWidget(lbl_mag_plus_1);
403 mag_layout->addWidget(lbl_mag_plus_2);
405 mag_layout->addWidget(lbl_mag_equals);
408 QHBoxLayout *spi_layout =
new QHBoxLayout;
409 spi_layout->setContentsMargins(0,0,0,0);
410 spi_layout->addWidget(
lbl_spi);
411 spi_layout->addWidget(
sb_spi);
412 spi_layout->addWidget(lbl_spi_plus_1);
414 spi_layout->addWidget(lbl_spi_plus_2);
416 spi_layout->addWidget(lbl_spi_equals);
419 QHBoxLayout *dex_layout =
new QHBoxLayout;
420 dex_layout->setContentsMargins(0,0,0,0);
421 dex_layout->addWidget(
lbl_dex);
422 dex_layout->addWidget(
sb_dex);
423 dex_layout->addWidget(lbl_dex_plus_1);
425 dex_layout->addWidget(lbl_dex_plus_2);
427 dex_layout->addWidget(lbl_dex_equals);
430 QHBoxLayout *lck_layout =
new QHBoxLayout;
431 lck_layout->setContentsMargins(0,0,0,0);
432 lck_layout->addWidget(
lbl_lck);
433 lck_layout->addWidget(
sb_lck);
434 lck_layout->addWidget(lbl_lck_plus_1);
436 lck_layout->addWidget(lbl_lck_plus_2);
438 lck_layout->addWidget(lbl_lck_equals);
441 QHBoxLayout *base_hp_layout =
new QHBoxLayout;
442 base_hp_layout->setContentsMargins(0,0,0,0);
446 base_hp_layout->addSpacerItem(
new QSpacerItem(3,0,QSizePolicy::Expanding,QSizePolicy::Fixed));
448 QHBoxLayout *base_mp_layout =
new QHBoxLayout;
449 base_mp_layout->setContentsMargins(0,0,0,0);
453 base_mp_layout->addSpacerItem(
new QSpacerItem(3,0,QSizePolicy::Expanding,QSizePolicy::Fixed));
455 QHBoxLayout *base_hp_mp_layout =
new QHBoxLayout;
456 base_hp_mp_layout->setContentsMargins(0,0,0,0);
457 base_hp_mp_layout->setSpacing(3);
458 base_hp_mp_layout->addLayout(base_hp_layout);
459 base_hp_mp_layout->addLayout(base_mp_layout);
461 QVBoxLayout *stat_layout =
new QVBoxLayout;
462 stat_layout->setContentsMargins(0,2,0,0);
463 stat_layout->setSpacing(0);
464 stat_layout->addLayout(str_layout);
465 stat_layout->addLayout(vit_layout);
466 stat_layout->addLayout(mag_layout);
467 stat_layout->addLayout(spi_layout);
468 stat_layout->addLayout(dex_layout);
469 stat_layout->addLayout(lck_layout);
470 stat_layout->addLayout(base_hp_mp_layout);
472 QFrame*stat_box=
new QFrame;
473 stat_box->setLayout(stat_layout);
474 stat_box->adjustSize();
476 QLabel *lbl_0x34=
new QLabel(QString(tr(
"0x34")));
481 lcd_0x34->setSegmentStyle(QLCDNumber::Flat);
482 QVBoxLayout *_0x34_layout =
new QVBoxLayout;
483 _0x34_layout->setContentsMargins(0,0,0,0);
484 _0x34_layout->setSpacing(0);
485 _0x34_layout->addWidget(lbl_0x34);
488 QLabel *lbl_0x35=
new QLabel(QString(tr(
"0x35")));
493 lcd_0x35->setSegmentStyle(QLCDNumber::Flat);
494 QVBoxLayout *_0x35_layout =
new QVBoxLayout;
495 _0x35_layout->setContentsMargins(0,0,0,0);
496 _0x35_layout->setSpacing(0);
497 _0x35_layout->addWidget(lbl_0x35);
500 QLabel *lbl_0x36=
new QLabel(QString(tr(
"0x36")));
505 lcd_0x36->setSegmentStyle(QLCDNumber::Flat);
506 QVBoxLayout *_0x36_layout =
new QVBoxLayout;
507 _0x36_layout->setContentsMargins(0,0,0,0);
508 _0x36_layout->setSpacing(0);
509 _0x36_layout->addWidget(lbl_0x36);
512 QLabel *lbl_0x37=
new QLabel(QString(tr(
"0x37")));
518 lcd_0x37->setSegmentStyle(QLCDNumber::Flat);
519 QVBoxLayout *_0x37_layout =
new QVBoxLayout;
520 _0x37_layout->setContentsMargins(0,0,0,0);
521 _0x37_layout->setSpacing(0);
522 _0x37_layout->addWidget(lbl_0x37);
525 QVBoxLayout *unknown_layout =
new QVBoxLayout;
526 unknown_layout->setContentsMargins(0,0,0,0);
527 unknown_layout->setSpacing(0);
528 unknown_layout->addLayout(_0x34_layout);
529 unknown_layout->addLayout(_0x35_layout);
530 unknown_layout->addLayout(_0x36_layout);
531 unknown_layout->addLayout(_0x37_layout);
538 QHBoxLayout *stat_layout_2 =
new QHBoxLayout;
539 stat_layout_2->setContentsMargins(0,0,0,0);
540 stat_layout_2->addWidget(stat_box);
543 QHBoxLayout *limit_use_list =
new QHBoxLayout;
544 limit_use_list->addLayout(used_limits_layout);
547 QVBoxLayout *limit_box =
new QVBoxLayout;
548 limit_box->setContentsMargins(0,0,0,0);
550 limit_box->addLayout(limit_bar_layout);
551 limit_box->addLayout(limit_use_list);
553 QVBoxLayout *lower_section =
new QVBoxLayout;
554 lower_section->setContentsMargins(0,0,0,0);
555 lower_section->setSpacing(0);
556 lower_section->addLayout(stat_layout_2);
557 lower_section->addLayout(limit_box);
559 QVBoxLayout *left_Final =
new QVBoxLayout;
560 left_Final->setContentsMargins(0,0,0,0);
562 left_Final->addLayout(avatar_name_layout);
563 left_Final->addLayout(lower_section);
564 left_Final->addSpacerItem(
new QSpacerItem(0,0,QSizePolicy::Preferred,QSizePolicy::MinimumExpanding));
580 QHBoxLayout *elemental =
new QHBoxLayout();
581 elemental->setContentsMargins(0,0,0,0);
590 QVBoxLayout *elemental_layout =
new QVBoxLayout();
591 elemental_layout->setContentsMargins(0,0,0,0);
593 elemental_layout->addSpacerItem(
new QSpacerItem(0,0,QSizePolicy::MinimumExpanding,QSizePolicy::MinimumExpanding));
596 QHBoxLayout *status =
new QHBoxLayout();
597 status->setContentsMargins(0,0,0,0);
606 QVBoxLayout *status_layout =
new QVBoxLayout();
607 status_layout->setContentsMargins(0,0,0,0);
609 status_layout->addSpacerItem(
new QSpacerItem(0,0,QSizePolicy::MinimumExpanding,QSizePolicy::MinimumExpanding));
611 QHBoxLayout *effects_layout =
new QHBoxLayout();
612 effects_layout->setContentsMargins(0,0,0,0);
613 effects_layout->addLayout(elemental_layout);
614 effects_layout->addLayout(status_layout);
615 QSpacerItem *spacer2 =
new QSpacerItem(-1,-1,QSizePolicy::Expanding,QSizePolicy::Minimum);
616 effects_layout->addSpacerItem(spacer2);
617 effects_layout->setSpacing(0);
622 QSpacerItem *weapon_spacer=
new QSpacerItem(-1,-1,QSizePolicy::Expanding,QSizePolicy::Minimum);
632 QHBoxLayout *weapon_slot_1_layout =
new QHBoxLayout;
633 weapon_slot_1_layout->setContentsMargins(0,0,0,0);
651 QHBoxLayout *weapon_slot_2_layout =
new QHBoxLayout;
652 weapon_slot_2_layout->setContentsMargins(0,0,0,0);
661 QHBoxLayout *weapon_slots_1_and_2 =
new QHBoxLayout();
662 weapon_slots_1_and_2->setContentsMargins(0,0,0,0);
666 weapon_slots_1_and_2->setSpacing(0);
676 QHBoxLayout *weapon_slot_3_layout =
new QHBoxLayout;
677 weapon_slot_3_layout->setContentsMargins(0,0,0,0);
698 QHBoxLayout *weapon_slot_4_layout =
new QHBoxLayout;
699 weapon_slot_4_layout->setContentsMargins(0,0,0,0);
708 QHBoxLayout *weapon_slots_3_and_4 =
new QHBoxLayout();
709 weapon_slots_3_and_4->setContentsMargins(0,0,0,0);
713 weapon_slots_3_and_4->setSpacing(0);
723 QHBoxLayout *weapon_slot_5_layout =
new QHBoxLayout;
724 weapon_slot_5_layout->setContentsMargins(0,0,0,0);
744 QHBoxLayout *weapon_slot_6_layout =
new QHBoxLayout;
745 weapon_slot_6_layout->setContentsMargins(0,0,0,0);
754 QHBoxLayout *weapon_slots_5_and_6 =
new QHBoxLayout();
755 weapon_slots_5_and_6->setContentsMargins(0,0,0,0);
759 weapon_slots_5_and_6->setSpacing(0);
769 QHBoxLayout *weapon_slot_7_layout =
new QHBoxLayout;
770 weapon_slot_7_layout->setContentsMargins(0,0,0,0);
790 QHBoxLayout *weapon_slot_8_layout =
new QHBoxLayout;
791 weapon_slot_8_layout->setContentsMargins(0,0,0,0);
800 QHBoxLayout *weapon_slots_7_and_8 =
new QHBoxLayout();
801 weapon_slots_7_and_8->setContentsMargins(0,0,0,0);
805 weapon_slots_7_and_8->setSpacing(0);
807 QHBoxLayout *weapon_materia_slots =
new QHBoxLayout();
808 weapon_materia_slots->setContentsMargins(0,0,0,0);
809 weapon_materia_slots->addLayout(weapon_slots_1_and_2);
810 weapon_materia_slots->addLayout(weapon_slots_3_and_4);
811 weapon_materia_slots->addLayout(weapon_slots_5_and_6);
812 weapon_materia_slots->addLayout(weapon_slots_7_and_8);
813 weapon_materia_slots->addSpacerItem(weapon_spacer);
814 weapon_materia_slots->setSpacing(12);
820 QVBoxLayout *weapon_layout =
new QVBoxLayout;
821 weapon_layout->setContentsMargins(0,0,0,0);
834 QSpacerItem *armor_spacer=
new QSpacerItem(-1,-1,QSizePolicy::Expanding,QSizePolicy::Minimum);
844 QHBoxLayout *armor_slot_1_layout =
new QHBoxLayout;
845 armor_slot_1_layout->setContentsMargins(0,0,0,0);
863 QHBoxLayout *armor_slot_2_layout =
new QHBoxLayout;
864 armor_slot_2_layout->setContentsMargins(0,0,0,0);
873 QHBoxLayout *armor_slots_1_and_2 =
new QHBoxLayout();
874 armor_slots_1_and_2->setContentsMargins(0,0,0,0);
878 armor_slots_1_and_2->setSpacing(0);
888 QHBoxLayout *armor_slot_3_layout =
new QHBoxLayout;
889 armor_slot_3_layout->setContentsMargins(0,0,0,0);
911 QHBoxLayout *armor_slot_4_layout =
new QHBoxLayout;
912 armor_slot_4_layout->setContentsMargins(0,0,0,0);
921 QHBoxLayout *armor_slots_3_and_4 =
new QHBoxLayout();
922 armor_slots_3_and_4->setContentsMargins(0,0,0,0);
926 armor_slots_3_and_4->setSpacing(0);
936 QHBoxLayout *armor_slot_5_layout =
new QHBoxLayout;
937 armor_slot_5_layout->setContentsMargins(0,0,0,0);
958 QHBoxLayout *armor_slot_6_layout =
new QHBoxLayout;
959 armor_slot_6_layout->setContentsMargins(0,0,0,0);
968 QHBoxLayout *armor_slots_5_and_6 =
new QHBoxLayout();
969 armor_slots_5_and_6->setContentsMargins(0,0,0,0);
973 armor_slots_5_and_6->setSpacing(0);
983 QHBoxLayout *armor_slot_7_layout =
new QHBoxLayout;
984 armor_slot_7_layout->setContentsMargins(0,0,0,0);
1005 QHBoxLayout *armor_slot_8_layout =
new QHBoxLayout;
1006 armor_slot_8_layout->setContentsMargins(0,0,0,0);
1015 QHBoxLayout *armor_slots_7_and_8 =
new QHBoxLayout();
1016 armor_slots_7_and_8->setContentsMargins(0,0,0,0);
1020 armor_slots_7_and_8->setSpacing(0);
1022 QHBoxLayout *armor_materia_slots =
new QHBoxLayout();
1023 armor_materia_slots->setContentsMargins(0,0,0,0);
1024 armor_materia_slots->addLayout(armor_slots_1_and_2);
1025 armor_materia_slots->addLayout(armor_slots_3_and_4);
1026 armor_materia_slots->addLayout(armor_slots_5_and_6);
1027 armor_materia_slots->addLayout(armor_slots_7_and_8);
1028 armor_materia_slots->addSpacerItem(armor_spacer);
1029 armor_materia_slots->setSpacing(12);
1033 QVBoxLayout *armor_layout =
new QVBoxLayout;
1034 armor_layout->setContentsMargins(0,0,0,0);
1042 QVBoxLayout *accessory_layout =
new QVBoxLayout;
1043 accessory_layout->setContentsMargins(0,0,0,0);
1049 QVBoxLayout *right_Top =
new QVBoxLayout;
1050 right_Top->setContentsMargins(0,0,0,0);
1055 QWidget *right_top =
new QWidget;
1056 right_top->setContentsMargins(0,0,0,0);
1057 right_top->setLayout(right_Top);
1059 QVBoxLayout *right_bottom =
new QVBoxLayout;
1060 right_bottom->setContentsMargins(0,0,0,0);
1062 right_bottom->addLayout(effects_layout);
1064 QVBoxLayout *right_Final =
new QVBoxLayout;
1065 right_Final->setContentsMargins(3,0,3,0);
1066 right_Final->addWidget(right_top);
1067 right_Final->setSpacing(3);
1068 right_Final->addLayout(right_bottom);
1072 QFrame *tabStatus =
new QFrame;
1073 tabStatus->setLayout(left_Final);
1074 tabStatus->adjustSize();
1077 QFrame *tabEquipment =
new QFrame;
1078 tabEquipment->setLayout(right_Final);
1079 tabEquipment->adjustSize();
1080 toolbox->addItem(tabEquipment,QIcon(QPixmap::fromImage(
Items.
image(256))),QString(tr(
"Equipment")));
1082 QVBoxLayout *toolbox_layout =
new QVBoxLayout;
1083 toolbox_layout->setContentsMargins(0,0,0,0);
1084 toolbox_layout->addWidget(
toolbox);
1086 this->setLayout(toolbox_layout);
1103 connect(
line_name,SIGNAL(textChanged(QString)),
this,SLOT(
setName(QString)));
1107 connect(
sb_str,SIGNAL(valueChanged(
int)),
this,SLOT(
setStr(
int)));
1109 connect(
sb_vit,SIGNAL(valueChanged(
int)),
this,SLOT(
setVit(
int)));
1111 connect(
sb_mag,SIGNAL(valueChanged(
int)),
this,SLOT(
setMag(
int)));
1113 connect(
sb_spi,SIGNAL(valueChanged(
int)),
this,SLOT(
setSpi(
int)));
1115 connect(
sb_dex,SIGNAL(valueChanged(
int)),
this,SLOT(
setDex(
int)));
1117 connect(
sb_lck,SIGNAL(valueChanged(
int)),
this,SLOT(
setLck(
int)));
1127 connect(
combo_id,SIGNAL(currentIndexChanged(
int)),
this,SLOT(
setId(
int)));
1161 disconnect(
line_name,SIGNAL(textChanged(QString)),
this,SLOT(
setName(QString)));
1165 disconnect(
sb_str,SIGNAL(valueChanged(
int)),
this,SLOT(
setStr(
int)));
1167 disconnect(
sb_vit,SIGNAL(valueChanged(
int)),
this,SLOT(
setVit(
int)));
1169 disconnect(
sb_mag,SIGNAL(valueChanged(
int)),
this,SLOT(
setMag(
int)));
1171 disconnect(
sb_spi,SIGNAL(valueChanged(
int)),
this,SLOT(
setSpi(
int)));
1173 disconnect(
sb_dex,SIGNAL(valueChanged(
int)),
this,SLOT(
setDex(
int)));
1175 disconnect(
sb_lck,SIGNAL(valueChanged(
int)),
this,SLOT(
setLck(
int)));
1185 disconnect(
combo_id,SIGNAL(currentIndexChanged(
int)),
this,SLOT(
setId(
int)));
1248 if(quint32(exp) !=
data.exp)
1256 int prev_level =
data.level;
1257 for (
int i=level;i<99;i++)
1278 int prev_level=
data.level;
1295 _name=Processed_Name;
1303 lbl_hp_max->setText(QString(
" %1").arg(QString::number(
data.maxHP)));
1305 lbl_mp_max->setText(QString(
" %1").arg(QString::number(
data.maxMP)));
1344 for(
int i=0;i<7;i++)
1351 else{
list_limits->item(i)->setCheckState(Qt::Unchecked);}
1390 if(
data.level == level){
return;}
1393 if(level<0){
data.level=0;}
1394 else if(level>99){
data.level=99;}
1405 cb_fury->setChecked(Qt::Unchecked);
1423 if(
data.maxHP == maxHp){
return;}
1426 if(maxHp<0){
data.maxHP=0;}
1427 else if(maxHp >32767){
data.maxHP=32767;}
1434 if(
data.curHP == curHp){
return;}
1437 if(curHp<0){
data.curHP=0;}
1438 else if(curHp >32767){
data.curHP=32767;}
1445 if(
data.maxMP == maxMp){
return;}
1448 if(maxMp<0){
data.maxMP=0;}
1449 else if(maxMp >32767){
data.maxMP=32767;}
1456 if(
data.curMP == curMp){
return;}
1459 if(curMp<0){
data.curMP=0;}
1460 else if(curMp >32767){
data.curMP=32767;}
1467 if(
data.kills == kills){
return;}
1470 if(kills<0){
data.kills=0;}
1471 else if(kills >65535){
data.kills=65535;}
1478 if(
_name==name){
return;}
1487 if(
data.id ==
id){
return;}
1490 if(
id<0){
data.id = 0;}
1499 if(
data.strength ==strength){
return;}
1502 if(strength<0){
data.strength=0;}
1503 else if(strength>0xFF){
data.strength=0xFF;}
1504 else{
data.strength = strength;}
1511 if(
data.vitality ==vitality){
return;}
1514 if(vitality<0){
data.vitality = 0;}
1515 else if(vitality>0xFF){
data.vitality=0xFF;}
1516 else{
data.vitality = vitality;}
1523 if(
data.magic ==magic){
return;}
1526 if(magic<0){
data.magic = 0;}
1527 else if(magic>0xFF){
data.magic=0xFF;}
1528 else{
data.magic = magic;}
1535 if(
data.spirit ==spirit){
return;}
1538 if(spirit<0){
data.spirit = 0;}
1539 else if(spirit>0xFF){
data.spirit=0xFF;}
1540 else{
data.spirit = spirit;}
1547 if(
data.dexterity ==dexterity){
return;}
1550 if(dexterity<0){
data.dexterity = 0;}
1551 else if(dexterity>0xFF){
data.dexterity=0xFF;}
1552 else{
data.dexterity = dexterity;}
1559 if(
data.luck ==luck){
return;}
1562 if(luck<0){
data.luck = 0;}
1563 else if(luck>0xFF){
data.luck=0xFF;}
1564 else{
data.luck = luck;}
1571 if(
data.strength_bonus ==strength_bonus){
return;}
1574 if(strength_bonus<0){
data.strength_bonus = 0;}
1575 else if(strength_bonus>0xFF){
data.strength_bonus=0xFF;}
1576 else{
data.strength_bonus = strength_bonus;}
1583 if(
data.vitality_bonus ==vitality_bonus){
return;}
1586 if(vitality_bonus<0){
data.vitality_bonus = 0;}
1587 else if(vitality_bonus>0xFF){
data.vitality_bonus=0xFF;}
1588 else{
data.vitality_bonus = vitality_bonus;}
1595 if(
data.magic_bonus ==magic_bonus){
return;}
1598 if(magic_bonus<0){
data.magic_bonus = 0;}
1599 else if(magic_bonus>0xFF){
data.magic_bonus=0xFF;}
1600 else{
data.magic_bonus = magic_bonus;}
1607 if(
data.spirit_bonus ==spirit_bonus){
return;}
1610 if(spirit_bonus<0){
data.spirit_bonus = 0;}
1611 else if(spirit_bonus>0xFF){
data.spirit_bonus=0xFF;}
1612 else{
data.spirit_bonus = spirit_bonus;}
1619 if(
data.dexterity_bonus ==dexterity_bonus){
return;}
1622 if(dexterity_bonus<0){
data.dexterity_bonus = 0;}
1623 else if(dexterity_bonus>0xFF){
data.dexterity_bonus=0xFF;}
1624 else{
data.dexterity_bonus = dexterity_bonus;}
1631 if(
data.luck_bonus ==luck_bonus){
return;}
1634 if(luck_bonus<0){
data.luck_bonus = 0;}
1635 else if(luck_bonus>0xFF){
data.luck_bonus=0xFF;}
1636 else{
data.luck_bonus = luck_bonus;}
1643 if(
data.limitlevel ==limitlevel){
return;}
1646 if(limitlevel<0){
data.limitlevel = 0;}
1647 else if(limitlevel>4){
data.limitlevel=4;}
1648 else{
data.limitlevel = limitlevel;}
1654 if(
data.limitbar ==limitbar){
return;}
1657 if(limitbar<0){
data.limitbar = 0;}
1658 else if(limitbar>0xFF){
data.limitbar=0xFF;}
1659 else{
data.limitbar = limitbar;}
1681 if(armor ==
data.armor){
return;}
1684 if(armor<0){
data.armor=0;}
1696 if(accessory ==
data.accessory){
return;}
1699 if(accessory<0){
data.accessory=0;}
1710 if(sad_fury ==
data.flags[0]){
return;}
1715 else{
data.flags[0]=0;}
1734 if(level_progress ==
data.flags[2]){
return;}
1737 if(level_progress<0){
data.flags[2]=0;}
1738 else if(level_progress >63){
data.flags[2]=63;}
1739 else{
data.flags[2]=level_progress;}
1746 if(limits ==
data.limits){
return;}
1749 if(limits <0){
data.limits=0;}
1750 else if(limits>32767){
data.limits=32767;}
1757 if(timesused ==
data.timesused1){
return;}
1760 if(timesused <0){
data.timesused1=0;}
1761 else if(timesused>65535){
data.timesused1=65535;}
1762 else{
data.timesused1 = timesused;}
1769 if(timesused ==
data.timesused2){
return;}
1772 if(timesused <0){
data.timesused2=0;}
1773 else if(timesused>65535){
data.timesused2=65535;}
1774 else{
data.timesused2 = timesused;}
1780 if(timesused ==
data.timesused3){
return;}
1783 if(timesused <0){
data.timesused3=0;}
1784 else if(timesused>65535){
data.timesused3=65535;}
1785 else{
data.timesused3 = timesused;}
1791 if(
data.baseHP == baseHp){
return;}
1794 if(baseHp<0){
data.baseHP=0;}
1795 else if(baseHp >32767){
data.baseHP=32767;}
1803 if(
data.baseMP == baseMp){
return;}
1806 if(baseMp<0){
data.baseMP=0;}
1807 else if(baseMp >32767){
data.baseMP=32767;}
1815 if(
data.exp == quint32(exp)){
return;}
1818 if(exp<0){
data.exp=0;}
1825 if(
data.expNext == quint32(expNext)){
return;}
1828 if(expNext<0){
data.expNext=0;}
1836 int row = item.row();
1864 this->setEnabled(
true);
1868 this->setEnabled(
false);
1891 str_total =
data.strength +
data.strength_bonus;
1892 vit_total=
data.vitality +
data.vitality_bonus;
1893 dex_total =
data.dexterity +
data.dexterity_bonus;
1894 spi_total =
data.spirit +
data.spirit_bonus;
1895 mag_total =
data.magic +
data.magic_bonus;
1896 lck_total =
data.luck +
data.luck_bonus;
1915 title.append(tr(
" Str:+%1").arg(QString::number(
Items.
statSTR(
data.weapon + 128))));
1919 title.append(tr(
" Vit:+%1").arg(QString::number(
Items.
statVIT(
data.weapon + 128))));
1923 title.append(tr(
" Dex:+%1").arg(QString::number(
Items.
statDEX(
data.weapon + 128))));
1927 title.append(tr(
" Spi:+%1").arg(QString::number(
Items.
statSPI(
data.weapon + 128))));
1931 title.append(tr(
" Mag:+%1").arg(QString::number(
Items.
statMAG(
data.weapon + 128))));
1935 title.append(tr(
" Lck:+%1").arg(QString::number(
Items.
statLCK(
data.weapon + 128))));
1939 title.append(tr(
" Hp:+%1%").arg(QString::number(
Items.
statHP(
data.weapon + 128))));
1943 title.append(tr(
" Mp:+%1%").arg(QString::number(
Items.
statMP(
data.weapon + 128))));
1959 title.append(tr(
" Str:+%1").arg(QString::number(
Items.
statSTR(
data.armor + 256))));
1963 title.append(tr(
" Vit:+%1").arg(QString::number(
Items.
statVIT(
data.armor + 256))));
1967 title.append(tr(
" Dex:+%1").arg(QString::number(
Items.
statDEX(
data.armor + 256))));
1971 title.append(tr(
" Spi:+%1").arg(QString::number(
Items.
statSPI(
data.armor + 256))));
1975 title.append(tr(
" Mag:+%1").arg(QString::number(
Items.
statMAG(
data.armor + 256))));
1979 title.append(tr(
" Lck:+%1").arg(QString::number(
Items.
statLCK(
data.armor + 256))));
1983 title.append(tr(
" Hp:+%1%").arg(QString::number(
Items.
statHP(
data.armor + 256))));
1987 title.append(tr(
" Mp:+%1%").arg(QString::number(
Items.
statMP(
data.armor + 256))));
1991 if(
data.accessory <32)
2002 title.append(tr(
"Accessory"));
2005 title.append(tr(
" Str:+%1").arg(QString::number(
Items.
statSTR(
data.accessory + 288))));
2009 title.append(tr(
" Vit:+%1").arg(QString::number(
Items.
statVIT(
data.accessory + 288))));
2013 title.append(tr(
" Dex:+%1").arg(QString::number(
Items.
statDEX(
data.accessory + 288))));
2017 title.append(tr(
" Spi:+%1").arg(QString::number(
Items.
statSPI(
data.accessory + 288))));
2021 title.append(tr(
" Mag:+%1").arg(QString::number(
Items.
statMAG(
data.accessory + 288))));
2025 title.append(tr(
" Lck:+%1").arg(QString::number(
Items.
statLCK(
data.accessory + 288))));
2029 title.append(tr(
" Hp:+%1%").arg(QString::number(
Items.
statHP(
data.accessory + 288))));
2033 title.append(tr(
" Mp:+%1%").arg(QString::number(
Items.
statMP(
data.accessory + 288))));
2037 else{title.clear();title.append(tr(
"Accessory"));
accessory_box->setTitle(title);}
2039 for(
int i=0;i<16;i++)
2077 if(
data.materias[i].id == 0x02){dex_bonus +=
data.dexterity * (0.01*(level*10));}
else{dex_bonus +=
Materias.
statDEX(
data.materias[i].id);}
2078 if(
data.materias[i].id ==0x03){ mag_bonus +=
data.magic * (0.01*(level*10));}
else{mag_bonus +=
Materias.
statMAG(
data.materias[i].id);}
2079 if(
data.materias[i].id ==0x04){ lck_bonus +=
data.luck * (0.01*(level*10));}
else{lck_bonus +=
Materias.
statLCK(
data.materias[i].id);}
2093 str_total+=str_bonus;
2094 vit_total+= vit_bonus;
2095 dex_total+= dex_bonus;
2096 spi_total+= spi_bonus;
2097 mag_total+= mag_bonus;
2098 lck_total+= lck_bonus;
2100 if(str_total < 256)
lbl_str_total->setText(QString::number(str_total));
2103 if(vit_total < 256)
lbl_vit_total->setText(QString::number(vit_total));
2106 if(dex_total < 256)
lbl_dex_total->setText(QString::number(dex_total));
2109 if(spi_total < 256)
lbl_spi_total->setText(QString::number(spi_total));
2112 if(mag_total < 256)
lbl_mag_total->setText(QString::number(mag_total));
2115 if(lck_total < 256)
lbl_lck_total->setText(QString::number(lck_total));
2118 if(hp_bonus>0){
lbl_base_hp_bonus->setText(QString(
" +%2 (+%1%)").arg(QString::number(hp_bonus),QString::number(
int(
data.baseHP *(hp_bonus*0.01)))));}
2119 else if(hp_bonus<0){
lbl_base_hp_bonus->setText(QString(
" %2 (%1%)").arg(QString::number(hp_bonus),QString::number(
int(
data.baseHP *(hp_bonus*0.01)))));}
2122 if(mp_bonus>0){
lbl_base_mp_bonus->setText(QString(
" +%2 (+%1%)").arg(QString::number(mp_bonus),QString::number(
int(
data.baseMP *(mp_bonus*0.01)))));}
2123 else if(mp_bonus<0){
lbl_base_mp_bonus->setText(QString(
" %2 (%1%)").arg(QString::number(mp_bonus),QString::number(
int(
data.baseMP *(mp_bonus*0.01)))));}
2135 if(pre_level <
data.level)
2137 for(
int i=pre_level;i<
data.level;i++)
2149 else if(pre_level >
data.level)
2151 for(
int i=pre_level;i>
data.level;i--)
2192 for(
int r=0;r<3;r++)
2196 case 0:item_id =
data.weapon +128;
break;
2197 case 1:item_id =
data.armor +256;
break;
2198 case 2:item_id =
data.accessory +288;
break;
2200 if(item_id <0 || item_id >319){}
2203 for(
int i=0;i<14;i++)
2210 case 1: element=
Items.
elementFire(item_id); effect.append(tr(
"Fire"));
break;
2211 case 2: element=
Items.
elementCold(item_id); effect.append(tr(
"Cold"));
break;
2214 case 5: element=
Items.
elementWind(item_id); effect.append(tr(
"Wind"));
break;
2217 case 8: element=
Items.
elementHoly(item_id); effect.append(tr(
"Holy"));
break;
2219 case 10: element=
Items.
elementCut(item_id); effect.append(tr(
"Cut"));
break;
2220 case 11: element=
Items.
elementShoot(item_id); effect.append(tr(
"Shoot"));
break;
2221 case 12: element=
Items.
elementPunch(item_id); effect.append(tr(
"Punch"));
break;
2222 case 13: element=
Items.
elementHit(item_id); effect.append(tr(
"Hit"));
break;
2226 case -3: effect.prepend(tr(
"Absorb:"));
break;
2227 case -2: effect.prepend(tr(
"Nullify:"));
break;
2228 case -1: effect.prepend(tr(
"Halve:"));
break;
2229 case 0: effect.clear();
break;
2230 case +1: effect.prepend(tr(
"Attack:"));
break;
2232 if(!effect.isNull() && !m_effect.contains(effect,Qt::CaseSensitive))
2234 m_effect.append(effect);
2254 status_effects->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
2255 for(
int r=0;r<3;r++)
2259 case 0:item_id =
data.weapon +128;
break;
2260 case 1:item_id =
data.armor +256;
break;
2261 case 2:item_id =
data.accessory +288;
break;
2263 if(item_id <0 || item_id >319){}
2266 for(
int i=0;i<24;i++)
2272 case 0: status=
Items.
statusDeath(item_id); effect.append(tr(
"Death"));
break;
2278 case 6: status=
Items.
statusSleep(item_id); effect.append(tr(
"Sleep"));
break;
2281 case 9: status=
Items.
statusFrog(item_id); effect.append(tr(
"Frog"));
break;
2282 case 10: status=
Items.
statusMini(item_id); effect.append(tr(
"Mini"));
break;
2284 case 12: status=
Items.
statusFury(item_id); effect.append(tr(
"Fury"));
break;
2287 case 15: status=
Items.
statusHaste(item_id); effect.append(tr(
"Haste"));
break;
2288 case 16: status=
Items.
statusSlow(item_id); effect.append(tr(
"Slow"));
break;
2289 case 17: status=
Items.
statusStop(item_id); effect.append(tr(
"Stop"));
break;
2294 case 22: status=
Items.
statusRegen(item_id); effect.append(tr(
"Regen"));
break;
2299 case -2: effect.prepend(tr(
"Protect:"));
break;
2300 case -1: effect.prepend(tr(
"Remove:"));
break;
2301 case 0: effect.clear();
break;
2302 case +1: effect.prepend(tr(
"Inflict:"));
break;
2303 case +2: effect.prepend(tr(
"OnBattle:"));
break;
2305 if(!effect.isNull() && !m_status.contains(effect,Qt::CaseSensitive))
2307 m_status.append(effect);
2339 armor_frm_1->setStyleSheet(QString(
"QFrame{background-color:rgba(0,0,0,0);}"));
2340 armor_frm_2->setStyleSheet(QString(
"QFrame{background-color:rgba(0,0,0,0);}"));
2341 armor_frm_3->setStyleSheet(QString(
"QFrame{background-color:rgba(0,0,0,0);}"));
2342 armor_frm_4->setStyleSheet(QString(
"QFrame{background-color:rgba(0,0,0,0);}"));
2343 armor_frm_5->setStyleSheet(QString(
"QFrame{background-color:rgba(0,0,0,0);}"));
2344 armor_frm_6->setStyleSheet(QString(
"QFrame{background-color:rgba(0,0,0,0);}"));
2345 armor_frm_7->setStyleSheet(QString(
"QFrame{background-color:rgba(0,0,0,0);}"));
2346 armor_frm_8->setStyleSheet(QString(
"QFrame{background-color:rgba(0,0,0,0);}"));
2347 weapon_frm_8->setStyleSheet(QString(
"QFrame{background-color:rgba(0,0,0,0);}"));
2348 weapon_frm_7->setStyleSheet(QString(
"QFrame{background-color:rgba(0,0,0,0);}"));
2349 weapon_frm_6->setStyleSheet(QString(
"QFrame{background-color:rgba(0,0,0,0);}"));
2350 weapon_frm_5->setStyleSheet(QString(
"QFrame{background-color:rgba(0,0,0,0);}"));
2351 weapon_frm_4->setStyleSheet(QString(
"QFrame{background-color:rgba(0,0,0,0);}"));
2352 weapon_frm_3->setStyleSheet(QString(
"QFrame{background-color:rgba(0,0,0,0);}"));
2353 weapon_frm_2->setStyleSheet(QString(
"QFrame{background-color:rgba(0,0,0,0);}"));
2354 weapon_frm_1->setStyleSheet(QString(
"QFrame{background-color:rgba(0,0,0,0);}"));
2356 weapon_m_link_1->setStyleSheet(QString(
"background-color:rgba(0,0,0,0);"));
2357 weapon_m_link_2->setStyleSheet(QString(
"background-color:rgba(0,0,0,0);"));
2358 weapon_m_link_3->setStyleSheet(QString(
"background-color:rgba(0,0,0,0);"));
2359 weapon_m_link_4->setStyleSheet(QString(
"background-color:rgba(0,0,0,0);"));
2360 armor_m_link_1->setStyleSheet(QString(
"background-color:rgba(0,0,0,0);"));
2361 armor_m_link_2->setStyleSheet(QString(
"background-color:rgba(0,0,0,0);"));
2362 armor_m_link_3->setStyleSheet(QString(
"background-color:rgba(0,0,0,0);"));
2363 armor_m_link_4->setStyleSheet(QString(
"background-color:rgba(0,0,0,0);"));
2456 int a = (ap & 0xff);
2457 int b = (ap & 0xff00) >> 8;
2458 int c = (ap & 0xff0000) >> 16;
2492 if(Mslot<0){
return;}
2525 case 0:
weapon_frm_1->setFrameShape(QFrame::Box);
break;
2526 case 1:
weapon_frm_2->setFrameShape(QFrame::Box);
break;
2527 case 2:
weapon_frm_3->setFrameShape(QFrame::Box);
break;
2528 case 3:
weapon_frm_4->setFrameShape(QFrame::Box);
break;
2529 case 4:
weapon_frm_5->setFrameShape(QFrame::Box);
break;
2530 case 5:
weapon_frm_6->setFrameShape(QFrame::Box);
break;
2531 case 6:
weapon_frm_7->setFrameShape(QFrame::Box);
break;
2532 case 7:
weapon_frm_8->setFrameShape(QFrame::Box);
break;
2533 case 8:
armor_frm_1->setFrameShape(QFrame::Box);
break;
2534 case 9:
armor_frm_2->setFrameShape(QFrame::Box);
break;
2535 case 10:
armor_frm_3->setFrameShape(QFrame::Box);
break;
2536 case 11:
armor_frm_4->setFrameShape(QFrame::Box);
break;
2537 case 12:
armor_frm_5->setFrameShape(QFrame::Box);
break;
2538 case 13:
armor_frm_6->setFrameShape(QFrame::Box);
break;
2539 case 14:
armor_frm_7->setFrameShape(QFrame::Box);
break;
2540 case 15:
armor_frm_8->setFrameShape(QFrame::Box);
break;
2595 for(
int i=15;i>=0;i--)
qint8 statusRegen(int id)
regen status effect of an item
QPushButton * weapon_slot_5
MateriaEditor * materia_edit
void vitBonus_changed(quint8)
qint8 elementCut(int id)
cut elemental effect of an item
QPushButton * weapon_slot_1
QPushButton * armor_slot_8
qint8 elementHoly(int id)
ho;y elemental effect of an item
void weapon_slot_1_clicked()
QPushButton * weapon_slot_6
void weapon_slot_2_clicked()
QPushButton * armor_slot_2
qint8 statDEX(int id)
change to dexterity when equipped
qint8 statMP(int id)
change to MP when equipped
QLabel * lbl_mag_mat_bonus
void armor_slot_3_clicked()
QPushButton * weapon_slot_4
void cb_fury_toggled(bool)
void weapon_slot_4_clicked()
qint8 statusDeathSentence(int id)
death sentence status effect of an item
void exp_changed(quint32)
int statGain(int who, int stat, int stat_amount, int current_lvl, int next_lvl)
how much to increase stat on level up
void cb_sadness_toggled(bool)
void curMp_changed(quint16)
QSpinBox * sb_limit_level
qint8 statusMagicBarrier(int id)
magic barrier status effect of an item
qint8 elementRestoration(int id)
restoration elemental effect of an item
void kills_changed(quint16)
void dexBonus_changed(quint8)
void cb_idChanger_toggled(bool)
void update_materia_slots()
qint8 statusBerserk(int id)
berserk status effect of an item
void timesused2_changed(quint16)
QLCDNumber * lcd_limit_value
QLabel * lbl_vit_mat_bonus
qint8 materiaGrowthRate(int id)
ap multiplier for an item
void setAdvancedMode(bool)
qint8 statusDeath(int id)
death status effect of an item
qint8 statusMini(int id)
mini status effect of an item
int numberOfWeapons(int who)
number of weapons for a Character
QLabel * lbl_base_hp_bonus
QString styleMateriaSlotNoGrowth(void)
QStyle of a no growth materia slot for use on a QPushButton.
QPushButton * armor_slot_6
QPushButton * weapon_slot_8
QString defaultName(int who)
default name for a character
qint8 statusSlow(int id)
slow status effect of an item
int weaponStartingId(int who)
find what item id is the first weapon for a Character
void limits_changed(quint16)
qint8 statusDarkness(int id)
darkness status effect of an item
QListWidget * status_effects
void armor_slot_2_clicked()
void weapon_slot_3_clicked()
qint8 statusStop(int id)
stop status effect of an item
void armor_slot_7_clicked()
void setRow(bool front_row)
quint32 ap2num(quint8 ap[3])
QPushButton * armor_slot_1
quint32 tnlForLevel(int who, int level)
experance needed to level up
void weapon_slot_6_clicked()
QGroupBox * accessory_box
qint8 elementWind(int id)
wind elemental effect of an item
void setEditableComboBoxes(bool)
Character Info in the save game.
void sadnessfury_changed(quint8)
qint8 statSTR(int id)
change to strength when equipped
qint8 statusPoison(int id)
poison status effect of an item
void setHoverStyle(QString hoverColor)
qint8 statusSadness(int id)
sadness status effect of an item
QComboBox * weapon_selection
void armor_slot_4_clicked()
void weapon_changed(quint8)
QImage image(int id)
get an items picture as qimage
static const quint16 _limitbitarray[0x07]
void timesused3_changed(quint16)
QPushButton * weapon_slot_7
void limitBar_changed(quint8)
QPushButton * armor_slot_4
QLabel * lbl_dex_mat_bonus
void setLevelProgress(int)
QIcon icon(int who)
Menu icon for a character.
QListWidget * elemental_effects
void setAutoStatCalc(bool)
qint8 statusShield(int id)
shield status effect of an item
void matId_changed(qint8)
qint8 elementHit(int id)
hit elemental effect of an item
void armor_slot_8_clicked()
void limitLevel_changed(qint8)
void Materias_changed(materia)
CharEditor(qreal Scale=1, QWidget *parent=0)
QLabel * lbl_level_progress
void weapon_slot_7_clicked()
qint8 elementFire(int id)
fire elemental effect of an item
QComboBox * accessory_selection
void magBonus_changed(quint8)
qint8 statusFrog(int id)
frog status effect of an item
void weapon_slot_5_clicked()
qint8 statusPetrify(int id)
petrify status effect of an item
int weaponOffset(int who)
find what weapon number is the first weapon for a Character
qint8 elementGravity(int id)
gravity elemental effect of an item
QPushButton * armor_slot_3
qint8 statLCK(int id)
change to luck when equipped
void armor_slot_6_clicked()
QSpinBox * sb_uses_limit_1_1
qint32 ap(int id, int lvl)
QLabel * lbl_spi_mat_bonus
qint8 statusReflect(int id)
reflect status effect of an item
void setMateria(quint8 materia_id=0, qint32 materia_ap=0)
void weapon_slot_8_clicked()
void calc_limit_value(QModelIndex)
void curHp_changed(quint16)
void accessory_changed(quint8)
void lckBonus_changed(quint8)
void mButtonPress(int Mslot)
void armor_slot_1_clicked()
materia format saved in materia list or on a character
qint8 statusBarrier(int id)
barrier status effect of an item
void matAp_changed(qint32)
qint8 elementWater(int id)
water elemental effect of an item
QString name(int id)
get an items name
qint8 elementPoison(int id)
poison elemental effect of an item
qint8 statusSleep(int id)
sleep status effect of an item
void baseHp_changed(quint16)
QStringList limits(int who)
Limit list for a character.
QLabel * lbl_base_mp_bonus
void baseMp_changed(quint16)
QComboBox * armor_selection
void level_changed(qint8)
void expNext_changed(quint32)
qint8 elementEarth(int id)
earth elemental effect of an item
qint8 statusFury(int id)
fury status effect of an item
void armor_changed(quint8)
void init_connections(void)
qint8 statusResist(int id)
resist status effect of an item
void maxHp_changed(quint16)
QLabel * lbl_lck_mat_bonus
void levelProgress_changed(quint8)
QString styleMateriaLink(void)
QStyle of a materia link for use on a QLabel.
void maxMp_changed(quint16)
QPushButton * weapon_slot_3
qint8 statusSlowNumb(int id)
slow numb status effect of an item
qint8 statusParalysis(int id)
paralysis status effect of an item
void strBonus_changed(quint8)
void setChar(FF7CHAR Chardata, QString Processed_Name="")
qint8 statusSilence(int id)
silence status effect of an item
qint8 elementShoot(int id)
shoot elemental effect of an item
qint8 statHP(int id)
change to HP when equipped
qint8 statVIT(int id)
change to vitality when equipped
qint8 elementCold(int id)
cold elemental effect of an item
qint8 statusConfusion(int id)
confusion status effect of an item
QGroupBox * elemental_box
QPushButton * armor_slot_5
QLabel * lbl_str_mat_bonus
QFrame * weapon_materia_box
void setSliderStyle(QString style)
QSpinBox * sb_uses_limit_3_1
materia char_materia(int mat)
void setMateriaHoverStyle(QString)
qint8 statusHaste(int id)
haste status effect of an item
qint8 materiaSlots(int id)
total number of materia slots in item
QSpinBox * sb_uses_limit_2_1
qint8 linkedSlots(int id)
total number materia links in item
QListWidget * list_limits
qint8 elementLightning(int id)
lightning elemental effect of an item
void name_changed(QString)
QPixmap pixmap(int who)
Menu icon for a character.
quint32 totalExpForLevel(int who, int level)
Exp needed to reach a level.
QFrame * armor_materia_box
qint8 statSPI(int id)
change to spirit when equipped
void timesused1_changed(quint16)
qint8 elementPunch(int id)
punch elemental effect of an item
QPushButton * armor_slot_7
void setToolBoxStyle(QString)
QPushButton * weapon_slot_2
void armor_slot_5_clicked()
qint8 statMAG(int id)
change to magic when equipped
void setEditableMateriaCombo(bool enabled)
void spiBonus_changed(quint8)