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

35 lines
890 B
C++
Raw Normal View History

2017-10-12 16:28:07 +08:00
#include "mainwindow.h"
#include "ui_mainwindow.h"
2018-04-22 16:17:15 +08:00
#include "qqtobjectmanager.h"
2017-10-12 16:28:07 +08:00
#include "qqt-qt.h"
#include "qqtcore.h"
#include "qqtwidgets.h"
2017-11-25 17:55:19 +08:00
#include "qqtqtiowebpageparser.h"
2017-10-12 16:28:07 +08:00
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);
2017-11-25 17:55:19 +08:00
m_webpageparser = new QQtQtIOWebPageParser ( this );
connect ( m_webpageparser, SIGNAL ( replyFinished ( QQtWebAccessSession* ) ),
this, SLOT ( replyFinished ( QQtWebAccessSession* ) ) );
2017-10-12 16:28:07 +08:00
}
MainWindow::~MainWindow()
{
delete ui;
}