forked from houyawei-NO1/DtkSmartisanosLogo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsmartisanoslogo.h
54 lines (47 loc) · 1.18 KB
/
smartisanoslogo.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
44
45
46
47
48
49
50
51
52
53
54
#include <QWidget>
#include <DMainWindow>
#include <DGuiApplicationHelper>
#include <DLabel>
#include <DPushButton>
#include <DTextEdit>
#include <DGroupBox>
#include <DComboBox>
#include <DCheckBox>
#include <QDebug>
#include <QMenu>
#include <QAction>
#include <QMessageBox>
#include <DDialog>
#include <QNetworkReply>
#include <QDateTime>
#include <QJsonObject>
#include <QJsonDocument>
#include <QFile>
#include <QDir>
#include <QFileDialog>
#include <QDateTime>
#include <QJsonArray>
#include <QTimer>
DWIDGET_USE_NAMESPACE
#ifndef DTKSERIALPORT_H
#define DTKSERIALPORT_H
class SmartisanOsLogo : public DMainWindow
{
Q_OBJECT
public:
SmartisanOsLogo(DMainWindow *parent = nullptr);
QPixmap setpnglabel(const QString &szUrl);
bool downIURL_to_picture(const QString &url, const QString &fileName);
~SmartisanOsLogo();
DLabel *logoPng = new DLabel;
DPushButton *filelocation = new DPushButton();
QString PathName,current_File;
QDateTime current_File_time;
QString PKG_NAME;
private:
QWidget *w=new QWidget;
void setTheme(DGuiApplicationHelper::ColorType);
private slots:
void finishedSlot(QNetworkReply* reply);
};
#endif // SMARTISANOSLOGO_H