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

easily manage the menus in Final Fantasy 7 More...

#include <MenuListWidget.h>

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

Public Types

enum  BOX { MENUVISIBLE = 1, MENULOCKED = 2 }
 Acces to Visible and Locked boxes without knowing their index. More...
 

Public Slots

void setChecked (int row, int box, bool checked)
 SLOT: set the check state for an item. More...
 

Signals

void visibleToggled (int row, bool checked)
 SIGNAL: The visible box has changed its checked state. More...
 
void lockedToggled (int row, bool checked)
 SIGNAL: The locked box has changed its checked state. More...
 

Public Member Functions

 MenuListWidget (QWidget *parent=nullptr)
 

Protected Member Functions

void changeEvent (QEvent *e)
 

Detailed Description

easily manage the menus in Final Fantasy 7

Member Enumeration Documentation

◆ BOX

Acces to Visible and Locked boxes without knowing their index.

Enumerator
MENUVISIBLE 
MENULOCKED 

Constructor & Destructor Documentation

◆ MenuListWidget()

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

Member Function Documentation

◆ changeEvent()

void MenuListWidget::changeEvent ( QEvent *  e)
protected

◆ lockedToggled

void MenuListWidget::lockedToggled ( int  row,
bool  checked 
)
signal

SIGNAL: The locked box has changed its checked state.

Parameters
rowthe row (FF7Save::MENUITEMS)
checkedthe new check state

◆ setChecked

void MenuListWidget::setChecked ( int  row,
int  box,
bool  checked 
)
slot

SLOT: set the check state for an item.

Parameters
rowthe row (FF7Save::MENUITEMS)
boxthe box that is being set (MenuListWidget::Box)
checkedthe new check state

◆ visibleToggled

void MenuListWidget::visibleToggled ( int  row,
bool  checked 
)
signal

SIGNAL: The visible box has changed its checked state.

Parameters
rowthe row (FF7Save::MENUITEMS)
checkedthe new check state

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