mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-17 03:00:46 +00:00
Icon size cleanups
This commit is contained in:
parent
25accad293
commit
56bd288e46
@ -10,5 +10,6 @@
|
|||||||
<file>icons/forward.png</file>
|
<file>icons/forward.png</file>
|
||||||
<file>icons/edit-find.png</file>
|
<file>icons/edit-find.png</file>
|
||||||
<file>icons/back.png</file>
|
<file>icons/back.png</file>
|
||||||
|
<file>fonts/FreeSans.ttf</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
5
daily.ui
5
daily.ui
@ -78,7 +78,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
<widget class="QTabWidget" name="tabWidget">
|
<widget class="QTabWidget" name="tabWidget">
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>2</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="movable">
|
<property name="movable">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
@ -96,6 +96,9 @@
|
|||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QWebView" name="webView">
|
<widget class="QWebView" name="webView">
|
||||||
|
<property name="cursor">
|
||||||
|
<cursorShape>IBeamCursor</cursorShape>
|
||||||
|
</property>
|
||||||
<property name="url">
|
<property name="url">
|
||||||
<url>
|
<url>
|
||||||
<string>about:blank</string>
|
<string>about:blank</string>
|
||||||
|
3
main.cpp
3
main.cpp
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
//#include <QtPlugin>
|
//#include <QtPlugin>
|
||||||
#include <QtGui/QApplication>
|
#include <QtGui/QApplication>
|
||||||
|
#include <QFontDatabase>
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "SleepLib/profiles.h"
|
#include "SleepLib/profiles.h"
|
||||||
|
|
||||||
@ -19,6 +20,8 @@ int main(int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
QApplication a(argc, argv);
|
QApplication a(argc, argv);
|
||||||
|
|
||||||
|
QFontDatabase::addApplicationFont(":/fonts/freesans.ttf");
|
||||||
|
a.setFont(QFont("FreeSans"));
|
||||||
PRS1Loader::Register();
|
PRS1Loader::Register();
|
||||||
CMS50Loader::Register();
|
CMS50Loader::Register();
|
||||||
ZEOLoader::Register();
|
ZEOLoader::Register();
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>1094</width>
|
<width>1089</width>
|
||||||
<height>514</height>
|
<height>603</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
@ -148,13 +148,22 @@
|
|||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QToolButton" name="homeButton">
|
<widget class="QToolButton" name="backButton">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>...</string>
|
<string>...</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="Resources.qrc">
|
<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>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@ -167,16 +176,34 @@
|
|||||||
<iconset resource="Resources.qrc">
|
<iconset resource="Resources.qrc">
|
||||||
<normaloff>:/icons/forward.png</normaloff>:/icons/forward.png</iconset>
|
<normaloff>:/icons/forward.png</normaloff>:/icons/forward.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="iconSize">
|
||||||
|
<size>
|
||||||
|
<width>24</width>
|
||||||
|
<height>24</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="autoRaise">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QToolButton" name="backButton">
|
<widget class="QToolButton" name="homeButton">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>...</string>
|
<string>...</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="Resources.qrc">
|
<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>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@ -507,7 +534,7 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>1094</width>
|
<width>1089</width>
|
||||||
<height>25</height>
|
<height>25</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
Loading…
Reference in New Issue
Block a user