diff --git a/src/main.py b/src/main.py new file mode 100755 index 0000000..0c0f302 --- /dev/null +++ b/src/main.py @@ -0,0 +1,36 @@ +#!/usr/bin/python3 +# -*- coding: utf-8 -*- + +""" +Copyright 2018 Lubuntu Developers + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +""" + +import sys +import PyQt5.QtCore +from PyQt5.QtWidgets import QApplication,QWidget +from PyQt5.uic import loadUi + +class LubuntuAbout(QWidget): + def __init__(self): + super(LubuntuAbout, self).__init__() + loadUi("main.ui", self) + self.setWindowTitle("About Lubuntu") + +if __name__ == "__main__": + about = QApplication(sys.argv) + aboutwidget = LubuntuAbout() + aboutwidget.show() + sys.exit(about.exec_())