diff --git a/requirements.txt b/requirements.txt index 81d3580..1bf84d8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,3 +5,6 @@ dateparser TurboGears2 kajiki webhelpers2 + +PyQt5 +PyQt5-stubs diff --git a/src/edible_elephant/qt.py b/src/edible_elephant/qt.py new file mode 100755 index 0000000..7912eaa --- /dev/null +++ b/src/edible_elephant/qt.py @@ -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()