mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-20 11:35:56 +00:00
fix:mac上无边框窗口全屏有问题,暂时屏蔽
This commit is contained in:
parent
097dcb0b8a
commit
4b862cf43a
3 changed files with 10 additions and 6 deletions
|
@ -6,19 +6,19 @@
|
|||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>560</width>
|
||||
<height>577</height>
|
||||
<width>502</width>
|
||||
<height>600</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>560</width>
|
||||
<width>502</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>560</width>
|
||||
<width>502</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
|
|
|
@ -79,11 +79,13 @@ void VideoForm::initUI()
|
|||
}
|
||||
|
||||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
// TODO mac: Qt::FramelessWindowHit full screen is abnormal
|
||||
#ifndef Q_OS_OSX
|
||||
// 去掉标题栏
|
||||
setWindowFlags(Qt::FramelessWindowHint);
|
||||
setWindowFlags(Qt::FramelessWindowHint);
|
||||
// 根据图片构造异形窗口
|
||||
setAttribute(Qt::WA_TranslucentBackground);
|
||||
|
||||
#endif
|
||||
setMouseTracking(true);
|
||||
ui->loadingWidget->setAttribute(Qt::WA_DeleteOnClose);
|
||||
ui->videoWidget->setMouseTracking(true);
|
||||
|
|
2
TODO.txt
2
TODO.txt
|
@ -1,3 +1,5 @@
|
|||
// TODO mac: Qt::FramelessWindowHit full screen is abnormal
|
||||
|
||||
工具栏扩展(模拟点击指定次数等)
|
||||
|
||||
模拟点击改用手指(注意:辅助按键就都没了)
|
||||
|
|
Loading…
Add table
Reference in a new issue