pyleecan.GUI.Tools.WPathSelector.WPathSelector module

class WPathSelector(parent=None)[source]

Bases: Ui_WPathSelector, 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>