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

A Single widget to allow you to set all the options for the game will save emit a signal when any option changes. More...

#include <OptionsWidget.h>

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

Public Slots

void setSliderStyle (const QString &styleSheet)
 set style for the sliders on this widget More...
 
void setScrollAreaStyleSheet (const QString &styleSheet)
 set style for the center widget More...
 
void setDialogColors (QColor ul, QColor ur, QColor ll, QColor lr)
 set colors for dialog/menu background preview More...
 
void setAtbMode (int mode)
 Set Atb Mode. More...
 
void setSoundMode (int mode)
 Set Sound Mode. More...
 
void setMagicOrder (int order)
 Set Magic Order. More...
 
void setCursor (int mode)
 Set Cursor Mode. More...
 
void setCamera (int mode)
 Set Camera Mode. More...
 
void setControllerMode (int mode)
 Set Controller Mode. More...
 
void setBattleTargets (bool shown)
 Set Battle Targets Visible. More...
 
void setBattleHelp (bool shown)
 Set Battle Help Visible. More...
 
void setFieldHelp (bool shown)
 Set Field Help Visible. More...
 
void setBattleSpeed (int speed)
 Set Battle Speed. More...
 
void setBattleMessageSpeed (int speed)
 Set Battle Message Speed. More...
 
void setFieldMessageSpeed (int speed)
 Set Field Message Speed. More...
 
void setControllerMappingVisible (bool visible)
 Set if the controller mapping area is visible. More...
 

Signals

void dialogColorULChanged (QColor color)
 Emit Signal: Upper Left Color Has Changed. More...
 
void dialogColorURChanged (QColor color)
 Emit Signal: Upper Right Color Has Changed. More...
 
void dialogColorLLChanged (QColor color)
 Emit Signal: Lower Left Color Has Changed. More...
 
void dialogColorLRChanged (QColor color)
 Emit Signal: Lower Right Color Has Changed. More...
 
void atbChanged (int mode)
 Emit Signal: ATB Mode Changed. More...
 
void soundChanged (int mode)
 Emit Signal: Sound Mode Changed. More...
 
void magicOrderChanged (int order)
 Emit Signal: Magic Order Changed. More...
 
void cursorChanged (int mode)
 Emit Signal: Cursor Mode Changed. More...
 
void cameraChanged (int mode)
 Emit Signal: Camera Mode Changed. More...
 
void controllerModeChanged (int mode)
 Emit Signal: Controller Mode Changed. More...
 
void battleTargetsChanged (bool shown)
 Emit Signal: Battle Target Mode Changed. More...
 
void battleHelpChanged (bool shown)
 Emit Signal: Battle Help Mode Changed. More...
 
void fieldHelpChanged (bool shown)
 Emit Signal: Field Help Mode Changed. More...
 
void battleSpeedChanged (int speed)
 Emit Signal: Battle Speed Changed. More...
 
void battleMessageSpeedChanged (int speed)
 Emit Signal: Battle Message Speed Changed. More...
 
void fieldMessageSpeedChanged (int speed)
 Emit Signal: Field Message Speed Changed. More...
 
void inputChanged (int controlAction, int newButton)
 Emit Signal: Mapping for FF7Save::CONTROLACTION has Changed to new FF7Save::PSXBUTTON. More...
 

Public Member Functions

 OptionsWidget (QWidget *parent=nullptr)
 
void setInput (int controlAction, int newButton)
 change action to a PSXBUTTON More...
 

Protected Member Functions

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

Detailed Description

A Single widget to allow you to set all the options for the game will save emit a signal when any option changes.

Constructor & Destructor Documentation

◆ OptionsWidget()

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

Member Function Documentation

◆ atbChanged

void OptionsWidget::atbChanged ( int  mode)
signal

Emit Signal: ATB Mode Changed.

◆ battleHelpChanged

void OptionsWidget::battleHelpChanged ( bool  shown)
signal

Emit Signal: Battle Help Mode Changed.

◆ battleMessageSpeedChanged

void OptionsWidget::battleMessageSpeedChanged ( int  speed)
signal

Emit Signal: Battle Message Speed Changed.

◆ battleSpeedChanged

void OptionsWidget::battleSpeedChanged ( int  speed)
signal

Emit Signal: Battle Speed Changed.

◆ battleTargetsChanged

void OptionsWidget::battleTargetsChanged ( bool  shown)
signal

Emit Signal: Battle Target Mode Changed.

◆ cameraChanged

void OptionsWidget::cameraChanged ( int  mode)
signal

Emit Signal: Camera Mode Changed.

◆ changeEvent()

void OptionsWidget::changeEvent ( QEvent *  e)
protected

◆ controllerModeChanged

void OptionsWidget::controllerModeChanged ( int  mode)
signal

Emit Signal: Controller Mode Changed.

◆ cursorChanged

void OptionsWidget::cursorChanged ( int  mode)
signal

Emit Signal: Cursor Mode Changed.

◆ dialogColorLLChanged

void OptionsWidget::dialogColorLLChanged ( QColor  color)
signal

Emit Signal: Lower Left Color Has Changed.

◆ dialogColorLRChanged

void OptionsWidget::dialogColorLRChanged ( QColor  color)
signal

Emit Signal: Lower Right Color Has Changed.

◆ dialogColorULChanged

void OptionsWidget::dialogColorULChanged ( QColor  color)
signal

Emit Signal: Upper Left Color Has Changed.

◆ dialogColorURChanged

void OptionsWidget::dialogColorURChanged ( QColor  color)
signal

Emit Signal: Upper Right Color Has Changed.

◆ fieldHelpChanged

void OptionsWidget::fieldHelpChanged ( bool  shown)
signal

Emit Signal: Field Help Mode Changed.

◆ fieldMessageSpeedChanged

void OptionsWidget::fieldMessageSpeedChanged ( int  speed)
signal

Emit Signal: Field Message Speed Changed.

◆ inputChanged

void OptionsWidget::inputChanged ( int  controlAction,
int  newButton 
)
signal

Emit Signal: Mapping for FF7Save::CONTROLACTION has Changed to new FF7Save::PSXBUTTON.

◆ magicOrderChanged

void OptionsWidget::magicOrderChanged ( int  order)
signal

Emit Signal: Magic Order Changed.

◆ resizeEvent()

void OptionsWidget::resizeEvent ( QResizeEvent *  event)
protected

◆ setAtbMode

void OptionsWidget::setAtbMode ( int  mode)
slot

Set Atb Mode.

Parameters
modemust be valid FF7Save::ATBMODE

◆ setBattleHelp

void OptionsWidget::setBattleHelp ( bool  shown)
slot

Set Battle Help Visible.

Parameters
shownis Help shown durring battle

◆ setBattleMessageSpeed

void OptionsWidget::setBattleMessageSpeed ( int  speed)
slot

Set Battle Message Speed.

Parameters
speedspeed for Battle Messages

◆ setBattleSpeed

void OptionsWidget::setBattleSpeed ( int  speed)
slot

Set Battle Speed.

Parameters
speedspeed for Battles

◆ setBattleTargets

void OptionsWidget::setBattleTargets ( bool  shown)
slot

Set Battle Targets Visible.

Parameters
shownare Target labels shown durring battle

◆ setCamera

void OptionsWidget::setCamera ( int  mode)
slot

Set Camera Mode.

Parameters
modemust be valid FF7Save::CAMERAMODE

◆ setControllerMappingVisible

void OptionsWidget::setControllerMappingVisible ( bool  visible)
slot

Set if the controller mapping area is visible.

Parameters
visiblemapping shown

◆ setControllerMode

void OptionsWidget::setControllerMode ( int  mode)
slot

Set Controller Mode.

Parameters
modemust be valid FF7Save::CONTROLMODE

◆ setCursor

void OptionsWidget::setCursor ( int  mode)
slot

Set Cursor Mode.

Parameters
modemust be valid FF7Save::CURSORMODE

◆ setDialogColors

void OptionsWidget::setDialogColors ( QColor  ul,
QColor  ur,
QColor  ll,
QColor  lr 
)
slot

set colors for dialog/menu background preview

Parameters
ulUpper Left Color
urUpper Right Color
llLower Left Color
lrLower Right Color

◆ setFieldHelp

void OptionsWidget::setFieldHelp ( bool  shown)
slot

Set Field Help Visible.

Parameters
shownis Field shown durring battle

◆ setFieldMessageSpeed

void OptionsWidget::setFieldMessageSpeed ( int  speed)
slot

Set Field Message Speed.

Parameters
speedspeed for Field Messages

◆ setInput()

void OptionsWidget::setInput ( int  controlAction,
int  newButton 
)

change action to a PSXBUTTON

Parameters
controlActionAction to change See::FF7Save::CONTROLACTION
newButtonButton must be valid FF7Save::PSXBUTTON

◆ setMagicOrder

void OptionsWidget::setMagicOrder ( int  order)
slot

Set Magic Order.

Parameters
ordermust be valid FF7Save::MAGICORDER

◆ setScrollAreaStyleSheet

void OptionsWidget::setScrollAreaStyleSheet ( const QString &  styleSheet)
slot

set style for the center widget

Parameters
styleSheetvalid styleSheet for QWidget

◆ setSliderStyle

void OptionsWidget::setSliderStyle ( const QString &  styleSheet)
slot

set style for the sliders on this widget

Parameters
styleSheetvalid styleSheet for QSlider

◆ setSoundMode

void OptionsWidget::setSoundMode ( int  mode)
slot

Set Sound Mode.

Parameters
modemust be valid FF7Save::SOUNDMODE

◆ soundChanged

void OptionsWidget::soundChanged ( int  mode)
signal

Emit Signal: Sound Mode Changed.


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