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

Set Saves Location or View Field Locations and Toggle the items picked up from them. More...

#include <LocationViewer.h>

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

Public Types

enum  filterMode { NAME, ITEM }
 

Public Slots

void setSelected (const QString &)
 
void setRegion (const QString &region)
 
void setX (int x)
 
void setY (int y)
 
void setT (int t)
 
void setD (int d)
 
void setMapId (int mapId)
 
void setLocationId (int locId)
 
void setLocationString (const QString &)
 
void setHorizontalHeaderStyle (QString styleSheet)
 
void setFieldItemChecked (int row, bool checked)
 
void init_fieldItems (void)
 
void setAdvancedMode (bool advancedMode)
 
bool advancedMode (void)
 

Signals

void locationChanged (QString)
 
void xChanged (int x)
 
void yChanged (int y)
 
void tChanged (int t)
 
void dChanged (int d)
 
void mapIdChanged (int mapId)
 
void locIdChanged (int locId)
 
void locationStringChanged (QString)
 
void fieldItemConnectRequest (quint8 index, QList< quint16 > offset, QList< quint8 >bit)
 
void fieldItemCheck (int index)
 
void fieldItemChanged (int index, bool checked)
 

Public Member Functions

 LocationViewer (QWidget *parent=nullptr)
 
void setFilterString (QString filter="", LocationViewer::filterMode mode=LocationViewer::NAME)
 

Protected Member Functions

void resizeEvent (QResizeEvent *ev)
 
void changeEvent (QEvent *e)
 

Detailed Description

Set Saves Location or View Field Locations and Toggle the items picked up from them.

Todo:
Support Progression within this widget

Member Enumeration Documentation

◆ filterMode

Enumerator
NAME 
ITEM 

Constructor & Destructor Documentation

◆ LocationViewer()

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

Member Function Documentation

◆ advancedMode

bool LocationViewer::advancedMode ( void  )
slot

◆ changeEvent()

void LocationViewer::changeEvent ( QEvent *  e)
protected

◆ dChanged

void LocationViewer::dChanged ( int  d)
signal

◆ fieldItemChanged

void LocationViewer::fieldItemChanged ( int  index,
bool  checked 
)
signal

◆ fieldItemCheck

void LocationViewer::fieldItemCheck ( int  index)
signal

◆ fieldItemConnectRequest

void LocationViewer::fieldItemConnectRequest ( quint8  index,
QList< quint16 >  offset,
QList< quint8 >  bit 
)
signal

◆ init_fieldItems

void LocationViewer::init_fieldItems ( void  )
slot

◆ locationChanged

void LocationViewer::locationChanged ( QString  )
signal

◆ locationStringChanged

void LocationViewer::locationStringChanged ( QString  )
signal

◆ locIdChanged

void LocationViewer::locIdChanged ( int  locId)
signal

◆ mapIdChanged

void LocationViewer::mapIdChanged ( int  mapId)
signal

◆ resizeEvent()

void LocationViewer::resizeEvent ( QResizeEvent *  ev)
protected

◆ setAdvancedMode

void LocationViewer::setAdvancedMode ( bool  advancedMode)
slot

◆ setD

void LocationViewer::setD ( int  d)
slot

◆ setFieldItemChecked

void LocationViewer::setFieldItemChecked ( int  row,
bool  checked 
)
slot

◆ setFilterString()

void LocationViewer::setFilterString ( QString  filter = "",
LocationViewer::filterMode  mode = LocationViewer::NAME 
)

◆ setHorizontalHeaderStyle

void LocationViewer::setHorizontalHeaderStyle ( QString  styleSheet)
slot

◆ setLocationId

void LocationViewer::setLocationId ( int  locId)
slot

◆ setLocationString

void LocationViewer::setLocationString ( const QString &  locString)
slot

◆ setMapId

void LocationViewer::setMapId ( int  mapId)
slot

◆ setRegion

void LocationViewer::setRegion ( const QString &  region)
slot

◆ setSelected

void LocationViewer::setSelected ( const QString &  locFilename)
slot

◆ setT

void LocationViewer::setT ( int  t)
slot

◆ setX

void LocationViewer::setX ( int  x)
slot

◆ setY

void LocationViewer::setY ( int  y)
slot

◆ tChanged

void LocationViewer::tChanged ( int  t)
signal

◆ xChanged

void LocationViewer::xChanged ( int  x)
signal

◆ yChanged

void LocationViewer::yChanged ( int  y)
signal

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