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

Easily manage the who can be in the phs. More...

#include <PhsListWidget.h>

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

Public Types

enum  Box { PHSALLOWED = 1 , PHSVISIBLE = 2 }
 Acces to Allow and Visible 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 allowedToggled (int row, bool checked)
 SIGNAL: The allowed box has changed its checked state. More...
 
void visibleToggled (int row, bool checked)
 SIGNAL: The visible box has changed its checked state. More...
 

Public Member Functions

 PhsListWidget (QWidget *parent=nullptr)
 

Protected Member Functions

void changeEvent (QEvent *e)
 

Detailed Description

Easily manage the who can be in the phs.

Ment to be used with FF7Save

Member Enumeration Documentation

◆ Box

Acces to Allow and Visible boxes without knowing their index.

Enumerator
PHSALLOWED 

1

PHSVISIBLE 

2

Constructor & Destructor Documentation

◆ PhsListWidget()

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

Member Function Documentation

◆ allowedToggled

void PhsListWidget::allowedToggled ( int  row,
bool  checked 
)
signal

SIGNAL: The allowed box has changed its checked state.

Parameters
rowthe row its changed in (FF7Char::Char)
checkedthe new check state

◆ changeEvent()

void PhsListWidget::changeEvent ( QEvent *  e)
protected

◆ setChecked

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

SLOT: set the check state for an item.

Parameters
rowthe row (char id is row order)
boxthe box that is being set (PhsListWidget::Box)
checkedthe new check state

◆ visibleToggled

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

SIGNAL: The visible box has changed its checked state.

Parameters
rowthe row its changed in (FF7Char::Char)
checkedthe new check state

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