|
ff7tk
1.3.0.3
Work with Final Fantasy 7 game data
|
Widget to allow editing of a character using FF7Char for data. More...
#include <CharEditor.h>


Public Slots | |
| void | setAutoLevel (bool) |
| void | setAutoStatCalc (bool) |
| void | setEditable (bool) |
| void | setShowPlaceholderMateria (bool) |
| void | setAdvancedMode (bool) |
| void | setToolBoxStyle (const QString &styleSheet) |
| void | setSliderStyle (const QString &style) |
| void | setEditableComboBoxes (bool) |
Signals | |
| void | idChanged (qint8 id) |
| Emitted when the character's id changes. More... | |
| void | id_changed (qint8) |
| void | levelChanged (qint8 level) |
| Emitted when the character's level changes. More... | |
| void | level_changed (qint8) |
| void | strengthChanged (quint8 strength) |
| Emitted when the character's strength changes. More... | |
| void | str_changed (quint8) |
| void | vitalityChanged (quint8 vitality) |
| Emitted when the character's vitality changes. More... | |
| void | vit_changed (quint8) |
| void | magicChanged (quint8 magic) |
| Emitted when the character's magic changes. More... | |
| void | mag_changed (quint8) |
| void | spiritChanged (quint8 spirit) |
| Emitted when the character's spirit changes. More... | |
| void | spi_changed (quint8) |
| void | dexterityChanged (quint8 dexterity) |
| Emitted when the character's dexterity changes. More... | |
| void | dex_changed (quint8) |
| void | luckChanged (quint8 luck) |
| Emitted when the character's luck changes. More... | |
| void | lck_changed (quint8) |
| void | strengthBonusChanged (quint8 strengthBonus) |
| Emitted when the character's strengthBonus changes. More... | |
| void | strBonus_changed (quint8) |
| void | vitalityBonusChanged (quint8 vitalityBonus) |
| Emitted when the character's vitalityBonus changes. More... | |
| void | vitBonus_changed (quint8) |
| void | magicBonusChanged (quint8 magicBonus) |
| Emitted when the character's magicBonus changes. More... | |
| void | magBonus_changed (quint8) |
| void | spiritBonusChanged (quint8 spiritBonus) |
| Emitted when the character's spiritBonus changes. More... | |
| void | spiBonus_changed (quint8) |
| void | dexterityBonusChanged (quint8 dexterityBonus) |
| Emitted when the character's dexterityBonus changes. More... | |
| void | dexBonus_changed (quint8) |
| void | luckBonusChanged (quint8 luckBonus) |
| Emitted when the character's luckBonus changes. More... | |
| void | lckBonus_changed (quint8) |
| void | limitLevelChanged (qint8 limitLevel) |
| Emitted when the character's limitLevel changes. More... | |
| void | limitLevel_changed (qint8) |
| void | limitBarChanged (qint8 limitBar) |
| Emitted when the character's limitBar changes. More... | |
| void | limitBar_changed (quint8) |
| void | nameChanged (QString name) |
| Emitted when the character's name changes. More... | |
| void | name_changed (QString) |
| void | weaponChanged (quint8 weapon) |
| Emitted when the character's weapon changes. More... | |
| void | weapon_changed (quint8) |
| void | armorChanged (quint8 armor) |
| Emitted when the character's armor changes. More... | |
| void | armor_changed (quint8) |
| void | accessoryChanged (quint8 accessory) |
| Emitted when the character's accessory changes. More... | |
| void | accessory_changed (quint8) |
| void | curHpChanged (quint16 curHp) |
| Emitted when the character's current hit points changes. More... | |
| void | curHp_changed (quint16) |
| void | maxHpChanged (quint16 maxHp) |
| Emitted when the character's current maximum hit points changes. More... | |
| void | maxHp_changed (quint16) |
| void | curMpChanged (quint16 curMp) |
| Emitted when the character's current magic points changes. More... | |
| void | curMp_changed (quint16) |
| void | maxMpChanged (quint16 maxMp) |
| Emitted when the character's current maximum magic points changes. More... | |
| void | maxMp_changed (quint16) |
| void | killsChanged (quint16 kills) |
| Emitted when the character's kills changes. More... | |
| void | kills_changed (quint16) |
| void | rowChanged (quint8 row) |
| Emitted when the character's row changes. More... | |
| void | row_changed (quint8) |
| void | levelProgressChanged (quint8 levelProgress) |
| Emitted when the character's levelProgress changes. More... | |
| void | levelProgress_changed (quint8) |
| void | stateChanged (quint8 state) |
| Emitted when the character's sadness / fury state changes. More... | |
| void | sadnessfury_changed (quint8) |
| void | limitsChanged (quint16 limits) |
| Emitted when the character's limits changes. More... | |
| void | limits_changed (quint16) |
| void | times1UsedChanged (quint16 times) |
| Emitted when the number of times the character's used the 1-1 limit break changes. More... | |
| void | timesused1_changed (quint16) |
| void | times2UsedChanged (quint16 times) |
| Emitted when the number of times the character's used the 2-1 limit break changes. More... | |
| void | timesused2_changed (quint16) |
| void | times3UsedChanged (quint16 times) |
| Emitted when the number of times the character's used the 3-1 limit break changes. More... | |
| void | timesused3_changed (quint16) |
| void | baseHpChanged (quint16 baseHp) |
| Emitted when the character's base hit points changes. More... | |
| void | baseHp_changed (quint16) |
| void | baseMpChanged (quint16 baseMp) |
| Emitted when the character's base magic points changes. More... | |
| void | baseMp_changed (quint16) |
| void | expChanged (quint32 exp) |
| Emitted when the character's experience changes. More... | |
| void | exp_changed (quint32) |
| void | mslotChanged (int mslot) |
| Emitted when the current materia slot being viwed changes. More... | |
| void | materiaChanged (materia mat) |
| Emitted when the character's materia changes. More... | |
| void | Materias_changed (materia) |
| void | expNextChanged (quint32 expNext) |
| Emitted when the character's amount of experience needed to reach the next level changes. More... | |
| void | expNext_changed (quint32) |
Public Member Functions | |
| CharEditor (QWidget *parent=nullptr) | |
| CharEditor::CharEditor. More... | |
| void | setChar (const FF7CHAR &Chardata, const QString &Processed_Name="") |
| bool | AutoLevel () |
| bool | AutoStatCalc () |
| bool | Editable () |
| bool | showPlaceholderMateria () |
| bool | AdvancedMode () |
| void | MaxStats () |
| void | MaxEquip () |
| quint8 | id () |
| quint8 | level () |
| quint8 | str () |
| quint8 | vit () |
| quint8 | mag () |
| quint8 | spi () |
| quint8 | dex () |
| quint8 | lck () |
| quint8 | strBonus () |
| quint8 | vitBonus () |
| quint8 | magBonus () |
| quint8 | spiBonus () |
| quint8 | dexBonus () |
| quint8 | lckBonus () |
| qint8 | limitLevel () |
| quint8 | limitBar () |
| QString | name () |
| quint8 | weapon () |
| quint8 | armor () |
| quint8 | accessory () |
| quint16 | curHp () |
| quint16 | maxHp () |
| quint16 | curMp () |
| quint16 | maxMp () |
| quint16 | kills () |
| quint8 | row () |
| quint8 | levelProgress () |
| quint8 | sadnessfury () |
| quint16 | limits () |
| quint16 | timesused1 () |
| quint16 | timesused2 () |
| quint16 | timesused3 () |
| quint16 | baseHp () |
| quint16 | baseMp () |
| quint32 | exp () |
| quint32 | expNext () |
| materia | char_materia (int mat) |
Protected Member Functions | |
| void | changeEvent (QEvent *e) override |
Widget to allow editing of a character using FF7Char for data.
|
explicit |
| quint8 CharEditor::accessory | ( | ) |
|
signal |
|
signal |
Emitted when the character's accessory changes.
| accessory | New accessory of the character |
| bool CharEditor::AdvancedMode | ( | ) |
| quint8 CharEditor::armor | ( | ) |
|
signal |
|
signal |
Emitted when the character's armor changes.
| armor | New armor of the character |
| bool CharEditor::AutoLevel | ( | ) |
| bool CharEditor::AutoStatCalc | ( | ) |
| quint16 CharEditor::baseHp | ( | ) |
|
signal |
|
signal |
Emitted when the character's base hit points changes.
| baseHp | New base hit points of the character |
| quint16 CharEditor::baseMp | ( | ) |
|
signal |
|
signal |
Emitted when the character's base magic points changes.
| baseMp | New base magic points of the character |
|
overrideprotected |
| materia CharEditor::char_materia | ( | int | mat | ) |
| quint16 CharEditor::curHp | ( | ) |
|
signal |
|
signal |
Emitted when the character's current hit points changes.
| curHp | New current hit points of the character |
| quint16 CharEditor::curMp | ( | ) |
|
signal |
|
signal |
Emitted when the character's current magic points changes.
| curMp | New current magic points of the character |
| quint8 CharEditor::dex | ( | ) |
|
signal |
| quint8 CharEditor::dexBonus | ( | ) |
|
signal |
|
signal |
Emitted when the character's dexterityBonus changes.
| dexterityBonus | New dexterityBonus of the character |
|
signal |
Emitted when the character's dexterity changes.
| dexterity | New dexterity of the character |
| bool CharEditor::Editable | ( | ) |
| quint32 CharEditor::exp | ( | ) |
|
signal |
|
signal |
Emitted when the character's experience changes.
| exp | New experience of the character |
| quint32 CharEditor::expNext | ( | ) |
|
signal |
|
signal |
Emitted when the character's amount of experience needed to reach the next level changes.
| expNext | New amount of experience needed to reach the next level |
| quint8 CharEditor::id | ( | ) |
|
signal |
|
signal |
Emitted when the character's id changes.
| id | New Id of the character |
| quint16 CharEditor::kills | ( | ) |
|
signal |
|
signal |
Emitted when the character's kills changes.
| kills | New name of the character |
| quint8 CharEditor::lck | ( | ) |
|
signal |
| quint8 CharEditor::lckBonus | ( | ) |
|
signal |
| quint8 CharEditor::level | ( | ) |
|
signal |
|
signal |
Emitted when the character's level changes.
| level | New level of the character |
| quint8 CharEditor::levelProgress | ( | ) |
|
signal |
|
signal |
Emitted when the character's levelProgress changes.
| levelProgress | New levelProgresss of the character |
| quint8 CharEditor::limitBar | ( | ) |
|
signal |
|
signal |
Emitted when the character's limitBar changes.
| limitBar | New limitBar of the character |
| qint8 CharEditor::limitLevel | ( | ) |
|
signal |
|
signal |
Emitted when the character's limitLevel changes.
| limitLevel | New limitLevel of the character |
| quint16 CharEditor::limits | ( | ) |
|
signal |
|
signal |
Emitted when the character's limits changes.
| limits | New limits of the character |
|
signal |
Emitted when the character's luckBonus changes.
| luckBonus | New luckBonus of the character |
|
signal |
Emitted when the character's luck changes.
| luck | New luck of the character |
| quint8 CharEditor::mag | ( | ) |
|
signal |
| quint8 CharEditor::magBonus | ( | ) |
|
signal |
|
signal |
Emitted when the character's magicBonus changes.
| magicBonus | New magicBonus of the character |
|
signal |
Emitted when the character's magic changes.
| magic | New magic of the character |
|
signal |
Emitted when the character's materia changes.
| mat | New materia of the character (at the current mslot) |
|
signal |
| void CharEditor::MaxEquip | ( | ) |
| quint16 CharEditor::maxHp | ( | ) |
|
signal |
|
signal |
Emitted when the character's current maximum hit points changes.
| maxHp | New maximum hit points of the character |
| quint16 CharEditor::maxMp | ( | ) |
|
signal |
|
signal |
Emitted when the character's current maximum magic points changes.
| maxMp | New maximum magic points of the character |
| void CharEditor::MaxStats | ( | ) |
|
signal |
Emitted when the current materia slot being viwed changes.
| mslot | New materia slot being viewed |
| QString CharEditor::name | ( | ) |
|
signal |
|
signal |
Emitted when the character's name changes.
| name | New name of the character |
| quint8 CharEditor::row | ( | ) |
|
signal |
|
signal |
Emitted when the character's row changes.
| row | New row of the character |
| quint8 CharEditor::sadnessfury | ( | ) |
|
signal |
|
slot |
|
slot |
|
slot |
| void CharEditor::setChar | ( | const FF7CHAR & | Chardata, |
| const QString & | Processed_Name = "" |
||
| ) |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
| bool CharEditor::showPlaceholderMateria | ( | ) |
| quint8 CharEditor::spi | ( | ) |
|
signal |
| quint8 CharEditor::spiBonus | ( | ) |
|
signal |
|
signal |
Emitted when the character's spiritBonus changes.
| spiritBonus | New spiritBonus of the character |
|
signal |
Emitted when the character's spirit changes.
| spirit | New spirit of the character |
|
signal |
Emitted when the character's sadness / fury state changes.
| state | New sadness / fury state of the character |
| quint8 CharEditor::str | ( | ) |
|
signal |
| quint8 CharEditor::strBonus | ( | ) |
|
signal |
|
signal |
Emitted when the character's strengthBonus changes.
| strengthBonus | New strengthBonus of the character |
|
signal |
Emitted when the character's strength changes.
| strength | New strength of the character |
|
signal |
Emitted when the number of times the character's used the 1-1 limit break changes.
| times | New times the character has used the 1-1 limit break |
|
signal |
Emitted when the number of times the character's used the 2-1 limit break changes.
| times | New times the character has used the 2-1 limit break |
|
signal |
Emitted when the number of times the character's used the 3-1 limit break changes.
| times | New times the character has used the 3-1 limit break |
| quint16 CharEditor::timesused1 | ( | ) |
|
signal |
| quint16 CharEditor::timesused2 | ( | ) |
|
signal |
| quint16 CharEditor::timesused3 | ( | ) |
|
signal |
| quint8 CharEditor::vit | ( | ) |
|
signal |
|
signal |
Emitted when the character's vitalityBonus changes.
| vitalityBonus | New vitalityBonus of the character |
|
signal |
Emitted when the character's vitality changes.
| vitality | New vitality of the character |
| quint8 CharEditor::vitBonus | ( | ) |
|
signal |
| quint8 CharEditor::weapon | ( | ) |
|
signal |
|
signal |
Emitted when the character's weapon changes.
| weapon | New weapon of the character |