1- # Form implementation generated from reading ui file '/home/levi/main/Blocks_Screen /BlocksScreen/lib/ui/controlStackedWidget.ui'
1+ # Form implementation generated from reading ui file '/home/levi/main/BlocksScreen /BlocksScreen/lib/ui/controlStackedWidget.ui'
22#
33# Created by: PyQt6 UI code generator 6.7.1
44#
@@ -150,30 +150,6 @@ def setupUi(self, controlStackedWidget):
150150 self .cp_z_tilt_btn .setProperty ("icon_pixmap" , QtGui .QPixmap (":/z_levelling/media/btn_icons/bed_levelling.svg" ))
151151 self .cp_z_tilt_btn .setObjectName ("cp_z_tilt_btn" )
152152 self .cp_content_layout .addWidget (self .cp_z_tilt_btn , 1 , 1 , 1 , 1 )
153- self .cp_printer_settings_btn = BlocksCustomButton (parent = self .control_page )
154- sizePolicy = QtWidgets .QSizePolicy (QtWidgets .QSizePolicy .Policy .Minimum , QtWidgets .QSizePolicy .Policy .Fixed )
155- sizePolicy .setHorizontalStretch (0 )
156- sizePolicy .setVerticalStretch (0 )
157- sizePolicy .setHeightForWidth (self .cp_printer_settings_btn .sizePolicy ().hasHeightForWidth ())
158- self .cp_printer_settings_btn .setSizePolicy (sizePolicy )
159- self .cp_printer_settings_btn .setMinimumSize (QtCore .QSize (10 , 80 ))
160- self .cp_printer_settings_btn .setMaximumSize (QtCore .QSize (250 , 80 ))
161- font = QtGui .QFont ()
162- font .setFamily ("Momcake" )
163- font .setPointSize (19 )
164- font .setItalic (False )
165- font .setStyleStrategy (QtGui .QFont .StyleStrategy .PreferAntialias )
166- self .cp_printer_settings_btn .setFont (font )
167- self .cp_printer_settings_btn .setMouseTracking (False )
168- self .cp_printer_settings_btn .setTabletTracking (True )
169- self .cp_printer_settings_btn .setContextMenuPolicy (QtCore .Qt .ContextMenuPolicy .NoContextMenu )
170- self .cp_printer_settings_btn .setLayoutDirection (QtCore .Qt .LayoutDirection .LeftToRight )
171- self .cp_printer_settings_btn .setStyleSheet ("" )
172- self .cp_printer_settings_btn .setAutoDefault (False )
173- self .cp_printer_settings_btn .setFlat (True )
174- self .cp_printer_settings_btn .setProperty ("icon_pixmap" , QtGui .QPixmap (":/ui/media/btn_icons/printer_settings.svg" ))
175- self .cp_printer_settings_btn .setObjectName ("cp_printer_settings_btn" )
176- self .cp_content_layout .addWidget (self .cp_printer_settings_btn , 2 , 1 , 1 , 1 )
177153 self .cp_switch_print_core_btn = BlocksCustomButton (parent = self .control_page )
178154 sizePolicy = QtWidgets .QSizePolicy (QtWidgets .QSizePolicy .Policy .Minimum , QtWidgets .QSizePolicy .Policy .Fixed )
179155 sizePolicy .setHorizontalStretch (0 )
@@ -198,6 +174,16 @@ def setupUi(self, controlStackedWidget):
198174 self .cp_switch_print_core_btn .setProperty ("icon_pixmap" , QtGui .QPixmap (":/extruder_related/media/btn_icons/switch_print_core.svg" ))
199175 self .cp_switch_print_core_btn .setObjectName ("cp_switch_print_core_btn" )
200176 self .cp_content_layout .addWidget (self .cp_switch_print_core_btn , 2 , 0 , 1 , 1 )
177+ self .blank_2 = QtWidgets .QWidget (parent = self .control_page )
178+ sizePolicy = QtWidgets .QSizePolicy (QtWidgets .QSizePolicy .Policy .Minimum , QtWidgets .QSizePolicy .Policy .Fixed )
179+ sizePolicy .setHorizontalStretch (0 )
180+ sizePolicy .setVerticalStretch (0 )
181+ sizePolicy .setHeightForWidth (self .blank_2 .sizePolicy ().hasHeightForWidth ())
182+ self .blank_2 .setSizePolicy (sizePolicy )
183+ self .blank_2 .setMinimumSize (QtCore .QSize (10 , 80 ))
184+ self .blank_2 .setMaximumSize (QtCore .QSize (250 , 80 ))
185+ self .blank_2 .setObjectName ("blank_2" )
186+ self .cp_content_layout .addWidget (self .blank_2 , 2 , 1 , 1 , 1 )
201187 self .verticalLayout .addLayout (self .cp_content_layout )
202188 controlStackedWidget .addWidget (self .control_page )
203189 self .motion_page = QtWidgets .QWidget ()
@@ -1997,7 +1983,7 @@ def setupUi(self, controlStackedWidget):
19971983 controlStackedWidget .addWidget (self .printer_settings_page )
19981984
19991985 self .retranslateUi (controlStackedWidget )
2000- controlStackedWidget .setCurrentIndex (1 )
1986+ controlStackedWidget .setCurrentIndex (0 )
20011987 QtCore .QMetaObject .connectSlotsByName (controlStackedWidget )
20021988
20031989 def retranslateUi (self , controlStackedWidget ):
@@ -2016,9 +2002,6 @@ def retranslateUi(self, controlStackedWidget):
20162002 self .cp_temperature_btn .setProperty ("class" , _translate ("controlStackedWidget" , "menu_btn" ))
20172003 self .cp_z_tilt_btn .setText (_translate ("controlStackedWidget" , "Z-Tilt" ))
20182004 self .cp_z_tilt_btn .setProperty ("class" , _translate ("controlStackedWidget" , "menu_btn" ))
2019- self .cp_printer_settings_btn .setText (_translate ("controlStackedWidget" , "Printer\n "
2020- "Settings" ))
2021- self .cp_printer_settings_btn .setProperty ("class" , _translate ("controlStackedWidget" , "menu_btn" ))
20222005 self .cp_switch_print_core_btn .setText (_translate ("controlStackedWidget" , "Swap\n "
20232006"Print Core" ))
20242007 self .cp_switch_print_core_btn .setProperty ("class" , _translate ("controlStackedWidget" , "menu_btn" ))
0 commit comments