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
MateriaEditor Class Reference

The MateriaEditor class
MateriaEditor is a Widget that can be used to edit materia in the player's inventory or on a character. More...

#include <MateriaEditor.h>

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

Public Slots

void setEditableMateriaCombo (bool enabled)
 

Signals

void apChanged (qint32)
 
void idChanged (qint8)
 

Public Member Functions

 MateriaEditor (QWidget *parent=nullptr, quint8 materia_id=FF7Materia::EmptyId, qint32 ap=FF7Materia::MaxMateriaAp)
 
void setMateria (quint8 materia_id=0, qint32 materia_ap=0)
 
void setAP (qint32 current_ap=0)
 
void setStarsSize (int)
 
qint32 ap ()
 
qint32 MaxAP ()
 
qint8 id ()
 
bool isEditable (void)
 
void setEditable (bool)
 
void setShowPlaceHolderMateria (bool showPlaceHolders)
 setShowPlaceHolderMateria Sets if the list of possible materia contains the placeholder materia More...
 

Protected Member Functions

void changeEvent (QEvent *e)
 

Detailed Description

The MateriaEditor class
MateriaEditor is a Widget that can be used to edit materia in the player's inventory or on a character.

Constructor & Destructor Documentation

◆ MateriaEditor()

MateriaEditor::MateriaEditor ( QWidget *  parent = nullptr,
quint8  materia_id = FF7Materia::EmptyId,
qint32  ap = FF7Materia::MaxMateriaAp 
)
explicit

Member Function Documentation

◆ ap()

qint32 MateriaEditor::ap ( )

◆ apChanged

void MateriaEditor::apChanged ( qint32  )
signal

◆ changeEvent()

void MateriaEditor::changeEvent ( QEvent *  e)
protected

◆ id()

qint8 MateriaEditor::id ( )

◆ idChanged

void MateriaEditor::idChanged ( qint8  )
signal

◆ isEditable()

bool MateriaEditor::isEditable ( void  )

◆ MaxAP()

qint32 MateriaEditor::MaxAP ( )

◆ setAP()

void MateriaEditor::setAP ( qint32  current_ap = 0)

◆ setEditable()

void MateriaEditor::setEditable ( bool  edit)

◆ setEditableMateriaCombo

void MateriaEditor::setEditableMateriaCombo ( bool  enabled)
slot

◆ setMateria()

void MateriaEditor::setMateria ( quint8  materia_id = 0,
qint32  materia_ap = 0 
)

◆ setShowPlaceHolderMateria()

void MateriaEditor::setShowPlaceHolderMateria ( bool  showPlaceHolders)

setShowPlaceHolderMateria Sets if the list of possible materia contains the placeholder materia

Parameters
showPlaceHoldersTrue if you want to show the placeholders.

◆ setStarsSize()

void MateriaEditor::setStarsSize ( int  size)

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