diff options
| author | Christoph Berg <myon@debian.org> | 2025-09-16 12:37:12 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2025-09-16 12:57:29 +0200 |
| commit | 5a4967c577ad245a2117b7b2f71c13b1212fe285 (patch) | |
| tree | 4d09343cfe757239895a0dd9b399242d2a07d7c2 /widgets/HelpTextWindow.cpp | |
| parent | 23c903a09fb1d73fd20b50323cd80cfb3aba8799 (diff) | |
Merge 2.7 changes, I had uploaded -1 from the wrong branch.debian/3.0.0_rc1+repack-2
Diffstat (limited to 'widgets/HelpTextWindow.cpp')
| -rwxr-xr-x | widgets/HelpTextWindow.cpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/widgets/HelpTextWindow.cpp b/widgets/HelpTextWindow.cpp index 7ac1367b..bb0e7077 100755 --- a/widgets/HelpTextWindow.cpp +++ b/widgets/HelpTextWindow.cpp @@ -1,21 +1,21 @@ -#include "HelpTextWindow.hpp" - -#include <QApplication> -#include <QString> -#include <QPalette> - -#include "qt_helpers.hpp" - -#include "moc_HelpTextWindow.cpp" - -HelpTextWindow::HelpTextWindow (QString const& title, QString const& text, QFont const& font, QWidget * parent) - : QLabel {parent, Qt::WindowCloseButtonHint | Qt::WindowMinimizeButtonHint} -{ - setWindowTitle(QApplication::applicationName () + " - " + title); - setMargin (10); - setBackgroundRole (QPalette::Base); - setAutoFillBackground (true); - setStyleSheet (font_as_stylesheet (font)); - setText (text); - setMinimumSize (sizeHint ()); -} +#include "HelpTextWindow.hpp"
+
+#include <QApplication>
+#include <QString>
+#include <QPalette>
+
+#include "qt_helpers.hpp"
+
+#include "moc_HelpTextWindow.cpp"
+
+HelpTextWindow::HelpTextWindow (QString const& title, QString const& text, QFont const& font, QWidget * parent)
+ : QLabel {parent, Qt::WindowCloseButtonHint | Qt::WindowMinimizeButtonHint}
+{
+ setWindowTitle(QApplication::applicationName () + " - " + title);
+ setMargin (10);
+ setBackgroundRole (QPalette::Base);
+ setAutoFillBackground (true);
+ setStyleSheet (font_as_stylesheet (font));
+ setText (text);
+ setMinimumSize (sizeHint ());
+}
|
