Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
KDE Pim
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Unmaintained
KDE Pim
Commits
78a8e223
Commit
78a8e223
authored
Nov 12, 2014
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add doc
parent
9817a900
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
pimcommon/widgets/splittercollapser.h
pimcommon/widgets/splittercollapser.h
+13
-0
No files found.
pimcommon/widgets/splittercollapser.h
View file @
78a8e223
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment