-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforyoucontrol.cpp
More file actions
43 lines (35 loc) · 1016 Bytes
/
foryoucontrol.cpp
File metadata and controls
43 lines (35 loc) · 1016 Bytes
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
#include "foryoucontrol.h"
ForyouControl::ForyouControl(QObject *parent)
: QObject{parent}
{
}
ForyouControl::~ForyouControl()
{
//TODO析构函数
// if(colorthread != nullptr && Color_Thread != nullptr && Color_Thread->isRunning())
// {
// Color_Thread->quit();
// Color_Thread->wait();
// Color_Thread->exit();
// delete Color_Thread;
// Color_Thread = nullptr;
// delete colorthread;
// colorthread = nullptr;
// }
}
void ForyouControl::ForyouControl_Init()
{
qDebug()<<"1,foryoucontrol 初始化";
// 初始化右下角弹窗通知
// this->Notify_init();
// 初始化 中国传统颜色
this->Chinese_Color_Init();
}
void ForyouControl::Chinese_Color_Init()
{
// Color_Thread = new QThread;
// colorthread = new ColorThread;
// connect(Color_Thread,&QThread::started,colorthread,&ColorThread::Color_Init_Slot);
// colorthread->moveToThread(Color_Thread);
// Color_Thread->start();
}