Framing widget done
This commit is contained in:
@ -52,7 +52,7 @@ class ExportStage(PipelineStageWidget):
|
||||
super().__init__(manager, logger, default_stage_out="unused")
|
||||
# tags for our “Save As” dialog
|
||||
self._save_dialog_tag = dpg.generate_uuid()
|
||||
self._save_path = None
|
||||
self._save_path = f"{os.getcwd()}/out.png"
|
||||
|
||||
def create_pipeline_stage_content(self):
|
||||
# Button to pop up the file-save dialog
|
||||
@ -74,7 +74,7 @@ class ExportStage(PipelineStageWidget):
|
||||
dpg.add_file_extension("All files {.*}")
|
||||
|
||||
with dpg.child_window(autosize_x=True, autosize_y=True, horizontal_scrollbar=True):
|
||||
self.path_label = dpg.add_text("...")
|
||||
self.path_label = dpg.add_text("out.png")
|
||||
|
||||
def _on_save_selected(self, sender, app_data):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user