commit 21c3175b06cdab6c544b289e899a55d741af7475 Author: alessandro90 Date: Fri Sep 21 12:12:32 2018 +0200 First commit. Just a splitter+tabWidget diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1f84ba0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +__pycache__ +Data diff --git a/icons_imgs/search_icon.png b/icons_imgs/search_icon.png new file mode 100644 index 0000000..5058f7e Binary files /dev/null and b/icons_imgs/search_icon.png differ diff --git a/main.py b/main.py new file mode 100644 index 0000000..1215da2 --- /dev/null +++ b/main.py @@ -0,0 +1,21 @@ +import sys +import os +from PyQt5.QtWidgets import (QMainWindow, + QApplication,) +from PyQt5.QtGui import QPixmap +from PyQt5 import uic + +qt_creator_file = "main_window.ui" + +Ui_MainWindow, _ = uic.loadUiType(qt_creator_file) + +class MyApp(QMainWindow, Ui_MainWindow): + def __init__(self): + super().__init__() + self.setupUi(self) + +if __name__ == '__main__': + my_app = QApplication(sys.argv) + w = MyApp() + w.show() + sys.exit(my_app.exec_()) \ No newline at end of file diff --git a/main_window.ui b/main_window.ui new file mode 100644 index 0000000..309a8ff --- /dev/null +++ b/main_window.ui @@ -0,0 +1,164 @@ + + + MainWindow + + + + 0 + 0 + 800 + 527 + + + + MainWindow + + + background-color: rgb(90, 90, 90); + + + + + + + Qt::Horizontal + + + + + + + + + + + + Search a signal name. + + + color: rgb(255, 255, 255); + + + + + + + + 0 + 0 + + + + + 20 + 20 + + + + + 20 + 20 + + + + + + + icons_imgs/search_icon.png + + + true + + + + + + + + + + 0 + 0 + + + + color: rgb(255, 255, 255); + + + + + + + + true + + + color: rgb(255, 255, 255); + + + QTabWidget::Triangular + + + 0 + + + true + + + + Main + + + + + Filters + + + + + + + + + + + 0 + 0 + 800 + 21 + + + + color: rgb(255, 255, 255); + + + + color: rgb(255, 255, 255); + + + File + + + + + + Updates + + + + + + + + color: rgb(255, 255, 255); + + + + + Exit + + + + + +