bsnes/qt/settings/paths.moc.hpp

41 lines
821 B
C++
Executable File

class PathSettingWidget : public QWidget {
Q_OBJECT
public:
QVBoxLayout *layout;
QLabel *label;
QHBoxLayout *controlLayout;
QLineEdit *path;
QPushButton *pathSelect;
QPushButton *pathDefault;
string &pathValue;
string pathDefaultLabel;
string pathBrowseLabel;
void acceptPath(const string&);
void updatePath();
PathSettingWidget(string&, const char*, const char*, const char*);
public slots:
void selectPath();
void defaultPath();
};
class PathSettingsWindow : public QWidget {
Q_OBJECT
public:
QVBoxLayout *layout;
PathSettingWidget *gamePath;
PathSettingWidget *savePath;
PathSettingWidget *statePath;
PathSettingWidget *patchPath;
PathSettingWidget *cheatPath;
PathSettingWidget *dataPath;
PathSettingsWindow();
};
extern PathSettingsWindow *pathSettingsWindow;