Commit 78a8e223 authored by Laurent Montel's avatar Laurent Montel 😁

Add doc

parent 9817a900
...@@ -46,6 +46,9 @@ public: ...@@ -46,6 +46,9 @@ public:
*/ */
explicit SplitterCollapser(QWidget *childWidget, QSplitter *splitter); explicit SplitterCollapser(QWidget *childWidget, QSplitter *splitter);
/**
* Destructor
*/
~SplitterCollapser(); ~SplitterCollapser();
/** /**
...@@ -58,8 +61,18 @@ public: ...@@ -58,8 +61,18 @@ public:
public Q_SLOTS: public Q_SLOTS:
/**
* @brief collapse, this function collapses the splitter if not splitter is not collapsed.
*/
void collapse(); void collapse();
/**
* @brief restore, call this function to restore previous splitter position.
*/
void restore(); void restore();
/**
* @brief setCollapsed, this function allows to collapse or not the splitter.
* @param collapsed
*/
void setCollapsed(bool collapsed); void setCollapsed(bool collapsed);
private Q_SLOTS: private Q_SLOTS:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment