1 #ifndef DIALOGS_DIALOGUTILS_H
2 #define DIALOGS_DIALOGUTILS_H
8 QT_FORWARD_DECLARE_CLASS(QString)
9 QT_FORWARD_DECLARE_CLASS(QWidget)
10 QT_FORWARD_DECLARE_CLASS(QColor)
11 QT_FORWARD_DECLARE_CLASS(QPoint)
12 QT_FORWARD_DECLARE_CLASS(QRect)
31 #if defined(QT_UTILITIES_GUI_QTWIDGETS) || defined(QT_UTILITIES_GUI_QTQUICK)
37 #ifdef QT_UTILITIES_GUI_QTWIDGETS
39 QT_UTILITIES_EXPORT void centerWidget(QWidget *widget,
const QWidget *parent =
nullptr,
const QPoint *position =
nullptr);
40 QT_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.