1
/**************************************************************************
2
* Copyright (C) 2005-2015 by Oleksandr Shneyder *
3
* o.shneyder@phoca-gmbh.de *
5
* This program is free software; you can redistribute it and/or modify *
6
* it under the terms of the GNU General Public License as published by *
7
* the Free Software Foundation; either version 2 of the License, or *
8
* (at your option) any later version. *
9
* This program is distributed in the hope that it will be useful, *
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12
* GNU General Public License for more details. *
14
* You should have received a copy of the GNU General Public License *
15
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
16
***************************************************************************/
18
#ifndef CONFIGDIALOG_H
19
#define CONFIGDIALOG_H
20
#include "x2goclientconfig.h"
31
class ConnectionWidget;
36
#if defined (Q_OS_WIN) && defined (CFGCLIENT )
37
class XSettingsWidget;
40
@author Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de>
42
class ConfigDialog : public QDialog
46
ConfigDialog ( QWidget * parent,
50
static QString findXDarwin ( QString& version,
52
static QString retMaxXDarwinVersion ( QString v1,
54
static QString getXDarwinDirectory();
55
void printXDarwinVersionWarning ( QString version );
58
static QString getCygwinDir ( const QString& dir );
63
QCheckBox* cbStartEmbed;
65
QLineEdit* ldapServer;
67
QLineEdit* ldapServer1;
70
QLineEdit* ldapServer2;
73
QSpinBox* clientSshPort;
78
QPushButton* defaults;
79
QPushButton* advancedOptions;
84
QLineEdit* leXexecDir;
86
QPushButton* pbOpenExec;
87
QButtonGroup* bgRadio;
88
ConnectionWidget* conWidg;
89
SettingsWidget* setWidg;
90
MediaWidget* mediaWidget;
92
#if defined ( Q_OS_WIN) && defined (CFGCLIENT )
93
XSettingsWidget* xsetWidg;
96
QGroupBox *gbTrayIcon;
97
QCheckBox *cbMinimizeTray;
98
QCheckBox *cbMaxmizeTray;
100
QCheckBox *cbMinToTray;
104
void slot_accepted();
105
void slot_checkOkStat();
108
void slot_selectXDarwin();
109
void slot_findXDarwin();
112
void slotAdvClicked();