moved all resource files to "ui" directory

This commit is contained in:
Rinaldus 2016-03-01 11:39:29 +03:00
parent 96664ad16a
commit 8c7f3fd930
8 changed files with 3114 additions and 3111 deletions

View File

@ -1,5 +1,7 @@
#!/usr/bin/env python3
import os,sys
sys.path.append("ui")
from PyQt5.QtGui import QIcon, QMouseEvent
from PyQt5.QtWidgets import (QAction, QApplication, QCheckBox, QComboBox,
QDialog, QGridLayout, QGroupBox, QHBoxLayout, QLabel, QLineEdit,

View File

@ -1,10 +0,0 @@
<RCC>
<qresource prefix="/">
<file>icons/refresh.png</file>
<file>icons/dummy.png</file>
<file>icons/menu_quit.png</file>
<file>icons/settings.png</file>
<file>icons/lock.png</file>
<file>icons/unlock.png</file>
</qresource>
</RCC>

View File

@ -20,7 +20,7 @@
<string>Photo Frame</string>
</property>
<property name="windowIcon">
<iconset resource="../resources.qrc">
<iconset resource="resources.qrc">
<normaloff>:/icons/dummy.png</normaloff>:/icons/dummy.png</iconset>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
@ -41,7 +41,7 @@
<string/>
</property>
<property name="pixmap">
<pixmap resource="../resources.qrc">:/icons/dummy.png</pixmap>
<pixmap resource="resources.qrc">:/icons/dummy.png</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
@ -56,6 +56,7 @@
</layout>
</widget>
<resources>
<include location="resources.qrc"/>
<include location="../resources.qrc"/>
</resources>
<connections/>

10
ui/resources.qrc Normal file
View File

@ -0,0 +1,10 @@
<RCC>
<qresource prefix="/">
<file>../icons/refresh.png</file>
<file>../icons/dummy.png</file>
<file>../icons/menu_quit.png</file>
<file>../icons/settings.png</file>
<file>../icons/lock.png</file>
<file>../icons/unlock.png</file>
</qresource>
</RCC>

File diff suppressed because it is too large Load Diff

View File

@ -14,7 +14,7 @@
<string>Settings</string>
</property>
<property name="windowIcon">
<iconset resource="../resources.qrc">
<iconset resource="resources.qrc">
<normaloff>:/icons/settings.png</normaloff>:/icons/settings.png</iconset>
</property>
<widget class="QLineEdit" name="txtPath">
@ -119,7 +119,7 @@
</widget>
</widget>
<resources>
<include location="../resources.qrc"/>
<include location="resources.qrc"/>
</resources>
<connections/>
</ui>

View File

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/main.ui'
# Form implementation generated from reading ui file 'main.ui'
#
# Created by: PyQt5 UI code generator 5.5.1
#

View File

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/settings.ui'
# Form implementation generated from reading ui file 'settings.ui'
#
# Created by: PyQt5 UI code generator 5.5.1
#