a specific style made for QDockWidget that adds an icon to the dock widget title
More...
#include <ViewerDockStyle.h>
|
QIcon * | icon |
| icon generated from the viewer pixmap More...
|
|
a specific style made for QDockWidget that adds an icon to the dock widget title
Greatly inspired by https://stackoverflow.com/a/3482795
◆ ViewerDockStyle()
camitk::ViewerDockStyle::ViewerDockStyle |
( |
Viewer * |
viewer | ) |
|
constructor just set the viewer that is using this style
◆ ~ViewerDockStyle()
camitk::ViewerDockStyle::~ViewerDockStyle |
( |
| ) |
|
|
virtual |
◆ drawControl()
void camitk::ViewerDockStyle::drawControl |
( |
ControlElement |
element, |
|
|
const QStyleOption * |
option, |
|
|
QPainter * |
painter, |
|
|
const QWidget * |
widget = 0 |
|
) |
| const |
|
overridevirtual |
override method from QProxyStyle
◆ icon
QIcon* camitk::ViewerDockStyle::icon |
|
private |
icon generated from the viewer pixmap
The documentation for this class was generated from the following files: