WPathSelector module

class WPathSelector(parent=None)[source]

Bases: pyleecan.GUI.Tools.WPathSelector.Ui_WPathSelector.Ui_WPathSelector, PySide2.QtWidgets.QWidget

Widget to select the path to a file or a folder

pathChanged
update()[source]

Update the widget to match the value of the properties

Parameters

self (WPathSelector) – A WPathSelector object

get_path()[source]

Return the current path

set_path_txt(path)[source]

Set the line edit text

set_obj_path()[source]

Update the object with the current path (if correct)

select_path()[source]

Open a popup to select the correct path

staticMetaObject = <PySide2.QtCore.QMetaObject object>