forked from iwxyi/EasyMeeting_Desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathleasewindow.h
43 lines (35 loc) · 811 Bytes
/
leasewindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef LEASEWINDOW_H
#define LEASEWINDOW_H
#include <QObject>
#include <QWidget>
#include <QDialog>
#include <QString>
#include <QStringList>
#include <QMessageBox>
#include <QListView>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QPushButton>
#include <QStringListModel>
#include <QList>
#include "stringutil.h"
#include "globals.h"
#include "connectutil.h"
class LeaseWindow : public QDialog
{
Q_OBJECT
public:
explicit LeaseWindow(QWidget *parent = nullptr);
void initView();
void chooseLease();
signals:
void signalChooseLeaseFinished(QString result);
private slots:
void slotConnectLeasesFinished(QString result);
void slotChooseBtnClicked();
private:
QStringList leases;
QListView* list_view;
QPushButton* choose_btn;
};
#endif // LEASEWINDOW_H