Signals | Public Member Functions | List of all members
openfluid::ui::common::PathsManagementWidget Class Reference

#include <ui/common/PathsManagementWidget.hpp>

Inheritance diagram for openfluid::ui::common::PathsManagementWidget:
Inheritance graph
[legend]
Collaboration diagram for openfluid::ui::common::PathsManagementWidget:
Collaboration graph
[legend]

Signals

void pathsUpdated ()
 

Public Member Functions

 PathsManagementWidget (QWidget *Parent=nullptr)
 
 ~PathsManagementWidget ()
 
QStringList getPathsList () const
 
void setPathsList (const QStringList &Paths)
 
void setAllowEmpty (bool Empty)
 

Constructor & Destructor Documentation

openfluid::ui::common::PathsManagementWidget::PathsManagementWidget ( QWidget *  Parent = nullptr)
openfluid::ui::common::PathsManagementWidget::~PathsManagementWidget ( )

Member Function Documentation

QStringList openfluid::ui::common::PathsManagementWidget::getPathsList ( ) const

Returns the ordered list of paths

Returns
The ordered lists of paths
void openfluid::ui::common::PathsManagementWidget::pathsUpdated ( )
signal
void openfluid::ui::common::PathsManagementWidget::setAllowEmpty ( bool  Empty)
inline

Sets if empty paths list is allowed. If set to false, at least one path must remains in the list and cannot be removed.

Parameters
[in]EmptyThe flag to allow an empty paths list
void openfluid::ui::common::PathsManagementWidget::setPathsList ( const QStringList &  Paths)

Sets the ordered list of paths. Existing paths in the list are removed before setting the paths list

Parameters
[in]PathsThe ordered lists of paths

The documentation for this class was generated from the following file: