Ref T346, framless window “UpdateLayeredWindowIndirect failed” error preparations

This commit is contained in:
Klaus Basan
2018-09-10 13:36:28 +02:00
parent d2d27a8eac
commit 97cf9f4939
4 changed files with 60 additions and 15 deletions

View File

@@ -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);