Inital commit. Sorta kinda has a menu bar with option to open a cbz file. It then opens the first image in the default image viewer. Working on getting 'next' button added.

This commit is contained in:
Dan
2020-08-22 21:51:43 -04:00
commit 41458e3285
5 changed files with 212 additions and 0 deletions

20
qt/main.py Normal file
View File

@@ -0,0 +1,20 @@
import sys
import readergui as rg
from PyQt5.QtWidgets import QMainWindow, QApplication
from PyQt5.QtCore import Qt
class Window(QMainWindow):
def __init__(self):
super(Window, self).__init__()
self.ui = rg.Ui_MainWindow()
self.ui.setupUi(self)
self.ui.nextButton.clicked.connect(self.but_test)
def but_test(self):
print("button clicked")
if __name__ == '__main__':
app = QApplication(sys.argv)
window = Window()
window.show()
sys.exit(app.exec())