1#ifndef DIALOGS_DIALOGUTILS_H
2#define DIALOGS_DIALOGUTILS_H
8QT_FORWARD_DECLARE_CLASS(QString)
9QT_FORWARD_DECLARE_CLASS(QWidget)
10QT_FORWARD_DECLARE_CLASS(QColor)
11QT_FORWARD_DECLARE_CLASS(QPalette)
12QT_FORWARD_DECLARE_CLASS(QPoint)
13QT_FORWARD_DECLARE_CLASS(QRect)
32#if defined(QT_UTILITIES_GUI_QTWIDGETS) || defined(QT_UTILITIES_GUI_QTQUICK)
41#ifdef QT_UTILITIES_GUI_QTWIDGETS
43QT_UTILITIES_EXPORT void centerWidget(QWidget *widget,
const QWidget *parent =
nullptr,
const QPoint *position =
nullptr);
44QT_UTILITIES_EXPORT bool centerWidgetAvoidingOverflow(QWidget *widget,
const QWidget *parent =
nullptr,
const QPoint *position =
nullptr);
#define QT_UTILITIES_EXPORT
Marks the symbol to be exported by the qtutilities library.
DocumentStatus
The DocumentStatus enum specifies the status of the document in a window.
QT_UTILITIES_EXPORT QString generateWindowTitle(DocumentStatus documentStatus, const QString &documentPath)
Generates the window title string for the specified documentStatus and documentPath.