7 #include <ff7tkwidgets_export.h>
26 void resizeEvent(QResizeEvent *);
27 void changeEvent(QEvent *e);
30 void setInput(
int controlAction,
int newButton);
32 void setSliderStyle(
const QString &styleSheet);
33 void setScrollAreaStyleSheet(
const QString &styleSheet);
34 void setDialogColors(QColor ul, QColor ur, QColor ll, QColor lr);
35 void setAtbMode(
int mode);
36 void setSoundMode(
int mode);
37 void setMagicOrder(
int order);
38 void setCursor(
int mode);
39 void setCamera(
int mode);
40 void setControllerMode(
int mode);
41 void setBattleTargets(
bool shown);
42 void setBattleHelp(
bool shown);
43 void setFieldHelp(
bool shown);
44 void setBattleSpeed(
int speed);
45 void setBattleMessageSpeed(
int speed);
46 void setFieldMessageSpeed(
int speed);
47 void setControllerMappingVisible(
bool visible);
49 void dialogColorULChanged(QColor color);
50 void dialogColorURChanged(QColor color);
51 void dialogColorLLChanged(QColor color);
52 void dialogColorLRChanged(QColor color);
53 void atbChanged(
int mode);
54 void soundChanged(
int mode);
55 void magicOrderChanged(
int order);
56 void cursorChanged(
int mode);
57 void cameraChanged(
int mode);
58 void controllerModeChanged(
int mode);
59 void battleTargetsChanged(
bool shown);
60 void battleHelpChanged(
bool shown);
61 void fieldHelpChanged(
bool shown);
62 void battleSpeedChanged(
int speed);
63 void battleMessageSpeedChanged(
int speed);
64 void fieldMessageSpeedChanged(
int speed);
65 void inputChanged(
int controlAction,
int newButton);
70 QGridLayout *makeControllerLayout();
72 QGroupBox *dialogBox =
nullptr;
73 QWidget *centerWidget =
nullptr;
74 QComboBox *comboAtb =
nullptr;
75 QComboBox *comboSound =
nullptr;
76 QComboBox *comboMagicOrder =
nullptr;
77 QComboBox *comboCursor =
nullptr;
78 QComboBox *comboCamera =
nullptr;
79 QComboBox *comboControllerMode =
nullptr;
80 QCheckBox *cbBattleTargets =
nullptr;
81 QCheckBox *cbBattleHelp =
nullptr;
82 QCheckBox *cbFieldHelp =
nullptr;
83 QSlider *slideBattleSpeed =
nullptr;
84 QSlider *slideBattleMessageSpeed =
nullptr;
85 QSlider *slideFieldMessageSpeed =
nullptr;
86 QGroupBox *controllerMappingBox =
nullptr;
87 QLabel *labelAtb =
nullptr;
88 QLabel *labelSound =
nullptr;
89 QLabel *labelMagic =
nullptr;
90 QLabel *labelCursor =
nullptr;
91 QLabel *labelCamera =
nullptr;
92 QLabel *labelControllerMode =
nullptr;
93 QLabel *lblBattleSpeedMax =
nullptr;
94 QLabel *lblBattleSpeedMin =
nullptr;
95 QLabel *lblBattleMessageSpeedMax =
nullptr;
96 QLabel *lblBattleMessageSpeedMin =
nullptr;
97 QLabel *lblFieldMessageSpeedMax =
nullptr;
98 QLabel *lblFieldMessageSpeedMin =
nullptr;
99 QLabel *lblBattleSpeed =
nullptr;
100 QLabel *lblBattleMessageSpeed =
nullptr;
101 QLabel *lblFieldMessageSpeed =
nullptr;
102 QList<QLabel *> lblInputs;
104 inline static const QStringList _inputNames {
106 , QT_TR_NOOP(
"Right")
111 , QT_TR_NOOP(
"Cancel")
112 , QT_TR_NOOP(
"Switch")
113 , QT_TR_NOOP(
"Camera")
114 , QT_TR_NOOP(
"Target")
118 , QT_TR_NOOP(
"Pause")
123 inline static const QStringList _actionNames {
125 , QT_TR_NOOP(
"Target")
130 , QT_TR_NOOP(
"Cancel")
131 , QT_TR_NOOP(
"Switch")
135 , QT_TR_NOOP(
"Pause")
137 , QT_TR_NOOP(
"Right")
142 inline static const QStringList _atbList {
144 , QT_TR_NOOP(
"Recommended")
148 inline static const QStringList _soundList {
150 , QT_TR_NOOP(
"Stereo")
153 inline static const QStringList _magicOrderList {
154 QT_TR_NOOP(
"Restore,Attack,Indirect")
155 , QT_TR_NOOP(
"Restore,Indirect,Attack")
156 , QT_TR_NOOP(
"Attack,Indirect,Restore")
157 , QT_TR_NOOP(
"Attack,Restore,Indirect")
158 , QT_TR_NOOP(
"Indirect,Restore,Attack")
159 , QT_TR_NOOP(
"Indirect,Attack,Restore")
162 inline static const QStringList _cursorList {
163 QT_TR_NOOP(
"Initial")
164 , QT_TR_NOOP(
"Memory")
167 inline static const QStringList _cameraList {
169 , QT_TR_NOOP(
"Fixed")
173 inline static const QStringList _controllerModeList {
175 , QT_TR_NOOP(
"Custom")
178 const QString _fast = QT_TR_NOOP(
"Fast");
179 const QString _slow = QT_TR_NOOP(
"Slow");