From 3d56ab699dff1b8c0f192321fcd1aa8e85417547 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Tue, 19 Oct 2010 01:15:29 +0200 Subject: [PATCH] subtle UI improvements --- src/qtgui/loaddlg.cpp | 1 + src/qtgui/loaddlg.h | 3 +++ src/qtgui/loaddlg.ui | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/qtgui/loaddlg.cpp b/src/qtgui/loaddlg.cpp index 5813e2ba..d4dd5e80 100644 --- a/src/qtgui/loaddlg.cpp +++ b/src/qtgui/loaddlg.cpp @@ -40,6 +40,7 @@ LoadDialog::LoadDialog(QWidget *parent) : font.setStyleHint(QFont::TypeWriter); #if defined(__OSX__) font.setPointSize(10); + ui->heading->font().setPointSize(14); #else font.setPointSize(8); #endif diff --git a/src/qtgui/loaddlg.h b/src/qtgui/loaddlg.h index 2bcaffce..e60c4165 100644 --- a/src/qtgui/loaddlg.h +++ b/src/qtgui/loaddlg.h @@ -33,6 +33,9 @@ public: ~LoadDialog(); void close(); + void closeEvent(QCloseEvent *e) { + e->ignore(); + } protected slots: void onTextMessage(ELogLevel level, const QString &message); void on_toggleButton_clicked(); diff --git a/src/qtgui/loaddlg.ui b/src/qtgui/loaddlg.ui index ec57100c..668cbe55 100644 --- a/src/qtgui/loaddlg.ui +++ b/src/qtgui/loaddlg.ui @@ -24,10 +24,10 @@ QLayout::SetDefaultConstraint - + - 14 + 12 75 true