-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgui_run.py
More file actions
40 lines (32 loc) · 1.14 KB
/
gui_run.py
File metadata and controls
40 lines (32 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
__author__ = 'Ahmad Abdulnasir Shu'aib <[email protected]>'
__homepage__ = https://ahmadabdulnasir.com.ng
__copyright__ = 'Copyright (c) 2020, salafi'
__version__ = "0.01t"
"""
import sys
from PyQt5.QtWidgets import (QMainWindow, QApplication,)
from PyQt5.uic import loadUi
from PyQt5.QtGui import QImage, QPixmap, QIcon, QPalette, QBrush
from PyQt5.QtCore import QTimer, pyqtSlot, QSize
import os
from controllers import path_gen
class MainWindow(QMainWindow):
''' Qt window object that defines the window of faces tracking '''
def __init__(self, parent):
super(MainWindow, self).__init__()
loadUi(path_gen.mainUiFile, self) # Loading UI
self.setWindowTitle("DLT PDF Manupluations Tool")
self.dialogs = list() # To be able raise another window (dialog)
# Setting Background image
def boot():
app = QApplication([])
main = MainWindow(None)
main.setToolTip("DaboLinux Technologies PDF Manupluations Tool")
main.setWindowIcon(QIcon(path_gen.iconImg))
main.show()
sys.exit(app.exec_())
if __name__ == "__main__":
boot()