mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-27 06:28:26 +08:00
29 lines
458 B
C
29 lines
458 B
C
|
// Copyright (C) 2016 The Qt Company Ltd.
|
||
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
||
|
|
||
|
#ifndef DIALOG_H
|
||
|
#define DIALOG_H
|
||
|
|
||
|
#include <QWidget>
|
||
|
#include "fortuneserver.h"
|
||
|
|
||
|
QT_BEGIN_NAMESPACE
|
||
|
class QLabel;
|
||
|
class QPushButton;
|
||
|
QT_END_NAMESPACE
|
||
|
|
||
|
class Dialog : public QWidget
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
Dialog(QWidget *parent = nullptr);
|
||
|
|
||
|
private:
|
||
|
QLabel *statusLabel;
|
||
|
QPushButton *quitButton;
|
||
|
FortuneServer server;
|
||
|
};
|
||
|
|
||
|
#endif
|