28#ifdef KDWINUTILS_WITHMFC
47#ifdef KDWINUTILS_WITHMFC
#define KDWINUTILS_EXPORT
Definition kdwinutils_export.h:31
#define KDWINUTILS_BEGIN_NAMESPACE
Definition kdwinutils_global.h:27
#define KDWINUTILS_END_NAMESPACE
Definition kdwinutils_global.h:28
Definition kdwincore_utils.h:34
bool setCommandEnabled(const QList< QAction * > &actionList, int id, bool enable)
Enables the command with the specified ID from a list of commands.
void centerWindow(QWidget *dialogWidget, const QRect &parentRect)
Centers the dialog widget in the parentRect.
bool setCommandChecked(const QList< QAction * > &actionList, int id, bool checked)
Checks the command with the specified ID from a list of commands.
QAction * findCommand(const QList< QAction * > &actionList, int id)
Finds a command with the specified ID from a list of commands.
float scaleFactor(QWidget *widget)
Returns the scale factor of the widget.
HWND nativeHandle(QWidget *_widget)
Returns the native handle of the widget.