o cleanup
This commit is contained in:
49
tools/bsnes/ui_qt/settings/paths.hpp
Executable file
49
tools/bsnes/ui_qt/settings/paths.hpp
Executable file
@@ -0,0 +1,49 @@
|
||||
class PathSettingsWindow : public QObject {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
QWidget *panel;
|
||||
QVBoxLayout *layout;
|
||||
QLabel *title;
|
||||
QLabel *gameLabel;
|
||||
QHBoxLayout *games;
|
||||
QLineEdit *gamePath;
|
||||
QPushButton *gameSelect;
|
||||
QPushButton *gameDefault;
|
||||
QLabel *saveLabel;
|
||||
QHBoxLayout *saves;
|
||||
QLineEdit *savePath;
|
||||
QPushButton *saveSelect;
|
||||
QPushButton *saveDefault;
|
||||
QLabel *patchLabel;
|
||||
QHBoxLayout *patches;
|
||||
QLineEdit *patchPath;
|
||||
QPushButton *patchSelect;
|
||||
QPushButton *patchDefault;
|
||||
QLabel *cheatLabel;
|
||||
QHBoxLayout *cheats;
|
||||
QLineEdit *cheatPath;
|
||||
QPushButton *cheatSelect;
|
||||
QPushButton *cheatDefault;
|
||||
QLabel *dataLabel;
|
||||
QHBoxLayout *data;
|
||||
QLineEdit *dataPath;
|
||||
QPushButton *dataSelect;
|
||||
QPushButton *dataDefault;
|
||||
QWidget *spacer;
|
||||
|
||||
void setup();
|
||||
void syncUi();
|
||||
|
||||
public slots:
|
||||
void selectGamePath();
|
||||
void defaultGamePath();
|
||||
void selectSavePath();
|
||||
void defaultSavePath();
|
||||
void selectPatchPath();
|
||||
void defaultPatchPath();
|
||||
void selectCheatPath();
|
||||
void defaultCheatPath();
|
||||
void selectDataPath();
|
||||
void defaultDataPath();
|
||||
} *winPathSettings;
|
||||
Reference in New Issue
Block a user