1
0
mirror of https://gitlab.com/pholy/OSCAR-code.git synced 2025-04-08 12:10:43 +00:00

Icon size cleanups

This commit is contained in:
Mark Watkins 2011-06-26 22:25:52 +10:00
parent 25accad293
commit 56bd288e46
4 changed files with 42 additions and 8 deletions

View File

@ -10,5 +10,6 @@
<file>icons/forward.png</file>
<file>icons/edit-find.png</file>
<file>icons/back.png</file>
<file>fonts/FreeSans.ttf</file>
</qresource>
</RCC>

View File

@ -78,7 +78,7 @@
</widget>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>2</number>
<number>0</number>
</property>
<property name="movable">
<bool>true</bool>
@ -96,6 +96,9 @@
</property>
<item>
<widget class="QWebView" name="webView">
<property name="cursor">
<cursorShape>IBeamCursor</cursorShape>
</property>
<property name="url">
<url>
<string>about:blank</string>

View File

@ -6,6 +6,7 @@
//#include <QtPlugin>
#include <QtGui/QApplication>
#include <QFontDatabase>
#include "mainwindow.h"
#include "SleepLib/profiles.h"
@ -19,6 +20,8 @@ int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QFontDatabase::addApplicationFont(":/fonts/freesans.ttf");
a.setFont(QFont("FreeSans"));
PRS1Loader::Register();
CMS50Loader::Register();
ZEOLoader::Register();

View File

@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>1094</width>
<height>514</height>
<width>1089</width>
<height>603</height>
</rect>
</property>
<property name="sizePolicy">
@ -148,13 +148,22 @@
<number>0</number>
</property>
<item>
<widget class="QToolButton" name="homeButton">
<widget class="QToolButton" name="backButton">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="Resources.qrc">
<normaloff>:/icons/go-home.png</normaloff>:/icons/go-home.png</iconset>
<normaloff>:/icons/back.png</normaloff>:/icons/back.png</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
@ -167,16 +176,34 @@
<iconset resource="Resources.qrc">
<normaloff>:/icons/forward.png</normaloff>:/icons/forward.png</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="backButton">
<widget class="QToolButton" name="homeButton">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="Resources.qrc">
<normaloff>:/icons/back.png</normaloff>:/icons/back.png</iconset>
<normaloff>:/icons/go-home.png</normaloff>:/icons/go-home.png</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
@ -507,7 +534,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>1094</width>
<width>1089</width>
<height>25</height>
</rect>
</property>