1 //************************************************************************** 2 // Copyright 2006 - 2017 Martin Koller, kollix@aon.at 3 // 4 // This program is free software; you can redistribute it and/or modify 5 // it under the terms of the GNU General Public License as published by 6 // the Free Software Foundation, version 2 of the License 7 // 8 //************************************************************************** 9 10 #ifndef _SETTINGS_DIALOG_H_ 11 #define _SETTINGS_DIALOG_H_ 12 13 #include <QDialog> 14 #include <ui_SettingsDialog.h> 15 16 class SettingsDialog : public QDialog 17 { 18 Q_OBJECT 19 20 public: 21 explicit SettingsDialog(QWidget *parent); 22 23 void setMaxMB(int mb); 24 25 Ui::SettingsDialog ui; 26 27 private Q_SLOTS: 28 void sizeSelected(int idx); 29 }; 30 31 #endif 32