subtle UI improvements

metadata
Wenzel Jakob 2010-10-19 01:15:29 +02:00
parent d69943439d
commit 3d56ab699d
3 changed files with 6 additions and 2 deletions

View File

@ -40,6 +40,7 @@ LoadDialog::LoadDialog(QWidget *parent) :
font.setStyleHint(QFont::TypeWriter); font.setStyleHint(QFont::TypeWriter);
#if defined(__OSX__) #if defined(__OSX__)
font.setPointSize(10); font.setPointSize(10);
ui->heading->font().setPointSize(14);
#else #else
font.setPointSize(8); font.setPointSize(8);
#endif #endif

View File

@ -33,6 +33,9 @@ public:
~LoadDialog(); ~LoadDialog();
void close(); void close();
void closeEvent(QCloseEvent *e) {
e->ignore();
}
protected slots: protected slots:
void onTextMessage(ELogLevel level, const QString &message); void onTextMessage(ELogLevel level, const QString &message);
void on_toggleButton_clicked(); void on_toggleButton_clicked();

View File

@ -24,10 +24,10 @@
<enum>QLayout::SetDefaultConstraint</enum> <enum>QLayout::SetDefaultConstraint</enum>
</property> </property>
<item row="0" column="0" colspan="2"> <item row="0" column="0" colspan="2">
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="heading">
<property name="font"> <property name="font">
<font> <font>
<pointsize>14</pointsize> <pointsize>12</pointsize>
<weight>75</weight> <weight>75</weight>
<bold>true</bold> <bold>true</bold>
</font> </font>