mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
Some improvements and fixes refs #312, Navigator (aka navigation bars)
* Added extra QFrame in CDockWidgets to have better control in stylesheez (CDockWidget -> QWidget -> QFrame) * Adjusted stylesheets * Force update of stylesheet when frameless changes * Cascading status message in nested CInfoArea components Floating frameless dock widget still not transparent
This commit is contained in:
@@ -111,6 +111,7 @@ namespace BlackGui
|
||||
{
|
||||
this->m_framelessSizeGrip->show();
|
||||
}
|
||||
statusBar->repaint();
|
||||
}
|
||||
|
||||
void CEnableForFramelessWindow::hideFramelessSizeGripInStatusBar()
|
||||
@@ -152,7 +153,6 @@ namespace BlackGui
|
||||
|
||||
bool CEnableForFramelessWindow::isToolWindow() const
|
||||
{
|
||||
|
||||
return (this->m_widget->windowFlags() & Qt::Tool) == Qt::Tool;
|
||||
}
|
||||
|
||||
@@ -168,7 +168,7 @@ namespace BlackGui
|
||||
return (Qt::Tool | Qt::WindowStaysOnTopHint | Qt::WindowMinimizeButtonHint | Qt::WindowCloseButtonHint);
|
||||
case WindowNormal:
|
||||
default:
|
||||
return (Qt::Desktop | Qt::WindowStaysOnTopHint | Qt::WindowMinimizeButtonHint | Qt::WindowCloseButtonHint);
|
||||
return (Qt::Window | Qt::WindowStaysOnTopHint | Qt::WindowMinimizeButtonHint | Qt::WindowCloseButtonHint);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user