43 USER_EVENT_QUERYENDSESSION = USER_EVENT + 666,
44 USER_EVENT_ENDSESSION = USER_EVENT + 667
51 SYSCOLOR_BACKGROUND = 2,
57 MUTILS_API
bool broadcast(
int eventType,
const bool &onlyToVisible);
60 MUTILS_API
bool set_window_icon(QWidget *
const window,
const QIcon &icon,
const bool bIsBigIcon);
63 MUTILS_API
bool themes_enabled(
void);
66 MUTILS_API
bool sysmenu_append(
const QWidget *
const win,
const unsigned int identifier,
const QString &text);
67 MUTILS_API
bool sysmenu_update(
const QWidget *
const win,
const unsigned int identifier,
const QString &text);
68 MUTILS_API
bool sysmenu_check_msg(
void *
const message,
const unsigned int &identifier);
71 MUTILS_API
bool enable_close_button(
const QWidget *
const win,
const bool &bEnable);
74 MUTILS_API
bool bring_to_front(
const QWidget *
const window);
75 MUTILS_API
bool bring_to_front(
const unsigned long pid);
78 MUTILS_API
bool sheet_of_glass(QWidget *
const window);
79 MUTILS_API
bool sheet_of_glass_update(QWidget *
const window);
82 MUTILS_API QColor system_color(
const int &color_id);
85 MUTILS_API
void blink_window(QWidget *
const poWindow,
const unsigned int &count = 10,
const unsigned int &delay = 150);
88 MUTILS_API
void force_quit(
void);
This file contains miscellaneous functions that are generally useful for Qt-based applications...
Global MUtils namespace.
Definition: CPUFeatures.h:37