DSRemote/settings_dialog.h

103 wiersze
2.1 KiB
C
Czysty Zwykły widok Historia

2015-06-02 07:55:53 +00:00
/*
***************************************************************************
*
* Author: Teunis van Beelen
*
2023-02-08 20:22:28 +00:00
* Copyright (C) 2015 - 2023 Teunis van Beelen
2015-06-02 07:55:53 +00:00
*
2019-05-28 06:36:25 +00:00
* Email: teuniz@protonmail.com
2015-06-02 07:55:53 +00:00
*
***************************************************************************
*
* 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/>.
*
***************************************************************************
*/
2016-12-28 10:48:47 +00:00
#ifndef SETTINGS_DIALOG_H
#define SETTINGS_DIALOG_H
2015-06-02 07:55:53 +00:00
2023-02-08 20:22:28 +00:00
#include "qt_headers.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
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,
*lanIPRadioButton;
2015-06-27 09:04:41 +00:00
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,
*invScrShtLabel,
*showfpsLabel,
*extendvertdivLabel,
*hostnameLabel;
QCheckBox *invScrShtCheckbox,
*showfpsCheckbox,
*extendvertdivCheckbox;
2015-06-27 20:32:22 +00:00
QLineEdit *HostLineEdit;
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);
void invScrShtCheckboxChanged(int);
void showfpsCheckboxChanged(int);
void extendvertdivCheckboxChanged(int);
void hostnamechanged(QString);
2015-06-02 07:55:53 +00:00
};
#endif