]> git.zarvox.org Git - shareboard.git/blob - connectwidget.h
Implement image insertion and placement, tool selection, and eraser.
[shareboard.git] / connectwidget.h
1 #ifndef __CONNECTWIDGET_H__
2 #define __CONNECTWIDGET_H__
3
4 #include <QWidget>
5
6 class QGridLayout;
7 class QLabel;
8 class QLineEdit;
9 class QPushButton;
10 class QVBoxLayout;
11
12 class ConnectWidget : public QWidget {
13         Q_OBJECT
14         public:
15                 ConnectWidget(QWidget* parent=0);
16                 ~ConnectWidget();
17                 QString user();
18                 QString host();
19         public slots:
20                 void connect();
21         signals:
22                 void connectToServer(QString username, QString host);
23         private:
24                 QVBoxLayout* layout;
25                 QGridLayout* grid;
26                 QLineEdit* userEdit;
27                 QLineEdit* hostEdit;
28                 QLabel* userLabel;
29                 QLabel* hostLabel;
30                 QPushButton* goButton;
31 };
32
33 #endif // __CONNECTWIDGET_H__