mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 13:08:48 +03:00
parent
a1ea11d5ef
commit
8d867f418d
1 changed files with 1 additions and 2 deletions
|
@ -38,9 +38,8 @@ Panel::Panel(QWidget *parent)
|
||||||
"QScrollBar:vertical { width: 0px; margin: 0px; }"
|
"QScrollBar:vertical { width: 0px; margin: 0px; }"
|
||||||
"QScrollBar::handle:vertical { min-height: 30px; }");
|
"QScrollBar::handle:vertical { min-height: 30px; }");
|
||||||
|
|
||||||
setAttribute(Qt::WA_TranslucentBackground, true);
|
|
||||||
setAttribute(Qt::WA_ShowWithoutActivating, true);
|
setAttribute(Qt::WA_ShowWithoutActivating, true);
|
||||||
setWindowFlags(Qt::FramelessWindowHint | Qt::ToolTip);
|
setWindowFlags(Qt::Popup | Qt::FramelessWindowHint | Qt::NoDropShadowWindowHint);
|
||||||
|
|
||||||
auto mainWidget = new QWidget(this);
|
auto mainWidget = new QWidget(this);
|
||||||
mainWidget->setMaximumSize(width_, height_);
|
mainWidget->setMaximumSize(width_, height_);
|
||||||
|
|
Loading…
Reference in a new issue