- 论坛徽章:
- 0
|
QString language = tr("English");
//createmainicon
this->createMainIcon();
//createMenu
//createAction
this->createActions();
this->createMenu();
this->createToolBars();
//createWidgets
this->createTaskTableWidget();
this->createTaskThreadInfoTreeWidget();
this->createTaskThreadInfoDetailTableWidget();
this->createTaskSpeedDockWidget();
this->createSystemTrayIcon();
this->createTaskListTableContextMenu();
this->createSmallWindow();
this->taskThreadInfoTreeWidget->setMaximumWidth(120);
this->mainSplitter = new QSplitter(Qt::Vertical,this);
this->bottomSplitter = new QSplitter();
QHBoxLayout *hBoxLayout = new QHBoxLayout(this->bottomSplitter);
hBoxLayout->addWidget(this->taskThreadInfoTreeWidget);
hBoxLayout->addWidget(this->taskThreadInfoDetailTableWidget);
QVBoxLayout *vBoxLayout = new QVBoxLayout(this->mainSplitter);
vBoxLayout->addWidget(this->taskListTable);
vBoxLayout->addWidget(this->bottomSplitter);
this->setCentralWidget(this->mainSplitter);
this->readSettings();
} |
|