mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 04:45:31 +08:00
Ref T346, framless window “UpdateLayeredWindowIndirect failed” error preparations
This commit is contained in:
@@ -147,6 +147,14 @@ namespace BlackGui
|
||||
//! Is top level widget?
|
||||
static bool isTopLevelWidget(QWidget *widget);
|
||||
|
||||
//! Is top level window?
|
||||
static bool isTopLevelWindow(QWidget *widget);
|
||||
|
||||
//! Check window type @{
|
||||
static bool isQMainWindow(QWidget *widget);
|
||||
static bool isDialog(QWidget *widget);
|
||||
//! @}
|
||||
|
||||
//! Fade in a widget
|
||||
static QGraphicsOpacityEffect *fadeInWidget(int durationMs, QWidget *widget, double startValue = 0.0, double endValue = 1.0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user