Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Jscin authored Aug 26, 2020
1 parent 8a62f29 commit 48ea150
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
9 changes: 6 additions & 3 deletions MainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
from PyQt5.QtCore import QDate, Qt
from cryptography.fernet import Fernet
from cypher import Cypher
import update
#from Style import MainStyle
import update, sys, qdarkstyle


# @Author Joshua Scina
# @Version 1.6.1
# @Version 1.7
# Do not try to run this file on it's own it will not function properly


Expand Down Expand Up @@ -65,7 +66,7 @@ def setup(self, MainWindow):
self.p_label.setObjectName("p_label")

self.scrollArea = QtWidgets.QScrollArea(self.centralwidget)
self.scrollArea.setGeometry(QtCore.QRect(80, 240, 271, 261))
self.scrollArea.setGeometry(QtCore.QRect(10, 200, 320, 300))

sizePolicy = QtWidgets.QSizePolicy(
QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed
Expand Down Expand Up @@ -264,6 +265,8 @@ def update(self):
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
app.setStyle("fusion")
app.setStyleSheet(qdarkstyle.load_stylesheet_pyqt5())
MainWindow = QtWidgets.QMainWindow()
ui = Ui_MainWindow()
ui.setup(MainWindow)
Expand Down
8 changes: 4 additions & 4 deletions PyPass.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtGui import QIcon
from cypher import Cypher
import MainWindow
import MainWindow, sys, qdarkstyle

# <-Application entry point->
# @Author Joshua Scina
# @Version 1.6.1
# @Version 1.7
class Ui_LoginWindow(object):
def switch_to_main_window(self):
self.window = QtWidgets.QMainWindow()
Expand All @@ -18,7 +18,6 @@ def setupUi(self, LoginWindow):
LoginWindow.setObjectName("LoginWindow")
LoginWindow.resize(800, 600)
LoginWindow.setWindowIcon(QIcon("locked.ico"))

self.centralwidget = QtWidgets.QWidget(LoginWindow)
self.centralwidget.setObjectName("centralwidget")

Expand Down Expand Up @@ -91,8 +90,9 @@ def retranslateUi(self, LoginWindow):

if __name__ == "__main__":
import sys

app = QtWidgets.QApplication(sys.argv)
app.setStyle("fusion")
app.setStyleSheet(qdarkstyle.load_stylesheet_pyqt5())
LoginWindow = QtWidgets.QMainWindow()
ui = Ui_LoginWindow()
ui.setupUi(LoginWindow)
Expand Down
2 changes: 1 addition & 1 deletion cypher.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# Do Not Edit This Class In Any Way
# @Author Joshua Scina
# @Version 1.6.1
# @Version 1.7


class Cypher:
Expand Down
6 changes: 4 additions & 2 deletions update.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtGui import QIcon
from cypher import Cypher
import MainWindow
import MainWindow, sys, qdarkstyle

# @Author Joshua Scina
# @Version 1.6.1
# @Version 1.7


class Ui_UpdateWindow(object):
Expand Down Expand Up @@ -119,6 +119,8 @@ def retranslateUi(self, UpdateWindow):
import sys

app = QtWidgets.QApplication(sys.argv)
app.setStyle("fusion")
app.setStyleSheet(qdarkstyle.load_stylesheet_pyqt5())
UpdateWindow = QtWidgets.QMainWindow()
ui = Ui_UpdateWindow()
ui.setup2(UpdateWindow)
Expand Down

0 comments on commit 48ea150

Please sign in to comment.