forked from ycsoft/QtDeskTop
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.cpp
72 lines (63 loc) · 1.85 KB
/
main.cpp
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#include "maindialog.h"
#include "loginwindow.h"
#include "skin/deskicon.h"
#include "qproperty.h"
#include "panel.h"
#include "qaddapplication.h"
#include "qtips.h"
#include "sysMsg/qmessagewidgets.h"
#include "sysMsg/qsysmessagepanel.h"
#include "test/qtest.h"
#include "utils/defines.h"
#include "utils/qapputils.h"
#include "winFactory/qwinfactory.h"
#include "uiframe/qhtmldock.h"
#include "uiframe/qpurecolorbutton.h"
#include "todo/qtodomanager.h"
#include "todo/qtodocontent.h"
#include "data/qtododata.h"
#include "data/qluaconf.h"
#include "jsCore/qjscore.h"
#include "ipc/qipcmemory.h"
#include "uiframe/qhtmltips.h"
#include "jsCore/qtipswidget.h"
#include "app/qaccountmgr.h"
#include "sysMsg/qhtmlviewsysmsgpanel.h"
#include "softCenter/qaddbsapp.h"
#include <QDebug>
#include <QApplication>
#include <QTextCodec>
#include <QDebug>
#include <QProcess>
#include <QDir>
#include <QPropertyAnimation>
#include <Windows.h>
#include <ShellAPI.h>
#include <time.h>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QCoreApplication::setOrganizationName("HF-Soft");
QCoreApplication::setOrganizationDomain("hf.com");
QCoreApplication::setApplicationName("desk");
// QDir dir;
// QString path = dir.currentPath();
// qDebug()<<"Current Path:"<<path;
// QString fname = path + QString::fromLocal8Bit("/html/files/播放器.exe");
// ShellExecuteA(0,"open",fname.toLocal8Bit().data(),NULL,NULL,SW_SHOW);
MainDialog main;
main.show();
// QAddBSApp ab;
// ab.show();
// QHtmlViewSysMsgPanel msg;
// msg.anim_Show();
// QSysMessagePanel msgpanel;
// msgpanel.anim_Show();
// QPropertyAnimation *anim = new QPropertyAnimation(&msgpanel,"pos");
// anim->setDuration(500);
// anim->setStartValue(QPoint(1000,0));
// anim->setEndValue(QPoint(800,0));
// anim->start();
return a.exec();
}