20#ifndef ff7tkwidgets_export_h
21 #include <ff7tkwidgets_export.h>
41 void resizeEvent(QResizeEvent *);
42 void changeEvent(QEvent *e);
45 void setInput(
int controlAction,
int newButton);
47 void setSliderStyle(
const QString &styleSheet);
48 void setScrollAreaStyleSheet(
const QString &styleSheet);
49 void setDialogColors(QColor ul, QColor ur, QColor ll, QColor lr);
50 void setAtbMode(
int mode);
51 void setSoundMode(
int mode);
52 void setMagicOrder(
int order);
53 void setCursor(
int mode);
54 void setCamera(
int mode);
55 void setControllerMode(
int mode);
56 void setBattleTargets(
bool shown);
57 void setBattleHelp(
bool shown);
58 void setFieldHelp(
bool shown);
59 void setBattleSpeed(
int speed);
60 void setBattleMessageSpeed(
int speed);
61 void setFieldMessageSpeed(
int speed);
62 void setControllerMappingVisible(
bool visible);
84 QGridLayout *makeControllerLayout();
86 QGroupBox *dialogBox =
nullptr;
87 QWidget *centerWidget =
nullptr;
88 QComboBox *comboAtb =
nullptr;
89 QComboBox *comboSound =
nullptr;
90 QComboBox *comboMagicOrder =
nullptr;
91 QComboBox *comboCursor =
nullptr;
92 QComboBox *comboCamera =
nullptr;
93 QComboBox *comboControllerMode =
nullptr;
94 QCheckBox *cbBattleTargets =
nullptr;
95 QCheckBox *cbBattleHelp =
nullptr;
96 QCheckBox *cbFieldHelp =
nullptr;
97 QSlider *slideBattleSpeed =
nullptr;
98 QSlider *slideBattleMessageSpeed =
nullptr;
99 QSlider *slideFieldMessageSpeed =
nullptr;
100 QGroupBox *controllerMappingBox =
nullptr;
101 QLabel *labelAtb =
nullptr;
102 QLabel *labelSound =
nullptr;
103 QLabel *labelMagic =
nullptr;
104 QLabel *labelCursor =
nullptr;
105 QLabel *labelCamera =
nullptr;
106 QLabel *labelControllerMode =
nullptr;
107 QLabel *lblBattleSpeedMax =
nullptr;
108 QLabel *lblBattleSpeedMin =
nullptr;
109 QLabel *lblBattleMessageSpeedMax =
nullptr;
110 QLabel *lblBattleMessageSpeedMin =
nullptr;
111 QLabel *lblFieldMessageSpeedMax =
nullptr;
112 QLabel *lblFieldMessageSpeedMin =
nullptr;
113 QLabel *lblBattleSpeed =
nullptr;
114 QLabel *lblBattleMessageSpeed =
nullptr;
115 QLabel *lblFieldMessageSpeed =
nullptr;
116 QList<QLabel *> lblInputs;
118 inline static const QStringList _inputNames {
120 , QT_TR_NOOP(
"Right")
125 , QT_TR_NOOP(
"Cancel")
126 , QT_TR_NOOP(
"Switch")
127 , QT_TR_NOOP(
"Camera")
128 , QT_TR_NOOP(
"Target")
132 , QT_TR_NOOP(
"Pause")
137 inline static const QStringList _actionNames {
139 , QT_TR_NOOP(
"Target")
144 , QT_TR_NOOP(
"Cancel")
145 , QT_TR_NOOP(
"Switch")
149 , QT_TR_NOOP(
"Pause")
151 , QT_TR_NOOP(
"Right")
156 inline static const QStringList _atbList {
158 , QT_TR_NOOP(
"Recommended")
162 inline static const QStringList _soundList {
164 , QT_TR_NOOP(
"Stereo")
167 inline static const QStringList _magicOrderList {
168 QT_TR_NOOP(
"Restore,Attack,Indirect")
169 , QT_TR_NOOP(
"Restore,Indirect,Attack")
170 , QT_TR_NOOP(
"Attack,Indirect,Restore")
171 , QT_TR_NOOP(
"Attack,Restore,Indirect")
172 , QT_TR_NOOP(
"Indirect,Restore,Attack")
173 , QT_TR_NOOP(
"Indirect,Attack,Restore")
176 inline static const QStringList _cursorList {
177 QT_TR_NOOP(
"Initial")
178 , QT_TR_NOOP(
"Memory")
181 inline static const QStringList _cameraList {
183 , QT_TR_NOOP(
"Fixed")
187 inline static const QStringList _controllerModeList {
189 , QT_TR_NOOP(
"Custom")
192 const QString _fast = QT_TR_NOOP(
"Fast");
193 const QString _slow = QT_TR_NOOP(
"Slow");
Definition: DialogPreview.h:27