update:美化工具窗口

This commit is contained in:
Barry 2019-01-27 20:02:17 +08:00
commit de71c88b24
2 changed files with 8 additions and 2 deletions

View file

@ -10,8 +10,8 @@ ToolForm::ToolForm(QWidget* adsorbWidget, AdsorbPositions adsorbPos)
, ui(new Ui::ToolForm)
{
ui->setupUi(this);
//setWindowFlags(windowFlags() | Qt::FramelessWindowHint);
setWindowFlags(windowFlags() & ~Qt::WindowMinMaxButtonsHint);
setWindowFlags(windowFlags() | Qt::FramelessWindowHint);
//setWindowFlags(windowFlags() & ~Qt::WindowMinMaxButtonsHint);
m_videoForm = dynamic_cast<VideoForm*>(adsorbWidget);

View file

@ -13,7 +13,13 @@
<property name="windowTitle">
<string>Tool</string>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="topMargin">
<number>30</number>
</property>
<item>
<widget class="QPushButton" name="fullScreenBtn">
<property name="toolTip">