Skip to content

Commit e785774

Browse files
author
PyCompiler ARK++
committed
juste an rewiew for the ui
1 parent c3622cd commit e785774

2 files changed

Lines changed: 1 addition & 52 deletions

File tree

Core/init_ui.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,6 @@ def init_ui(self):
256256
self.btn_remove_file = self.ui.findChild(QPushButton, "btn_remove_file")
257257
self.btn_build_all = self.ui.findChild(QPushButton, "btn_build_all")
258258
self.btn_cancel_all = self.ui.findChild(QPushButton, "btn_cancel_all")
259-
self.btn_export_config = self.ui.findChild(QPushButton, "btn_export_config")
260-
self.btn_import_config = self.ui.findChild(QPushButton, "btn_import_config")
261259
self.btn_help = self.ui.findChild(QPushButton, "btn_help")
262260
self.btn_suggest_deps = self.ui.findChild(QPushButton, "btn_suggest_deps")
263261
self.btn_api_loader = self.ui.findChild(QPushButton, "btn_api_loader")
@@ -290,14 +288,6 @@ def init_ui(self):
290288
self.btn_build_all.setToolTip(
291289
"Lancer la compilation de tous les fichiers sélectionnés."
292290
)
293-
if self.btn_export_config:
294-
self.btn_export_config.setToolTip(
295-
"Exporter la configuration actuelle dans un fichier JSON."
296-
)
297-
if self.btn_import_config:
298-
self.btn_import_config.setToolTip(
299-
"Importer une configuration depuis un fichier JSON."
300-
)
301291
if self.btn_cancel_all:
302292
self.btn_cancel_all.setToolTip("Annuler toutes les compilations en cours.")
303293
if self.btn_remove_file:
@@ -556,8 +546,6 @@ def browse_output_dir():
556546
self.btn_select_icon.clicked.connect(self.select_icon)
557547
self.btn_build_all.clicked.connect(self.compile_all)
558548
self.btn_cancel_all.clicked.connect(self.cancel_all_compilations)
559-
self.btn_export_config.clicked.connect(self.export_config)
560-
self.btn_import_config.clicked.connect(self.import_config)
561549

562550
from bcasl import open_bc_loader_dialog
563551

ui/ui_design.ui

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -143,46 +143,7 @@
143143
</layout>
144144
</widget>
145145
</item>
146-
<item>
147-
<widget class="QFrame" name="frame_config_actions">
148-
<property name="frameShape">
149-
<enum>QFrame::Shape::StyledPanel</enum>
150-
</property>
151-
<layout class="QVBoxLayout" name="layout_config_actions">
152-
<property name="spacing">
153-
<number>8</number>
154-
</property>
155-
<item>
156-
<widget class="QLabel" name="label_config_actions">
157-
<property name="text">
158-
<string>Configuration</string>
159-
</property>
160-
</widget>
161-
</item>
162-
<item>
163-
<widget class="QPushButton" name="btn_export_config">
164-
<property name="text">
165-
<string>💾 Exporter</string>
166-
</property>
167-
<property name="toolTip">
168-
<string>Exporter la configuration actuelle</string>
169-
</property>
170-
</widget>
171-
</item>
172-
<item>
173-
<widget class="QPushButton" name="btn_import_config">
174-
<property name="text">
175-
<string>📥 Importer</string>
176-
</property>
177-
<property name="toolTip">
178-
<string>Importer une configuration</string>
179-
</property>
180-
</widget>
181-
</item>
182-
</layout>
183-
</widget>
184-
</item>
185-
<item>
146+
<item>
186147
<widget class="QFrame" name="frame_tools">
187148
<property name="frameShape">
188149
<enum>QFrame::Shape::StyledPanel</enum>

0 commit comments

Comments
 (0)