Adds function to raise a section-content.

This commit is contained in:
mfreiholz
2016-02-24 11:45:19 +01:00
parent 747874b1e5
commit 7e41d18a6d
2 changed files with 46 additions and 1 deletions

View File

@@ -63,6 +63,12 @@ public:
*/
bool hideSectionContent(const SectionContent::RefPtr& sc);
/*!
* Selects the specific SectionContent as current, if it is part of a SectionWidget.
* If SC is floating, it does nothing (or should we show it?)
*/
bool raiseSectionContent(const SectionContent::RefPtr& sc);
/*!
* Creates a QMenu based on available SectionContents.
* The caller is responsible to delete the menu.