The LibraryHeader class is a button which can switch the LibraryTreeView from Ascending to Descending order.
More...
#include <libraryheader.h>
The LibraryHeader class is a button which can switch the LibraryTreeView from Ascending to Descending order.
This class also reimplements the contextMenuEvent handler to be able to display a small dialog.
- Author
- Matthieu Bachelier
- Copyright
- GNU General Public License v3
◆ LibraryHeader()
LibraryHeader::LibraryHeader |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ aboutToChangeHierarchyOrder
void LibraryHeader::aboutToChangeHierarchyOrder |
( |
| ) |
|
|
signal |
Forward signal to upper class.
◆ aboutToChangeSortOrder
void LibraryHeader::aboutToChangeSortOrder |
( |
| ) |
|
|
signal |
◆ contextMenuEvent()
void LibraryHeader::contextMenuEvent |
( |
QContextMenuEvent * |
e | ) |
|
|
overrideprotectedvirtual |
Reimplemented to display a dialog to with 4 hierarchies available to the user.
◆ leaveEvent()
void LibraryHeader::leaveEvent |
( |
QEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ mouseMoveEvent()
void LibraryHeader::mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ paintEvent()
void LibraryHeader::paintEvent |
( |
QPaintEvent * |
| ) |
|
|
overrideprotectedvirtual |
◆ resetSortOrder
void LibraryHeader::resetSortOrder |
( |
| ) |
|
|
inlineslot |
The documentation for this class was generated from the following files: