File indexing completed on 2024-04-21 05:50:00

0001 //**************************************************************************
0002 //   Copyright 2006 - 2017 Martin Koller, kollix@aon.at
0003 //
0004 //   This program is free software; you can redistribute it and/or modify
0005 //   it under the terms of the GNU General Public License as published by
0006 //   the Free Software Foundation, version 2 of the License
0007 //
0008 //**************************************************************************
0009 
0010 #ifndef _SETTINGS_DIALOG_H_
0011 #define _SETTINGS_DIALOG_H_
0012 
0013 #include <QDialog>
0014 #include <ui_SettingsDialog.h>
0015 
0016 class SettingsDialog : public QDialog
0017 {
0018   Q_OBJECT
0019 
0020   public:
0021     explicit SettingsDialog(QWidget *parent);
0022 
0023     void setMaxMB(int mb);
0024 
0025     Ui::SettingsDialog ui;
0026 
0027   private Q_SLOTS:
0028     void slotSizeSelected(int idx);
0029 };
0030 
0031 #endif