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:
20
qt/main.py
Normal file
20
qt/main.py
Normal 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())
|
||||
Reference in New Issue
Block a user