mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-01 13:28:38 +00:00
update:美化工具窗口
This commit is contained in:
parent
618e6a099b
commit
de71c88b24
2 changed files with 8 additions and 2 deletions
|
@ -10,8 +10,8 @@ ToolForm::ToolForm(QWidget* adsorbWidget, AdsorbPositions adsorbPos)
|
||||||
, ui(new Ui::ToolForm)
|
, ui(new Ui::ToolForm)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
//setWindowFlags(windowFlags() | Qt::FramelessWindowHint);
|
setWindowFlags(windowFlags() | Qt::FramelessWindowHint);
|
||||||
setWindowFlags(windowFlags() & ~Qt::WindowMinMaxButtonsHint);
|
//setWindowFlags(windowFlags() & ~Qt::WindowMinMaxButtonsHint);
|
||||||
|
|
||||||
m_videoForm = dynamic_cast<VideoForm*>(adsorbWidget);
|
m_videoForm = dynamic_cast<VideoForm*>(adsorbWidget);
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,13 @@
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Tool</string>
|
<string>Tool</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true"/>
|
||||||
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
|
<property name="topMargin">
|
||||||
|
<number>30</number>
|
||||||
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="fullScreenBtn">
|
<widget class="QPushButton" name="fullScreenBtn">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue