Diffstat (limited to 'noncore/net/opierdesktop/qtwin.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opierdesktop/qtwin.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/noncore/net/opierdesktop/qtwin.h b/noncore/net/opierdesktop/qtwin.h index 38ad190..7a2110b 100644 --- a/noncore/net/opierdesktop/qtwin.h +++ b/noncore/net/opierdesktop/qtwin.h | |||
@@ -19,58 +19,56 @@ class QMyConnectionItem | |||
19 | int Height; | 19 | int Height; |
20 | int FullScreen; | 20 | int FullScreen; |
21 | }; | 21 | }; |
22 | 22 | ||
23 | class QMyDialog: public QDialog | 23 | class QMyDialog: public QDialog |
24 | { | 24 | { |
25 | Q_OBJECT | 25 | Q_OBJECT |
26 | public: | 26 | public: |
27 | QMyDialog(QWidget*); | 27 | QMyDialog(QWidget*); |
28 | ~QMyDialog(); | 28 | ~QMyDialog(); |
29 | public: | 29 | public: |
30 | QListBox* ListBox; | 30 | QListBox* ListBox; |
31 | QPushButton* OKButton; | ||
32 | QPushButton* CancelButton; | ||
33 | QLabel* Label1; | 31 | QLabel* Label1; |
34 | QLineEdit* ServerNameEdit; | 32 | QLineEdit* ServerNameEdit; |
35 | QLabel* Label2; | 33 | QLabel* Label2; |
36 | QLineEdit* UserNameEdit; | 34 | QLineEdit* UserNameEdit; |
37 | QLabel* Label3; | 35 | QLabel* Label3; |
38 | QLineEdit* IPEdit; | 36 | QLineEdit* IPEdit; |
39 | QLineEdit* WidthEdit; | 37 | QLineEdit* WidthEdit; |
40 | QLineEdit* HeightEdit; | 38 | QLineEdit* HeightEdit; |
41 | QComboBox* WidthHeightBox; | 39 | QComboBox* WidthHeightBox; |
42 | QPushButton* AddButton; | 40 | QPushButton* AddButton; |
43 | QPushButton* EditButton; | 41 | QPushButton* EditButton; |
44 | QPushButton* SaveButton; | 42 | QPushButton* SaveButton; |
45 | QPushButton* RemoveButton; | 43 | QPushButton* RemoveButton; |
46 | QCheckBox* FullScreenCheckBox; | 44 | QCheckBox* FullScreenCheckBox; |
47 | public slots: | 45 | public slots: |
48 | void ComboChanged(int); | 46 | void ComboChanged(int); |
49 | void OKClicked(); | ||
50 | void CancelClicked(); | ||
51 | void AddClicked(); | 47 | void AddClicked(); |
52 | void EditClicked(); | 48 | void EditClicked(); |
53 | void SaveClicked(); | 49 | void SaveClicked(); |
54 | void RemoveClicked(); | 50 | void RemoveClicked(); |
55 | void ListBoxChanged(); | 51 | void ListBoxChanged(); |
56 | void ListBoxSelected(int); | 52 | void ListBoxSelected(int); |
57 | public: | 53 | public: |
58 | QString ServerName; | 54 | QString ServerName; |
59 | QString UserName; | 55 | QString UserName; |
60 | QString ServerIP; | 56 | QString ServerIP; |
61 | int Width; | 57 | int Width; |
62 | int Height; | 58 | int Height; |
63 | int FullScreen; | 59 | int FullScreen; |
64 | QMyConnectionItem* ConnectionList[10]; | 60 | QMyConnectionItem* ConnectionList[10]; |
61 | protected slots: | ||
62 | void accept(); | ||
65 | }; | 63 | }; |
66 | 64 | ||
67 | class QMyScrollView: public QScrollView | 65 | class QMyScrollView: public QScrollView |
68 | { | 66 | { |
69 | Q_OBJECT | 67 | Q_OBJECT |
70 | public: | 68 | public: |
71 | QMyScrollView(); | 69 | QMyScrollView(); |
72 | ~QMyScrollView(); | 70 | ~QMyScrollView(); |
73 | void keyPressEvent(QKeyEvent*); | 71 | void keyPressEvent(QKeyEvent*); |
74 | void keyReleaseEvent(QKeyEvent*); | 72 | void keyReleaseEvent(QKeyEvent*); |
75 | void showEvent(QShowEvent*); | 73 | void showEvent(QShowEvent*); |
76 | void show(); | 74 | void show(); |