11/06/2021

This commit is contained in:
VFX - Visual Effects
2021-06-11 17:55:05 -03:00
parent bd6ea24b41
commit c9bea86135
4 changed files with 11 additions and 2 deletions

View File

@@ -160,7 +160,7 @@ class Ui_MainPages(object):
self.retranslateUi(MainPages) self.retranslateUi(MainPages)
self.pages.setCurrentIndex(1) self.pages.setCurrentIndex(0)
QMetaObject.connectSlotsByName(MainPages) QMetaObject.connectSlotsByName(MainPages)

View File

@@ -460,6 +460,14 @@ class SetupMainWindow:
) )
self.line_edit.setMinimumHeight(30) self.line_edit.setMinimumHeight(30)
# TOGGLE BUTTON
self.toggle_button = PyToggle(
width = 50,
bg_color = self.themes["app_color"]["dark_two"],
circle_color = self.themes["app_color"]["icon_color"],
active_color = self.themes["app_color"]["context_color"]
)
# TABLE WIDGETS # TABLE WIDGETS
self.table_widget = PyTableWidget( self.table_widget = PyTableWidget(
radius = 8, radius = 8,
@@ -521,6 +529,7 @@ class SetupMainWindow:
self.ui.load_pages.row_3_layout.addWidget(self.icon_button_3) self.ui.load_pages.row_3_layout.addWidget(self.icon_button_3)
self.ui.load_pages.row_3_layout.addWidget(self.push_button_1) self.ui.load_pages.row_3_layout.addWidget(self.push_button_1)
self.ui.load_pages.row_3_layout.addWidget(self.push_button_2) self.ui.load_pages.row_3_layout.addWidget(self.push_button_2)
self.ui.load_pages.row_3_layout.addWidget(self.toggle_button)
self.ui.load_pages.row_4_layout.addWidget(self.line_edit) self.ui.load_pages.row_4_layout.addWidget(self.line_edit)
self.ui.load_pages.row_5_layout.addWidget(self.table_widget) self.ui.load_pages.row_5_layout.addWidget(self.table_widget)

BIN
icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 KiB

View File

@@ -215,7 +215,7 @@ if __name__ == "__main__":
# APPLICATION # APPLICATION
# /////////////////////////////////////////////////////////////// # ///////////////////////////////////////////////////////////////
app = QApplication(sys.argv) app = QApplication(sys.argv)
# app.setWindowIcon(QIcon("icon.ico")) app.setWindowIcon(QIcon("icon.ico"))
window = MainWindow() window = MainWindow()
# EXEC APP # EXEC APP