├── main.cpp ├── dashboard1.ui ├── waterprogressbar1.ui ├── GCT.pro ├── mainwindow.h ├── waterprogressbar1.h ├── mainwindow.cpp ├── dashboard1.h ├── mainwindow.ui ├── waterprogressbar1.cpp ├── dashboard1.cpp └── GCT.pro.user /main.cpp: -------------------------------------------------------------------------------- 1 | #include "mainwindow.h" 2 | #include 3 | 4 | int main(int argc, char *argv[]) 5 | { 6 | QApplication a(argc, argv); 7 | MainWindow w; 8 | w.show(); 9 | 10 | return a.exec(); 11 | } 12 | -------------------------------------------------------------------------------- /dashboard1.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | Dashboard1 4 | 5 | 6 | 7 | 0 8 | 0 9 | 400 10 | 400 11 | 12 | 13 | 14 | Form 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /waterprogressbar1.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | WaterProgressBar1 4 | 5 | 6 | 7 | 0 8 | 0 9 | 400 10 | 400 11 | 12 | 13 | 14 | Form 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /GCT.pro: -------------------------------------------------------------------------------- 1 | #------------------------------------------------- 2 | # 3 | # Project created by QtCreator 2019-06-19T23:52:44 4 | # 5 | #------------------------------------------------- 6 | 7 | QT += core gui 8 | 9 | greaterThan(QT_MAJOR_VERSION, 4): QT += widgets 10 | 11 | TARGET = GCT 12 | TEMPLATE = app 13 | 14 | 15 | SOURCES += main.cpp\ 16 | mainwindow.cpp \ 17 | dashboard1.cpp \ 18 | waterprogressbar1.cpp 19 | 20 | HEADERS += mainwindow.h \ 21 | dashboard1.h \ 22 | waterprogressbar1.h 23 | 24 | FORMS += mainwindow.ui \ 25 | dashboard1.ui \ 26 | waterprogressbar1.ui 27 | -------------------------------------------------------------------------------- /mainwindow.h: -------------------------------------------------------------------------------- 1 | #ifndef MAINWINDOW_H 2 | #define MAINWINDOW_H 3 | 4 | #include 5 | #include "dashboard1.h" 6 | #include "waterprogressbar1.h" 7 | namespace Ui { 8 | class MainWindow; 9 | } 10 | 11 | class MainWindow : public QMainWindow 12 | { 13 | Q_OBJECT 14 | 15 | public: 16 | explicit MainWindow(QWidget *parent = 0); 17 | ~MainWindow(); 18 | int value = 90; 19 | private slots: 20 | void on_pushButton_clicked(); 21 | 22 | void on_pushButton_2_clicked(); 23 | 24 | void on_horizontalSlider_valueChanged(int value); 25 | 26 | private: 27 | Ui::MainWindow *ui; 28 | }; 29 | 30 | #endif // MAINWINDOW_H 31 | -------------------------------------------------------------------------------- /waterprogressbar1.h: -------------------------------------------------------------------------------- 1 | #ifndef WATERPROGRESSBAR1_H 2 | #define WATERPROGRESSBAR1_H 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | //*水波进度条*/ 12 | namespace Ui { 13 | class WaterProgressBar1; 14 | } 15 | 16 | class WaterProgressBar1 : public QWidget 17 | { 18 | Q_OBJECT 19 | 20 | public: 21 | explicit WaterProgressBar1(QWidget *parent = 0); 22 | ~WaterProgressBar1(); 23 | void paintEvent(QPaintEvent *event); 24 | void drawWaterProgressBarWiget(QPainter *painter); //绘制控件 25 | void drawWaterProgressBarBoard(QPainter *painter); //绘制表盘 26 | void drawWaterProgressBarWave(QPainter *painter);//绘制水波效果 27 | void drawWaterProgressBarText(QPainter *painter); //绘制文本 28 | void setvalue(int value); 29 | void qParmInit(); 30 | private: 31 | Ui::WaterProgressBar1 *ui; 32 | QPoint qCircular; //中心位置 33 | int qRadius = 0;//半径 34 | int value = 10; 35 | int maxvalue = 100; 36 | QTimer *PaintTimer;//定时刷新 37 | }; 38 | 39 | #endif // WATERPROGRESSBAR1_H 40 | -------------------------------------------------------------------------------- /mainwindow.cpp: -------------------------------------------------------------------------------- 1 | #include "mainwindow.h" 2 | #include "ui_mainwindow.h" 3 | 4 | MainWindow::MainWindow(QWidget *parent) : 5 | QMainWindow(parent), 6 | ui(new Ui::MainWindow) 7 | { 8 | ui->setupUi(this); 9 | // Dashboard1 *DashBoard1 = new Dashboard1(); 10 | // DashBoard1->setMaxValue(20); 11 | // DashBoard1->show(); 12 | // ui->widget->setMaxValue(100); 13 | 14 | WaterProgressBar1 *WaterProgressBar1s = new WaterProgressBar1(); 15 | WaterProgressBar1s->show(); 16 | 17 | } 18 | 19 | MainWindow::~MainWindow() 20 | { 21 | delete ui; 22 | } 23 | 24 | void MainWindow::on_pushButton_clicked() 25 | { 26 | value++; 27 | ui->widget->setValue(value); 28 | ui->widget_2->setvalue(value); 29 | } 30 | 31 | void MainWindow::on_pushButton_2_clicked() 32 | { 33 | if(value > 0) 34 | { 35 | value--; 36 | ui->widget->setValue(value); 37 | ui->widget_2->setvalue(value); 38 | } 39 | } 40 | 41 | void MainWindow::on_horizontalSlider_valueChanged(int value) 42 | { 43 | this->value = value; 44 | ui->widget->setValue(value); 45 | ui->widget_2->setvalue(value); 46 | } 47 | -------------------------------------------------------------------------------- /dashboard1.h: -------------------------------------------------------------------------------- 1 | #ifndef DASHBOARD1_H 2 | #define DASHBOARD1_H 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | 12 | namespace Ui { 13 | class Dashboard1; 14 | } 15 | 16 | class Dashboard1 : public QWidget 17 | { 18 | Q_OBJECT 19 | 20 | public: 21 | explicit Dashboard1(QWidget *parent = 0); 22 | ~Dashboard1(); 23 | void paintEvent(QPaintEvent *event); 24 | void qParmInit();//全局参数初始化 25 | //鼠标释放时检测窗口大小是否一样,不一样则自动设置为一样 26 | void setOtherBackgroud(bool status,QPainter *painter); 27 | void drawDashBoardWiget(QPainter *painter); 28 | void drawDashBoard(QPainter *painter);//绘制表盘 29 | void drawDivideRule(QPainter *painter);//绘制刻度 30 | void drawDashBoardText(QPainter *painter);//绘制表盘文字 31 | void drawDishBoardPointer(QPainter *painter);//绘制指针 32 | void setValue(int qValue); 33 | void setMaxValue(float fMaxValue);//设置表盘最大的值 34 | void setDashBoardEdgeColor(QColor &qColor);//设置边缘的颜色 35 | void setDashDivideBackgroudColor(QColor &qColor);//设置表盘中央的颜色 36 | private: 37 | int fMaxValue = 100; 38 | int qValue = 0; 39 | int fMaxDivide = 10;//大等分 40 | int fMinDivide = 5; 41 | float uiOldWidth; 42 | float uiOldHeight; 43 | QPoint qCircular;//圆形位置 44 | int qRadius = 0;//半径 45 | QColor qDialEdgeColor = QColor(80,80,80); 46 | int qDialEdgeSize = 20; 47 | QColor qDialDivideBackgroudColor = QColor(20,20,20);//表盘刻度背景颜色 48 | int qDialDivideSize = (qDialEdgeSize + qDialEdgeSize * 1.5);//刻度盘大小,是外部表盘的1.5倍 49 | float BaseAngle = 135;//基础角度 50 | QTimer *PaintTimer;//定时刷新 51 | Ui::Dashboard1 *ui; 52 | }; 53 | 54 | #endif // DASHBOARD1_H 55 | -------------------------------------------------------------------------------- /mainwindow.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | MainWindow 4 | 5 | 6 | 7 | 0 8 | 0 9 | 1135 10 | 584 11 | 12 | 13 | 14 | MainWindow 15 | 16 | 17 | 18 | 19 | 20 | 0 21 | 0 22 | 400 23 | 400 24 | 25 | 26 | 27 | 28 | 29 | 30 | 310 31 | 420 32 | 75 33 | 23 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 310 44 | 490 45 | 75 46 | 23 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 120 57 | 440 58 | 160 59 | 22 60 | 61 | 62 | 63 | Qt::Horizontal 64 | 65 | 66 | 67 | 68 | 69 | 530 70 | 0 71 | 400 72 | 400 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 0 81 | 0 82 | 1135 83 | 26 84 | 85 | 86 | 87 | 88 | 89 | TopToolBarArea 90 | 91 | 92 | false 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | Dashboard1 101 | QWidget 102 |
dashboard1.h
103 | 1 104 |
105 | 106 | WaterProgressBar1 107 | QWidget 108 |
waterprogressbar1.h
109 | 1 110 |
111 |
112 | 113 | 114 |
115 | -------------------------------------------------------------------------------- /waterprogressbar1.cpp: -------------------------------------------------------------------------------- 1 | #include "waterprogressbar1.h" 2 | #include "ui_waterprogressbar1.h" 3 | 4 | WaterProgressBar1::WaterProgressBar1(QWidget *parent) : 5 | QWidget(parent), 6 | ui(new Ui::WaterProgressBar1) 7 | { 8 | ui->setupUi(this); 9 | PaintTimer = new QTimer(); 10 | 11 | connect(PaintTimer,SIGNAL(timeout()),this,SLOT(update())); 12 | PaintTimer->start(100); 13 | } 14 | 15 | WaterProgressBar1::~WaterProgressBar1() 16 | { 17 | delete ui; 18 | } 19 | 20 | void WaterProgressBar1::paintEvent(QPaintEvent *event) 21 | { 22 | QPainter painter(this); 23 | painter.setRenderHint(QPainter::Antialiasing);//抗锯齿 24 | 25 | qParmInit(); 26 | this->drawWaterProgressBarWiget(&painter); 27 | 28 | drawWaterProgressBarWave(&painter); 29 | drawWaterProgressBarText(&painter); 30 | } 31 | 32 | void WaterProgressBar1::drawWaterProgressBarWiget(QPainter *painter) 33 | { 34 | drawWaterProgressBarBoard(painter); 35 | } 36 | 37 | void WaterProgressBar1::drawWaterProgressBarBoard(QPainter *painter) 38 | { 39 | painter->save(); 40 | 41 | QBrush qBrush = QBrush(QColor(80,80,80));//灰色画刷,设置表盘边缘原色 42 | 43 | painter->setBrush(qBrush);//使用画刷 44 | 45 | painter->drawEllipse(qCircular,qRadius,qRadius); 46 | 47 | painter->restore(); 48 | } 49 | 50 | void WaterProgressBar1::drawWaterProgressBarWave(QPainter *painter) 51 | { 52 | 53 | painter->save(); 54 | QPainterPath QPainterPaths; 55 | 56 | QPen qPen(QColor(13,235,235)); 57 | qPen.setWidth(1); //设置画笔的粗细 58 | painter->setPen(qPen); 59 | painter->setBrush(QBrush(QColor(13,235,235))); 60 | 61 | if(value > maxvalue) 62 | { 63 | value = maxvalue; 64 | } 65 | int fAngle = 270 - value * 180 / maxvalue;//值对应的角度关系是90-270 66 | 67 | painter->setRenderHint(QPainter:: Antialiasing, true); //设置渲染,启动反锯齿 68 | 69 | QPainterPaths.arcMoveTo(qCircular.x() - qRadius ,qCircular.y() - qRadius, 2 * qRadius, 70 | 2 * qRadius,fAngle); 71 | 72 | QPainterPaths.arcTo(qCircular.x() - qRadius ,qCircular.y() - qRadius, 2 * qRadius, 73 | 2 * qRadius,fAngle,360 - (fAngle - 90) * 2); //绘画角度为30°~(30+150°)//绘制曲线部分 74 | 75 | painter->drawPath(QPainterPaths); 76 | painter->restore(); 77 | } 78 | 79 | void WaterProgressBar1::drawWaterProgressBarText(QPainter *painter) 80 | { 81 | 82 | painter->save(); 83 | int FontSize = 50; 84 | QPen qPen = QPen(Qt::white); 85 | //绘制表盘文字 86 | QFont qFont("楷体",FontSize,QFont::Bold,false); 87 | painter->setFont(qFont); 88 | painter->setPen(qPen); 89 | QString PercentageStr = QString::number(value); 90 | PercentageStr.append("%"); 91 | 92 | if(value > 9) 93 | { 94 | painter->drawText(QRectF(qCircular.x() - FontSize,qCircular.y() - FontSize / 2, 95 | FontSize * PercentageStr.length(),FontSize * PercentageStr.length()), 96 | PercentageStr); 97 | } 98 | else 99 | { 100 | painter->drawText(QRectF(qCircular.x() - FontSize / 2,qCircular.y() - FontSize / 2, 101 | FontSize * PercentageStr.length(),FontSize * PercentageStr.length()), 102 | PercentageStr); 103 | } 104 | 105 | painter->restore(); 106 | } 107 | 108 | void WaterProgressBar1::setvalue(int value) 109 | { 110 | this->value = value; 111 | } 112 | 113 | void WaterProgressBar1::qParmInit() 114 | { 115 | qCircular = QPoint(width() / 2,height() / 2);//圆心位置刷新 116 | qRadius = (width() - 5) / 2; 117 | } 118 | 119 | -------------------------------------------------------------------------------- /dashboard1.cpp: -------------------------------------------------------------------------------- 1 | #include "dashboard1.h" 2 | #include "ui_dashboard1.h" 3 | 4 | Dashboard1::Dashboard1(QWidget *parent) : 5 | QWidget(parent), 6 | ui(new Ui::Dashboard1) 7 | { 8 | ui->setupUi(this); 9 | PaintTimer = new QTimer(); 10 | 11 | connect(PaintTimer,SIGNAL(timeout()),this,SLOT(update())); 12 | PaintTimer->start(100); 13 | } 14 | 15 | Dashboard1::~Dashboard1() 16 | { 17 | delete ui; 18 | } 19 | 20 | void Dashboard1::paintEvent(QPaintEvent *event) 21 | { 22 | QPainter painter(this); 23 | painter.setRenderHint(QPainter::Antialiasing);//抗锯齿 24 | this->drawDashBoardWiget(&painter); 25 | } 26 | 27 | void Dashboard1::qParmInit() 28 | { 29 | qCircular = QPoint(width() / 2,height() / 2);//圆心位置刷新 30 | qRadius = (width() / 2);//外圆形的半径 31 | //qDialDivideSize = (qDialEdgeSize + qDialEdgeSize * 1.5);//刻度盘的大小 32 | } 33 | 34 | 35 | void Dashboard1::setOtherBackgroud(bool status,QPainter *painter) 36 | { 37 | if(status == true) 38 | { 39 | painter->save(); 40 | 41 | painter->setBrush(Qt::transparent); 42 | painter->fillRect(this->rect(), QColor(0, 0, 0, 0)); 43 | painter->restore(); 44 | } 45 | } 46 | //绘制控件 47 | void Dashboard1::drawDashBoardWiget(QPainter *painter) 48 | { 49 | //全局参数初始化 50 | qParmInit(); 51 | setOtherBackgroud(true,painter); 52 | //绘制表盘 53 | drawDashBoard(painter); 54 | //绘制刻度尺 55 | drawDivideRule(painter); 56 | //绘制指针 57 | drawDishBoardPointer(painter); 58 | //绘制表盘文字 59 | drawDashBoardText(painter); 60 | } 61 | 62 | //绘制仪表盘 63 | void Dashboard1::drawDashBoard(QPainter *painter) 64 | { 65 | painter->save(); 66 | 67 | painter->setBrush(Qt::transparent); 68 | painter->fillRect(this->rect(), QColor(0, 0, 0, 0)); 69 | 70 | 71 | QBrush qBrush = QBrush(qDialEdgeColor);//灰色画刷,设置表盘边缘原色 72 | 73 | painter->setBrush(qBrush);//使用画刷 74 | 75 | painter->drawEllipse(qCircular,qRadius,qRadius);//绘制最外层圆盘 76 | 77 | qBrush.setColor(qDialDivideBackgroudColor);//黑色画刷 78 | 79 | painter->setBrush(qBrush); 80 | 81 | painter->drawEllipse(qCircular,qRadius - qDialEdgeSize,qRadius - qDialEdgeSize);//绘制黑色条带 82 | 83 | qBrush.setColor(qDialEdgeColor);//灰色画刷 84 | painter->setBrush(qBrush); 85 | painter->drawEllipse(qCircular,qRadius - qDialDivideSize,qRadius - qDialDivideSize);//绘制内层灰色圆盘 86 | 87 | qBrush = QColor(162,88,88);//粉色画刷 88 | painter->setBrush(qBrush); 89 | painter->drawEllipse(qCircular,30,30);//内部最大粉色圆盘 90 | 91 | 92 | painter->restore(); 93 | } 94 | 95 | void Dashboard1::drawDivideRule(QPainter *painter) 96 | { 97 | painter->save(); 98 | 99 | //下面开始绘制刻度,90度的间隔 100 | //x2 + y2 = r2 101 | //则圆上任一点为:(x1,y1) 102 | //x1 = x0 + r * cos(ao * 3.14 /180 ) 103 | //y1 = y0 + r * sin(ao * 3.14 /180 ) 104 | 105 | 106 | float fRadius = 0.0; 107 | //为了对称好看我们一般从逆时针90度位置开始绘制 108 | 109 | QPen qPen(Qt::white); 110 | qPen.setWidth(2); //设置画笔的粗细 111 | painter->setPen(qPen); 112 | //先绘制左侧 113 | 114 | 115 | #if 1 116 | for(int uiLoop = 0;uiLoop < (fMaxDivide * fMinDivide) + 1 ;uiLoop++) 117 | { 118 | float fAngle = (BaseAngle + ((float)270 / (fMaxDivide * fMinDivide)) * uiLoop); 119 | 120 | fRadius = (qRadius - 21); 121 | 122 | int x1Start = qCircular.x() + fRadius * cos(fAngle * 3.14 / 180); 123 | int y1Start = qCircular.y() + fRadius * sin(fAngle * 3.14 / 180); 124 | 125 | if(uiLoop % fMinDivide == 0) 126 | { 127 | 128 | fRadius = qRadius - qDialDivideSize + 1; 129 | } 130 | else 131 | { 132 | fRadius = qRadius - (qDialDivideSize / 1.3); 133 | } 134 | int x2End = qCircular.x() + fRadius * cos(fAngle * 3.14 / 180); 135 | int y2End = qCircular.y() + fRadius * sin(fAngle * 3.14 / 180); 136 | 137 | painter->drawLine(QPoint(x1Start,y1Start),QPoint(x2End,y2End)); 138 | } 139 | #endif 140 | painter->restore(); 141 | } 142 | 143 | void Dashboard1::drawDashBoardText(QPainter *painter) 144 | { 145 | painter->save(); 146 | 147 | QPen qPen(Qt::white); 148 | qPen.setWidth(2); //设置画笔的粗细 149 | painter->setPen(qPen); 150 | 151 | //绘制表盘文字 152 | QFont qFont("楷体",28,QFont::Bold,false); 153 | painter->setFont(qFont); 154 | painter->drawText(QRectF(qCircular.x() - 17,qCircular.y() + 85,80,80),QString::number(qValue)); 155 | float fRadius = 0.0; 156 | //通过公式计算刻度文字的位置信息。 157 | for(int uiLoop = 0;uiLoop < (fMaxDivide ) + 1 ;uiLoop++) 158 | { 159 | int PointeNum = ((fMaxValue / fMaxDivide) * uiLoop); 160 | 161 | float fAngle = (BaseAngle + ((float)270 / (fMaxDivide)) * uiLoop); 162 | 163 | 164 | fRadius = (qRadius - 80 - 18); 165 | fAngle += 4; 166 | 167 | 168 | int x1Start = qCircular.x() + fRadius * cos(fAngle * 3.14 / 180); 169 | int y1Start = qCircular.y() + fRadius * sin(fAngle * 3.14 / 180); 170 | 171 | QFont qFonts("楷体",12,QFont::Bold,false); 172 | painter->setFont(qFonts); 173 | 174 | painter->drawText(QRectF(x1Start,y1Start,80,80),QString::number((fMaxValue / fMaxDivide) * uiLoop)); 175 | } 176 | 177 | painter->restore(); 178 | } 179 | 180 | void Dashboard1::drawDishBoardPointer(QPainter *painter) 181 | { 182 | painter->save(); 183 | 184 | QBrush qBrush = QBrush(QColor(Qt::red)); 185 | 186 | painter->setBrush(qBrush); 187 | 188 | 189 | QPen qPen(Qt::red); 190 | qPen.setWidth(2); //设置画笔的粗细 191 | painter->setPen(qPen); 192 | 193 | float fRadius = 0.0; 194 | if(qValue > fMaxValue) 195 | { 196 | qValue = fMaxValue; 197 | } 198 | 199 | float fAngle = (BaseAngle + ((float)270 / (fMaxValue)) * qValue);//指针中心角度信息。 200 | float fRightAngle = fAngle + 90;//右侧角度 201 | float fLeftAngle = fAngle - 90;//左侧角度 202 | 203 | fRadius = (qRadius - 21); 204 | 205 | int x1Start = qCircular.x() + (qRadius - qDialDivideSize - 3) * cos(fAngle * 3.14 / 180); 206 | int y1Start = qCircular.y() + (qRadius - qDialDivideSize - 3) * sin(fAngle * 3.14 / 180); 207 | 208 | 209 | fRadius = qRadius - (qDialDivideSize / 1.3); 210 | 211 | int x2End = qCircular.x(); //+ fRadius * cos(fAngle * 3.14 / 180); 212 | int y2End = qCircular.y(); //+ fRadius * sin(fAngle * 3.14 / 180); 213 | 214 | int x3End = qCircular.x() + 10 * cos(fRightAngle * 3.14 / 180);//过圆心的右侧切点 215 | int y3End = qCircular.x() + 10 * sin(fRightAngle * 3.14 / 180); 216 | 217 | int x4End = qCircular.x() + 10 * cos(fLeftAngle * 3.14 / 180);//过圆心的左侧切点 218 | int y4End = qCircular.x() + 10 * sin(fLeftAngle * 3.14 / 180); 219 | 220 | 221 | QPointF qTriangle[3] = {QPoint(x1Start,y1Start),QPoint(x3End,y3End),QPoint(x4End,y4End)}; 222 | 223 | painter->drawPolygon(qTriangle,3); 224 | painter->drawEllipse(qCircular,15,15);//内部小粉色圆盘 225 | painter->restore(); 226 | } 227 | 228 | void Dashboard1::setValue(int qValue) 229 | { 230 | this->qValue = qValue; 231 | } 232 | 233 | void Dashboard1::setMaxValue(float fMaxValue) 234 | { 235 | this->fMaxValue = fMaxValue; 236 | } 237 | 238 | void Dashboard1::setDashBoardEdgeColor(QColor &qColor) 239 | { 240 | qDialEdgeColor = qColor; 241 | } 242 | 243 | void Dashboard1::setDashDivideBackgroudColor(QColor &qColor) 244 | { 245 | qDialDivideBackgroudColor = qColor; 246 | } 247 | -------------------------------------------------------------------------------- /GCT.pro.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | EnvironmentId 7 | {8d3c6239-1c8b-45ca-963b-b1f5990d8fb0} 8 | 9 | 10 | ProjectExplorer.Project.ActiveTarget 11 | 0 12 | 13 | 14 | ProjectExplorer.Project.EditorSettings 15 | 16 | true 17 | false 18 | true 19 | 20 | Cpp 21 | 22 | CppGlobal 23 | 24 | 25 | 26 | QmlJS 27 | 28 | QmlJSGlobal 29 | 30 | 31 | 2 32 | UTF-8 33 | false 34 | 4 35 | false 36 | 80 37 | true 38 | true 39 | 1 40 | true 41 | false 42 | 0 43 | true 44 | true 45 | 0 46 | 8 47 | true 48 | 1 49 | true 50 | true 51 | true 52 | false 53 | 54 | 55 | 56 | ProjectExplorer.Project.PluginSettings 57 | 58 | 59 | 60 | ProjectExplorer.Project.Target.0 61 | 62 | Desktop Qt 5.7.0 MSVC2015_64bit 63 | Desktop Qt 5.7.0 MSVC2015_64bit 64 | qt.57.win64_msvc2015_64_kit 65 | 0 66 | 0 67 | 0 68 | 69 | G:/STM32Project/QtBaseProject/build-GCT-Desktop_Qt_5_7_0_MSVC2015_64bit-Debug 70 | 71 | 72 | true 73 | qmake 74 | 75 | QtProjectManager.QMakeBuildStep 76 | true 77 | 78 | false 79 | false 80 | false 81 | 82 | 83 | true 84 | Make 85 | 86 | Qt4ProjectManager.MakeStep 87 | 88 | false 89 | 90 | 91 | 92 | 2 93 | 构建 94 | 95 | ProjectExplorer.BuildSteps.Build 96 | 97 | 98 | 99 | true 100 | Make 101 | 102 | Qt4ProjectManager.MakeStep 103 | 104 | true 105 | clean 106 | 107 | 108 | 1 109 | 清理 110 | 111 | ProjectExplorer.BuildSteps.Clean 112 | 113 | 2 114 | false 115 | 116 | Debug 117 | 118 | Qt4ProjectManager.Qt4BuildConfiguration 119 | 2 120 | true 121 | 122 | 123 | G:/STM32Project/QtBaseProject/build-GCT-Desktop_Qt_5_7_0_MSVC2015_64bit-Release 124 | 125 | 126 | true 127 | qmake 128 | 129 | QtProjectManager.QMakeBuildStep 130 | false 131 | 132 | false 133 | false 134 | false 135 | 136 | 137 | true 138 | Make 139 | 140 | Qt4ProjectManager.MakeStep 141 | 142 | false 143 | 144 | 145 | 146 | 2 147 | 构建 148 | 149 | ProjectExplorer.BuildSteps.Build 150 | 151 | 152 | 153 | true 154 | Make 155 | 156 | Qt4ProjectManager.MakeStep 157 | 158 | true 159 | clean 160 | 161 | 162 | 1 163 | 清理 164 | 165 | ProjectExplorer.BuildSteps.Clean 166 | 167 | 2 168 | false 169 | 170 | Release 171 | 172 | Qt4ProjectManager.Qt4BuildConfiguration 173 | 0 174 | true 175 | 176 | 177 | G:/STM32Project/QtBaseProject/build-GCT-Desktop_Qt_5_7_0_MSVC2015_64bit-Profile 178 | 179 | 180 | true 181 | qmake 182 | 183 | QtProjectManager.QMakeBuildStep 184 | true 185 | 186 | false 187 | true 188 | false 189 | 190 | 191 | true 192 | Make 193 | 194 | Qt4ProjectManager.MakeStep 195 | 196 | false 197 | 198 | 199 | 200 | 2 201 | 构建 202 | 203 | ProjectExplorer.BuildSteps.Build 204 | 205 | 206 | 207 | true 208 | Make 209 | 210 | Qt4ProjectManager.MakeStep 211 | 212 | true 213 | clean 214 | 215 | 216 | 1 217 | 清理 218 | 219 | ProjectExplorer.BuildSteps.Clean 220 | 221 | 2 222 | false 223 | 224 | Profile 225 | 226 | Qt4ProjectManager.Qt4BuildConfiguration 227 | 0 228 | true 229 | 230 | 3 231 | 232 | 233 | 0 234 | 部署 235 | 236 | ProjectExplorer.BuildSteps.Deploy 237 | 238 | 1 239 | 在本地部署 240 | 241 | ProjectExplorer.DefaultDeployConfiguration 242 | 243 | 1 244 | 245 | 246 | false 247 | false 248 | 1000 249 | 250 | true 251 | 252 | false 253 | false 254 | false 255 | false 256 | true 257 | 0.01 258 | 10 259 | true 260 | 1 261 | 25 262 | 263 | 1 264 | true 265 | false 266 | true 267 | valgrind 268 | 269 | 0 270 | 1 271 | 2 272 | 3 273 | 4 274 | 5 275 | 6 276 | 7 277 | 8 278 | 9 279 | 10 280 | 11 281 | 12 282 | 13 283 | 14 284 | 285 | 2 286 | 287 | GCT 288 | 289 | Qt4ProjectManager.Qt4RunConfiguration:G:/STM32Project/QtBaseProject/GCT/GCT.pro 290 | true 291 | 292 | GCT.pro 293 | false 294 | 295 | G:/STM32Project/QtBaseProject/build-GCT-Desktop_Qt_5_7_0_MSVC2015_64bit-Debug 296 | 3768 297 | false 298 | true 299 | false 300 | false 301 | true 302 | 303 | 1 304 | 305 | 306 | 307 | ProjectExplorer.Project.TargetCount 308 | 1 309 | 310 | 311 | ProjectExplorer.Project.Updater.FileVersion 312 | 18 313 | 314 | 315 | Version 316 | 18 317 | 318 | 319 | --------------------------------------------------------------------------------