DSRemote/settings_dialog.h

93 wiersze
1.8 KiB
C
Czysty Zwykły widok Historia

2015-06-02 07:55:53 +00:00
/*
***************************************************************************
*
* Author: Teunis van Beelen
*
* Copyright (C) 2015 Teunis van Beelen
*
* Email: teuniz@gmail.com
*
***************************************************************************
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
***************************************************************************
*/
#ifndef SELECT_DEVICE_FORM1_H
#define SELECT_DEVICE_FORM1_H
#include <QApplication>
#include <QObject>
#include <QDialog>
#include <QLabel>
#include <QPushButton>
#include <QComboBox>
#include <QSettings>
2015-06-27 09:04:41 +00:00
#include <QRadioButton>
2015-06-27 20:32:22 +00:00
#include <QSpinBox>
2015-06-02 07:55:53 +00:00
#include "mainwindow.h"
#include "global.h"
class UI_Mainwindow;
2015-06-27 09:04:41 +00:00
class UI_settings_window : public QDialog
2015-06-02 07:55:53 +00:00
{
Q_OBJECT
public:
2015-06-27 09:04:41 +00:00
UI_settings_window(QWidget *parent=0);
2015-06-02 07:55:53 +00:00
private:
QPushButton *cancelButton,
*applyButton;
2015-06-27 09:04:41 +00:00
QRadioButton *usbRadioButton,
*lanRadioButton;
2015-06-02 07:55:53 +00:00
QComboBox *comboBox1;
QSpinBox *refreshSpinbox,
*ipSpinbox1,
*ipSpinbox2,
*ipSpinbox3,
*ipSpinbox4;
2015-06-27 20:32:22 +00:00
QLabel *refreshLabel;
2015-06-02 07:55:53 +00:00
UI_Mainwindow *mainwindow;
private slots:
void applyButtonClicked();
2015-06-27 20:32:22 +00:00
void refreshSpinboxChanged(int);
2015-06-02 07:55:53 +00:00
};
#endif