Skip to content

MrCl0wnLab/Python_PySide2_DashInfosecGreen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python PySide2 DashBoard InfoSec Green

Python 3.8 Build Build GitHub

This is the study of an interface with PySide2 / Python - DashBoard - Modern Gui [Qt Designer, PySide2]

Using Qt Designer

Qt Designer is the Qt tool for designing and building graphical user interfaces (GUIs) with Qt Widgets. You can compose and customize your windows or dialogs in a what-you-see-is-what-you-get (WYSIWYG) manner, and test them using different styles and resolutions.

Screenshot Qt Designer: https://doc.qt.io/qt-5/qtdesigner-manual.html

Installation

Use the package manager pip.

Pip

pip install PySide2

Use

$ python main.py

Screenshot

Files

├── assets
│   ├── files.py
│   ├── files.qrc
│   ├── icons
│   └── *.png
│   ├── __init__.py
│   └── prints
│       ├── form.png
│       └── qt.png
├── DashInfoSec.ui
├── LICENSE
├── main.py
├── README.md
└── ui_DashInfoSec.py
4 directories, 391 files

Select tab dashboard

# CLICK SELECT DASHBOARD
self.ui_main.pushButton_DashBoard.clicked.connect(lambda: self.click_select_tab(0))
# CLICK SELECT QUICKSTART
self.ui_main.pushButton_QuickStart.clicked.connect(lambda: self.click_select_tab(1))
# CLICK SELECT ASSETS
self.ui_main.pushButton_Assets.clicked.connect(lambda: self.click_select_tab(2))
# CLICK SELECT REPORT
self.ui_main.pushButton_Report.clicked.connect(lambda: self.click_select_tab(3))
# CLICK SELECT CONFIG
self.ui_main.pushButton_Config.clicked.connect(lambda: self.click_select_tab(4))
# CLICK SELECT ABOUT
self.ui_main.pushButton_About.clicked.connect(lambda: self.click_select_tab(5))

def click_select_tab(self,index_int:int):
    self.ui_main.stackedWidget_Control.setCurrentIndex(index_int)

My study reference

About

This is the study of an interface with PySide2 / Python - DashBoard - Modern Gui [Qt Designer, PySide2]

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages