qutebrowser/qutebrowser/app.py
2013-12-15 20:33:43 +01:00

18 lines
392 B
Python

import sys
from PyQt5.QtWidgets import QWidget, QApplication
from qutebrowser.widgets.mainwindow import MainWindow
def main():
app = QApplication(sys.argv)
mw = MainWindow()
tab = QWidget()
tab2 = QWidget()
tab.setObjectName("tab")
tab2.setObjectName("tab2")
mw.tabs.addTab(tab, "test")
mw.tabs.addTab(tab2, "test2")
mw.show()
sys.exit(app.exec_())