Add initial Qt stub

This commit is contained in:
Danny Robson 2020-06-14 09:40:33 +10:00
parent 13e1f7650a
commit eb88f55cef
2 changed files with 21 additions and 0 deletions

View File

@ -5,3 +5,6 @@ dateparser
TurboGears2 TurboGears2
kajiki kajiki
webhelpers2 webhelpers2
PyQt5
PyQt5-stubs

18
src/edible_elephant/qt.py Executable file
View File

@ -0,0 +1,18 @@
#!/usr/bin/env python3
if __name__ == '__main__':
def main():
from PyQt5.QtWidgets import QApplication, QWidget, QPushButton, QVBoxLayout
app = QApplication([])
window = QWidget()
layout = QVBoxLayout()
layout.addWidget(QPushButton('Top'))
layout.addWidget(QPushButton('Bottom'))
window.setLayout(layout)
window.show()
app.exec_()
main()