1
0
mirror of https://gitee.com/drabel/LibQQt.git synced 2025-01-04 10:18:44 +08:00
LibQQt/examples/QtBuildTool/mainwindow.cpp

31 lines
646 B
C++
Raw Normal View History

2017-10-12 16:28:07 +08:00
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "qqtobjectfactory.h"
#include "qqt-qt.h"
#include "qqtcore.h"
#include "qqtwidgets.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
#ifdef __EMBEDDED_LINUX__
2017-10-12 16:28:07 +08:00
/*
* frameless足够
*/
setWindowFlags(Qt::FramelessWindowHint);
/*
*
*/
setAttribute(Qt::WA_TranslucentBackground, true);
#endif
//setFixedSize(1024, 600);
//moveCenter(this);
}
MainWindow::~MainWindow()
{
delete ui;
}