updated grid UI design for OSX

This commit is contained in:
Luis Ángel San Martín 2014-07-19 08:57:48 +02:00
parent 07b2cbb7d0
commit 8e6347801b
7 changed files with 17 additions and 4 deletions

View File

@ -209,6 +209,9 @@ SOURCES += grid_comics_view.cpp \
comics_view_transition.cpp
RESOURCES += qml.qrc
win32:RESOURCES += qml_win.qrc
unix:!macx:RESOURCES += qml_win.qrc
macx:RESOURCES += qml_osx.qrc
} else {
Release:DESTDIR = ../release

View File

@ -64,8 +64,8 @@ void GridComicsView::setModel(TableModel *model)
}
#ifdef Q_OS_MAC
ctxt->setContextProperty("backgroundColor", "#FAFAFA");
ctxt->setContextProperty("cellColor", "#EDEDED");
ctxt->setContextProperty("backgroundColor", "#EDEDED");
ctxt->setContextProperty("cellColor", "#FFFFFF");
ctxt->setContextProperty("selectedColor", "#DDDDDD");
ctxt->setContextProperty("titleColor", "#121212");
ctxt->setContextProperty("textColor", "#636363");

View File

@ -2,8 +2,6 @@
<qresource prefix="/">
<file>qml/GridComicsView.qml</file>
<file>qml/YACReaderScrollView.qml</file>
<file>qml/page.png</file>
<file>qml/star.png</file>
<file>qml/tick.png</file>
<file>qml/reading.png</file>
</qresource>

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 B

View File

@ -0,0 +1,6 @@
<RCC>
<qresource prefix="/">
<file alias="qml/page.png">qml/page-macosx.png</file>
<file alias="qml/star.png">qml/star-macosx.png</file>
</qresource>
</RCC>

View File

@ -0,0 +1,6 @@
<RCC>
<qresource prefix="/">
<file>qml/page.png</file>
<file>qml/star.png</file>
</qresource>
</RCC>