Skip to content

Commit

Permalink
adding new image to the tool
Browse files Browse the repository at this point in the history
  • Loading branch information
furqan-geeks committed Sep 4, 2014
1 parent f40a855 commit 227e083
Show file tree
Hide file tree
Showing 107 changed files with 6,943 additions and 6 deletions.
14 changes: 13 additions & 1 deletion osx/MDQC.py
Expand Up @@ -6,7 +6,8 @@

from PySide.QtCore import *
from PySide.QtGui import *
from os import path, walk
from os import path, walk, getcwd, sep

import logging
import datetime
import qcdict
Expand Down Expand Up @@ -89,6 +90,17 @@ def __init__(self):
self.scan.clicked.connect(self.scanner)

self.setCentralWidget(self.widget)

try:
self.setWindowIcon(QIcon(path.join(getcwd() + str(sep), 'assets'+str(sep)+'avpreserve-2.png')))
except:
try:
self.setWindowIcon(QIcon(path.join(sys._MEIPASS, 'assets' + (str(sep)) + 'avpreserve-2.png')))
except:
pass
pass



# Checking for exif Tool and media Info tool if any single of these tool don't exists it will exit the Application
def checkForTool(self):
Expand Down
Binary file added osx/assets/avpreserve-1.ico
Binary file not shown.
Binary file added osx/assets/avpreserve-1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added osx/assets/avpreserve-2.ico
Binary file not shown.
Binary file added osx/assets/avpreserve-2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added osx/assets/avpreserve-3.ico
Binary file not shown.
Binary file added osx/assets/avpreserve-3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
@@ -0,0 +1,19 @@

def __load():
import imp, os, sys
ext = 'PySide/QtCore.so'
for path in sys.path:
if not path.endswith('lib-dynload'):
continue
ext = os.path.join(path, ext)
if os.path.exists(ext):
#print("py2app extension module", __name__, "->", ext)
mod = imp.load_dynamic(__name__, ext)
#mod.frozen = 1
break
else:
raise ImportError(repr(ext) + " not found")
else:
raise ImportError("lib-dynload not found")
__load()
del __load
@@ -0,0 +1,19 @@

def __load():
import imp, os, sys
ext = 'PySide/QtGui.so'
for path in sys.path:
if not path.endswith('lib-dynload'):
continue
ext = os.path.join(path, ext)
if os.path.exists(ext):
#print("py2app extension module", __name__, "->", ext)
mod = imp.load_dynamic(__name__, ext)
#mod.frozen = 1
break
else:
raise ImportError(repr(ext) + " not found")
else:
raise ImportError("lib-dynload not found")
__load()
del __load
@@ -0,0 +1,19 @@

def __load():
import imp, os, sys
ext = 'PySide/QtNetwork.so'
for path in sys.path:
if not path.endswith('lib-dynload'):
continue
ext = os.path.join(path, ext)
if os.path.exists(ext):
#print("py2app extension module", __name__, "->", ext)
mod = imp.load_dynamic(__name__, ext)
#mod.frozen = 1
break
else:
raise ImportError(repr(ext) + " not found")
else:
raise ImportError("lib-dynload not found")
__load()
del __load
Binary file not shown.
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist version="0.9">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>Python</string>
<key>CFBundleGetInfoString</key>
<string>Python Runtime and Library</string>
<key>CFBundleIdentifier</key>
<string>org.python.python</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Python</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.7.5</string>
<key>CFBundleLongVersionString</key>
<string>2.7.5, (c) 2004-2013 Python Software Foundation.</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>2.7.5</string>
</dict>
</plist>

0 comments on commit 227e083

Please sign in to comment.