Skip to content

Commit

Permalink
Add DatasetImpl::setGuiName(const QString& guiName)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasKroes committed Nov 20, 2024
1 parent b1e70ec commit 77af8f7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ManiVault/src/Set.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,11 @@ QString DatasetImpl::getGuiName() const
return text();
}

void DatasetImpl::setGuiName(const QString& guiName)
{
setText(guiName);
}

//void DatasetImpl::setText(const QString& text)
//{
// WidgetAction::setText(text);
Expand Down
6 changes: 6 additions & 0 deletions ManiVault/src/Set.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,12 @@ class CORE_EXPORT DatasetImpl : public gui::WidgetAction

/** Get the GUI name of the dataset */
QString getGuiName() const;

/**
* Set gui name to \p guiName
* @param guiName GUI name
*/
void setGuiName(const QString& guiName);

//void setText(const QString& text);

Expand Down

0 comments on commit 77af8f7

Please sign in to comment.