ff7tk  1.2.0.13
Work with Final Fantasy 7 game data
Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
CharEditor Class Reference

Widget to allow editing of a character using FF7Char for data. More...

#include <CharEditor.h>

Inheritance diagram for CharEditor:
Inheritance graph
[legend]
Collaboration diagram for CharEditor:
Collaboration graph
[legend]

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
 

Detailed Description

Widget to allow editing of a character using FF7Char for data.

Constructor & Destructor Documentation

◆ CharEditor()

CharEditor::CharEditor ( QWidget *  parent = nullptr)
explicit

CharEditor::CharEditor.

Parameters
parent
Todo:
Remove old signals for 2.0

Member Function Documentation

◆ accessory()

quint8 CharEditor::accessory ( )

◆ accessory_changed

void CharEditor::accessory_changed ( quint8  )
signal

◆ accessoryChanged

void CharEditor::accessoryChanged ( quint8  accessory)
signal

Emitted when the character's accessory changes.

Parameters
accessoryNew accessory of the character

◆ AdvancedMode()

bool CharEditor::AdvancedMode ( )

◆ armor()

quint8 CharEditor::armor ( )

◆ armor_changed

void CharEditor::armor_changed ( quint8  )
signal

◆ armorChanged

void CharEditor::armorChanged ( quint8  armor)
signal

Emitted when the character's armor changes.

Parameters
armorNew armor of the character

◆ AutoLevel()

bool CharEditor::AutoLevel ( )

◆ AutoStatCalc()

bool CharEditor::AutoStatCalc ( )

◆ baseHp()

quint16 CharEditor::baseHp ( )

◆ baseHp_changed

void CharEditor::baseHp_changed ( quint16  )
signal

◆ baseHpChanged

void CharEditor::baseHpChanged ( quint16  baseHp)
signal

Emitted when the character's base hit points changes.

Parameters
baseHpNew base hit points of the character

◆ baseMp()

quint16 CharEditor::baseMp ( )

◆ baseMp_changed

void CharEditor::baseMp_changed ( quint16  )
signal

◆ baseMpChanged

void CharEditor::baseMpChanged ( quint16  baseMp)
signal

Emitted when the character's base magic points changes.

Parameters
baseMpNew base magic points of the character

◆ changeEvent()

void CharEditor::changeEvent ( QEvent *  e)
overrideprotected

◆ char_materia()

materia CharEditor::char_materia ( int  mat)

◆ curHp()

quint16 CharEditor::curHp ( )

◆ curHp_changed

void CharEditor::curHp_changed ( quint16  )
signal

◆ curHpChanged

void CharEditor::curHpChanged ( quint16  curHp)
signal

Emitted when the character's current hit points changes.

Parameters
curHpNew current hit points of the character

◆ curMp()

quint16 CharEditor::curMp ( )

◆ curMp_changed

void CharEditor::curMp_changed ( quint16  )
signal

◆ curMpChanged

void CharEditor::curMpChanged ( quint16  curMp)
signal

Emitted when the character's current magic points changes.

Parameters
curMpNew current magic points of the character

◆ dex()

quint8 CharEditor::dex ( )

◆ dex_changed

void CharEditor::dex_changed ( quint8  )
signal

◆ dexBonus()

quint8 CharEditor::dexBonus ( )

◆ dexBonus_changed

void CharEditor::dexBonus_changed ( quint8  )
signal

◆ dexterityBonusChanged

void CharEditor::dexterityBonusChanged ( quint8  dexterityBonus)
signal

Emitted when the character's dexterityBonus changes.

Parameters
dexterityBonusNew dexterityBonus of the character

◆ dexterityChanged

void CharEditor::dexterityChanged ( quint8  dexterity)
signal

Emitted when the character's dexterity changes.

Parameters
dexterityNew dexterity of the character

◆ Editable()

bool CharEditor::Editable ( )

◆ exp()

quint32 CharEditor::exp ( )

◆ exp_changed

void CharEditor::exp_changed ( quint32  )
signal

◆ expChanged

void CharEditor::expChanged ( quint32  exp)
signal

Emitted when the character's experience changes.

Parameters
expNew experience of the character

◆ expNext()

quint32 CharEditor::expNext ( )

◆ expNext_changed

void CharEditor::expNext_changed ( quint32  )
signal

◆ expNextChanged

void CharEditor::expNextChanged ( quint32  expNext)
signal

Emitted when the character's amount of experience needed to reach the next level changes.

Parameters
expNextNew amount of experience needed to reach the next level

◆ id()

quint8 CharEditor::id ( )

◆ id_changed

void CharEditor::id_changed ( qint8  )
signal

◆ idChanged

void CharEditor::idChanged ( qint8  id)
signal

Emitted when the character's id changes.

Parameters
idNew Id of the character

◆ kills()

quint16 CharEditor::kills ( )

◆ kills_changed

void CharEditor::kills_changed ( quint16  )
signal

◆ killsChanged

void CharEditor::killsChanged ( quint16  kills)
signal

Emitted when the character's kills changes.

Parameters
killsNew name of the character

◆ lck()

quint8 CharEditor::lck ( )

◆ lck_changed

void CharEditor::lck_changed ( quint8  )
signal

◆ lckBonus()

quint8 CharEditor::lckBonus ( )

◆ lckBonus_changed

void CharEditor::lckBonus_changed ( quint8  )
signal

◆ level()

quint8 CharEditor::level ( )

◆ level_changed

void CharEditor::level_changed ( qint8  )
signal

◆ levelChanged

void CharEditor::levelChanged ( qint8  level)
signal

Emitted when the character's level changes.

Parameters
levelNew level of the character

◆ levelProgress()

quint8 CharEditor::levelProgress ( )

◆ levelProgress_changed

void CharEditor::levelProgress_changed ( quint8  )
signal

◆ levelProgressChanged

void CharEditor::levelProgressChanged ( quint8  levelProgress)
signal

Emitted when the character's levelProgress changes.

Parameters
levelProgressNew levelProgresss of the character

◆ limitBar()

quint8 CharEditor::limitBar ( )

◆ limitBar_changed

void CharEditor::limitBar_changed ( quint8  )
signal

◆ limitBarChanged

void CharEditor::limitBarChanged ( qint8  limitBar)
signal

Emitted when the character's limitBar changes.

Parameters
limitBarNew limitBar of the character

◆ limitLevel()

qint8 CharEditor::limitLevel ( )

◆ limitLevel_changed

void CharEditor::limitLevel_changed ( qint8  )
signal

◆ limitLevelChanged

void CharEditor::limitLevelChanged ( qint8  limitLevel)
signal

Emitted when the character's limitLevel changes.

Parameters
limitLevelNew limitLevel of the character

◆ limits()

quint16 CharEditor::limits ( )

◆ limits_changed

void CharEditor::limits_changed ( quint16  )
signal

◆ limitsChanged

void CharEditor::limitsChanged ( quint16  limits)
signal

Emitted when the character's limits changes.

Parameters
limitsNew limits of the character

◆ luckBonusChanged

void CharEditor::luckBonusChanged ( quint8  luckBonus)
signal

Emitted when the character's luckBonus changes.

Parameters
luckBonusNew luckBonus of the character

◆ luckChanged

void CharEditor::luckChanged ( quint8  luck)
signal

Emitted when the character's luck changes.

Parameters
luckNew luck of the character

◆ mag()

quint8 CharEditor::mag ( )

◆ mag_changed

void CharEditor::mag_changed ( quint8  )
signal

◆ magBonus()

quint8 CharEditor::magBonus ( )

◆ magBonus_changed

void CharEditor::magBonus_changed ( quint8  )
signal

◆ magicBonusChanged

void CharEditor::magicBonusChanged ( quint8  magicBonus)
signal

Emitted when the character's magicBonus changes.

Parameters
magicBonusNew magicBonus of the character

◆ magicChanged

void CharEditor::magicChanged ( quint8  magic)
signal

Emitted when the character's magic changes.

Parameters
magicNew magic of the character

◆ materiaChanged

void CharEditor::materiaChanged ( materia  mat)
signal

Emitted when the character's materia changes.

Parameters
matNew materia of the character (at the current mslot)

◆ Materias_changed

void CharEditor::Materias_changed ( materia  )
signal

◆ MaxEquip()

void CharEditor::MaxEquip ( )

◆ maxHp()

quint16 CharEditor::maxHp ( )

◆ maxHp_changed

void CharEditor::maxHp_changed ( quint16  )
signal

◆ maxHpChanged

void CharEditor::maxHpChanged ( quint16  maxHp)
signal

Emitted when the character's current maximum hit points changes.

Parameters
maxHpNew maximum hit points of the character

◆ maxMp()

quint16 CharEditor::maxMp ( )

◆ maxMp_changed

void CharEditor::maxMp_changed ( quint16  )
signal

◆ maxMpChanged

void CharEditor::maxMpChanged ( quint16  maxMp)
signal

Emitted when the character's current maximum magic points changes.

Parameters
maxMpNew maximum magic points of the character

◆ MaxStats()

void CharEditor::MaxStats ( )

◆ mslotChanged

void CharEditor::mslotChanged ( int  mslot)
signal

Emitted when the current materia slot being viwed changes.

Parameters
mslotNew materia slot being viewed

◆ name()

QString CharEditor::name ( )

◆ name_changed

void CharEditor::name_changed ( QString  )
signal

◆ nameChanged

void CharEditor::nameChanged ( QString  name)
signal

Emitted when the character's name changes.

Parameters
nameNew name of the character

◆ row()

quint8 CharEditor::row ( )

◆ row_changed

void CharEditor::row_changed ( quint8  )
signal

◆ rowChanged

void CharEditor::rowChanged ( quint8  row)
signal

Emitted when the character's row changes.

Parameters
rowNew row of the character

◆ sadnessfury()

quint8 CharEditor::sadnessfury ( )

◆ sadnessfury_changed

void CharEditor::sadnessfury_changed ( quint8  )
signal

◆ setAdvancedMode

void CharEditor::setAdvancedMode ( bool  new_advancedMode)
slot

◆ setAutoLevel

void CharEditor::setAutoLevel ( bool  ans)
slot

◆ setAutoStatCalc

void CharEditor::setAutoStatCalc ( bool  ans)
slot

◆ setChar()

void CharEditor::setChar ( const FF7CHAR Chardata,
const QString &  Processed_Name = "" 
)

◆ setEditable

void CharEditor::setEditable ( bool  edit)
slot

◆ setEditableComboBoxes

void CharEditor::setEditableComboBoxes ( bool  editable)
slot

◆ setShowPlaceholderMateria

void CharEditor::setShowPlaceholderMateria ( bool  shown)
slot

◆ setSliderStyle

void CharEditor::setSliderStyle ( const QString &  style)
slot

◆ setToolBoxStyle

void CharEditor::setToolBoxStyle ( const QString &  styleSheet)
slot

◆ showPlaceholderMateria()

bool CharEditor::showPlaceholderMateria ( )

◆ spi()

quint8 CharEditor::spi ( )

◆ spi_changed

void CharEditor::spi_changed ( quint8  )
signal

◆ spiBonus()

quint8 CharEditor::spiBonus ( )

◆ spiBonus_changed

void CharEditor::spiBonus_changed ( quint8  )
signal

◆ spiritBonusChanged

void CharEditor::spiritBonusChanged ( quint8  spiritBonus)
signal

Emitted when the character's spiritBonus changes.

Parameters
spiritBonusNew spiritBonus of the character

◆ spiritChanged

void CharEditor::spiritChanged ( quint8  spirit)
signal

Emitted when the character's spirit changes.

Parameters
spiritNew spirit of the character

◆ stateChanged

void CharEditor::stateChanged ( quint8  state)
signal

Emitted when the character's sadness / fury state changes.

Parameters
stateNew sadness / fury state of the character

◆ str()

quint8 CharEditor::str ( )

◆ str_changed

void CharEditor::str_changed ( quint8  )
signal

◆ strBonus()

quint8 CharEditor::strBonus ( )

◆ strBonus_changed

void CharEditor::strBonus_changed ( quint8  )
signal

◆ strengthBonusChanged

void CharEditor::strengthBonusChanged ( quint8  strengthBonus)
signal

Emitted when the character's strengthBonus changes.

Parameters
strengthBonusNew strengthBonus of the character

◆ strengthChanged

void CharEditor::strengthChanged ( quint8  strength)
signal

Emitted when the character's strength changes.

Parameters
strengthNew strength of the character

◆ times1UsedChanged

void CharEditor::times1UsedChanged ( quint16  times)
signal

Emitted when the number of times the character's used the 1-1 limit break changes.

Parameters
timesNew times the character has used the 1-1 limit break

◆ times2UsedChanged

void CharEditor::times2UsedChanged ( quint16  times)
signal

Emitted when the number of times the character's used the 2-1 limit break changes.

Parameters
timesNew times the character has used the 2-1 limit break

◆ times3UsedChanged

void CharEditor::times3UsedChanged ( quint16  times)
signal

Emitted when the number of times the character's used the 3-1 limit break changes.

Parameters
timesNew times the character has used the 3-1 limit break

◆ timesused1()

quint16 CharEditor::timesused1 ( )

◆ timesused1_changed

void CharEditor::timesused1_changed ( quint16  )
signal

◆ timesused2()

quint16 CharEditor::timesused2 ( )

◆ timesused2_changed

void CharEditor::timesused2_changed ( quint16  )
signal

◆ timesused3()

quint16 CharEditor::timesused3 ( )

◆ timesused3_changed

void CharEditor::timesused3_changed ( quint16  )
signal

◆ vit()

quint8 CharEditor::vit ( )

◆ vit_changed

void CharEditor::vit_changed ( quint8  )
signal

◆ vitalityBonusChanged

void CharEditor::vitalityBonusChanged ( quint8  vitalityBonus)
signal

Emitted when the character's vitalityBonus changes.

Parameters
vitalityBonusNew vitalityBonus of the character

◆ vitalityChanged

void CharEditor::vitalityChanged ( quint8  vitality)
signal

Emitted when the character's vitality changes.

Parameters
vitalityNew vitality of the character

◆ vitBonus()

quint8 CharEditor::vitBonus ( )

◆ vitBonus_changed

void CharEditor::vitBonus_changed ( quint8  )
signal

◆ weapon()

quint8 CharEditor::weapon ( )

◆ weapon_changed

void CharEditor::weapon_changed ( quint8  )
signal

◆ weaponChanged

void CharEditor::weaponChanged ( quint8  weapon)
signal

Emitted when the character's weapon changes.

Parameters
weaponNew weapon of the character

The documentation for this class was generated from the following files: