editconnectiondialog.h

00001 //
00002 // C++ Interface: editconnectiondialog
00003 //
00004 // Description:
00005 //
00006 //
00007 // Author: Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de>, (C) 2006
00008 //
00009 // Copyright: See COPYING file that comes with this distribution
00010 //
00011 //
00012 
00013 #ifndef EDITCONNECTIONDIALOG_H
00014 #define EDITCONNECTIONDIALOG_H
00015 
00016 #include <QStringList>
00017 #include <QDialog>
00018 
00019 class QLineEdit;
00020 class QPushButton;
00021 class QCheckBox;
00022 class QSpinBox;
00023 class QComboBox;
00024 class QRadioButton;
00025 class QSlider;
00026 class QLabel;
00027 class QTabWidget;
00028 class ONMainWindow;
00029 
00033 class EditConnectionDialog : public QDialog
00034 {
00035     Q_OBJECT
00036 public:
00037     EditConnectionDialog(QString id, QWidget * par, Qt::WFlags f = 0);
00038     ~EditConnectionDialog();
00039 private:
00040     QLineEdit* sessName;
00041     QLineEdit* uname;
00042     QLineEdit* server;
00043     QLineEdit* key;
00044     QSpinBox* width;
00045     QSpinBox* height;
00046     QLineEdit* cmd;
00047     QRadioButton* fs;
00048     QCheckBox* kbd;
00049     QLineEdit* layout;
00050     QLineEdit* type;
00051     QRadioButton* custom;
00052     QCheckBox* sound;
00053     QString sessIcon;
00054     QPushButton* icon;
00055     QComboBox* packMethode;
00056     QComboBox* sessBox;
00057     QSpinBox* quali;
00058     QLabel* qualiLabel;
00059     QSlider *spd;
00060     QString sessionId;    
00061     QLabel* widthLabel;
00062     QLabel* heightLabel;
00063     QLabel* layoutLabel;
00064     QLabel* typeLabel;
00065     QStringList qualiList;
00066     QTabWidget *fr;
00067     ONMainWindow* parent;
00068     
00069 private:
00070     void readConfig();
00071     void loadPackMethods();
00072 private slots:
00073     void slot_changeCaption(const QString& newName);
00074     void slot_changePack(const QString& pc);
00075     void slot_getIcon();
00076     void slot_getKey();
00077     void slot_accepted();
00078     void slot_default();
00079     void slot_changeCmd(int var);
00080 };
00081 
00082 #endif

Generated on Tue Dec 5 09:15:56 2006 for x2goclient.kdevelop by  doxygen 1.4.7