ReactOS 0.4.15-dev-8102-g108db8f
qtewin.h
Go to the documentation of this file.
1
2#include <qwidget.h>
3#include <qscrollview.h>
4#include <qdialog.h>
5#include <qlistbox.h>
6#include <qlineedit.h>
7#include <qcombobox.h>
8#include <qlabel.h>
9#include <qcheckbox.h>
10#include <qpopupmenu.h>
11
13{
14 public:
15 QString ServerName;
16 QString UserName;
17 QString ServerIP;
18 int Width;
19 int Height;
21};
22
23class QMyDialog: public QDialog
24{
25 Q_OBJECT
26 public:
27 QMyDialog(QWidget*);
28 ~QMyDialog();
29 public:
30 QListBox* ListBox;
31 QPushButton* OKButton;
32 QPushButton* CancelButton;
33 QLabel* Label1;
34 QLineEdit* ServerNameEdit;
35 QLabel* Label2;
36 QLineEdit* UserNameEdit;
37 QLabel* Label3;
38 QLineEdit* IPEdit;
39 QLineEdit* WidthEdit;
40 QLineEdit* HeightEdit;
41 QComboBox* WidthHeightBox;
42 QPushButton* AddButton;
43 QPushButton* EditButton;
44 QPushButton* SaveButton;
45 QPushButton* RemoveButton;
47 public slots:
48 void ComboChanged(int);
49 void OKClicked();
50 void CancelClicked();
51 void AddClicked();
52 void EditClicked();
53 void SaveClicked();
54 void RemoveClicked();
55 void ListBoxChanged();
56 void ListBoxSelected(int);
57 public:
58 QString ServerName;
59 QString UserName;
60 QString ServerIP;
61 int Width;
62 int Height;
65};
66
67class QMyScrollView: public QScrollView
68{
69 Q_OBJECT
70 public:
73 void keyPressEvent(QKeyEvent*);
74 void keyReleaseEvent(QKeyEvent*);
75 void showEvent(QShowEvent*);
76 void show();
77 void polish();
78 void timerEvent(QTimerEvent*);
79 public:
82};
83
84class QMyMainWindow: public QWidget
85{
86 Q_OBJECT
87 public:
90 void paintEvent(QPaintEvent*);
91 void mouseMoveEvent(QMouseEvent*);
92 void mousePressEvent(QMouseEvent*);
93 void mouseReleaseEvent(QMouseEvent*);
94 void wheelEvent(QWheelEvent*);
95 void closeEvent(QCloseEvent*);
96 void timerEvent(QTimerEvent*);
97 public slots:
98 void dataReceived();
99 void soundSend();
100 void MemuClicked(int);
101 public:
102 QPopupMenu* PopupMenu;
104 int mx;
105 int my;
106};
107
QString ServerIP
Definition: qtewin.h:17
QString UserName
Definition: qtewin.h:16
QString ServerName
Definition: qtewin.h:15
QString UserName
Definition: qtewin.h:59
int Width
Definition: qtewin.h:61
QPushButton * CancelButton
Definition: qtewin.h:32
QPushButton * EditButton
Definition: qtewin.h:43
QString ServerName
Definition: qtewin.h:58
QListBox * ListBox
Definition: qtewin.h:30
int Height
Definition: qtewin.h:62
void EditClicked()
Definition: qtewin.cpp:381
QPushButton * AddButton
Definition: qtewin.h:42
void AddClicked()
Definition: qtewin.cpp:361
void OKClicked()
Definition: qtewin.cpp:343
QLineEdit * HeightEdit
Definition: qtewin.h:40
void ComboChanged(int)
Definition: qtewin.cpp:323
void ListBoxSelected(int)
Definition: qtewin.cpp:513
QPushButton * OKButton
Definition: qtewin.h:31
QCheckBox * FullScreenCheckBox
Definition: qtewin.h:46
QString ServerIP
Definition: qtewin.h:60
QLabel * Label3
Definition: qtewin.h:37
int FullScreen
Definition: qtewin.h:63
QLineEdit * IPEdit
Definition: qtewin.h:38
QPushButton * RemoveButton
Definition: qtewin.h:45
QPushButton * SaveButton
Definition: qtewin.h:44
QLabel * Label1
Definition: qtewin.h:33
void CancelClicked()
Definition: qtewin.cpp:355
~QMyDialog()
Definition: qtewin.cpp:310
QLabel * Label2
Definition: qtewin.h:35
void RemoveClicked()
Definition: qtewin.cpp:465
QMyConnectionItem * ConnectionList[10]
Definition: qtewin.h:64
QLineEdit * ServerNameEdit
Definition: qtewin.h:34
void ListBoxChanged()
Definition: qtewin.cpp:491
QLineEdit * WidthEdit
Definition: qtewin.h:39
QComboBox * WidthHeightBox
Definition: qtewin.h:41
void SaveClicked()
Definition: qtewin.cpp:407
QLineEdit * UserNameEdit
Definition: qtewin.h:36
void timerEvent(QTimerEvent *)
Definition: qtewin.cpp:865
void mouseReleaseEvent(QMouseEvent *)
Definition: qtewin.cpp:977
QPopupMenu * PopupMenu
Definition: qtewin.h:102
void wheelEvent(QWheelEvent *)
Definition: qtewin.cpp:993
void closeEvent(QCloseEvent *)
Definition: qtewin.cpp:1205
void mousePressEvent(QMouseEvent *)
Definition: qtewin.cpp:960
int timer_id
Definition: qtewin.h:103
void mouseMoveEvent(QMouseEvent *)
Definition: qtewin.cpp:939
void soundSend()
Definition: qtewin.cpp:1235
void paintEvent(QPaintEvent *)
Definition: qtewin.cpp:1123
void dataReceived()
Definition: qtewin.cpp:1211
void MemuClicked(int)
Definition: qtewin.cpp:887
void keyPressEvent(QKeyEvent *)
Definition: qtewin.cpp:696
int timer_id
Definition: qtewin.h:80
void polish()
Definition: qtewin.cpp:744
int sound_timer_id
Definition: qtewin.h:81
void show()
Definition: qtewin.cpp:738
void showEvent(QShowEvent *)
Definition: qtewin.cpp:732
void timerEvent(QTimerEvent *)
Definition: qtewin.cpp:750
void keyReleaseEvent(QKeyEvent *)
Definition: qtewin.cpp:714