Revert "moved all resource files to "ui" directory"

This reverts commit 8c7f3fd930.
This commit is contained in:
Rinaldus 2016-03-01 11:56:43 +03:00
parent 8c7f3fd930
commit 9c5033ee2e
8 changed files with 3111 additions and 3114 deletions

View File

@ -1,7 +1,5 @@
#!/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,

10
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

@ -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,7 +56,6 @@
</layout>
</widget>
<resources>
<include location="resources.qrc"/>
<include location="../resources.qrc"/>
</resources>
<connections/>

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

@ -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 'main.ui'
# Form implementation generated from reading ui file 'ui/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 'settings.ui'
# Form implementation generated from reading ui file 'ui/settings.ui'
#
# Created by: PyQt5 UI code generator 5.5.1
#