![]() |
anatomist 6.0.4
3D neuroimaging data viewer
|
The transcient palette editor widget features a MiniPaletteWidgetEdit which shows up upon given conditions (see MiniPaletteWidget) and closes when the editor widget loses focus. More...
#include <anatomist/color/minipalette.h>


Public Slots | |
| void | closeIfFinished () |
| void | sliderPressed () |
| void | sliderReleased () |
Signals | |
| void | editorClosed () |
| signal emitted when the editor widget closes | |
Public Member Functions | |
| MiniPaletteWidgetTranscient (AObject *object=0, int dim=0, MiniPaletteWidget *pw=0, QWidget *parent=0, bool opened_by_click=false, bool auto_range=false) | |
| virtual | ~MiniPaletteWidgetTranscient () |
| void | reposition () |
| Repositions / resizes the widget to superpose on its MiniPaletteWidget. | |
| MiniPaletteWidgetEdit * | editor () |
Protected Member Functions | |
| void | leaveEvent (QEvent *event) |
| void | focusOutEvent (QFocusEvent *event) |
| void | enterEvent (QEvent *event) |
| void | focusInEvent (QFocusEvent *event) |
| void | keyPressEvent (QKeyEvent *event) |
| void | closeEvent (QCloseEvent *event) |
The transcient palette editor widget features a MiniPaletteWidgetEdit which shows up upon given conditions (see MiniPaletteWidget) and closes when the editor widget loses focus.
More precisely, if opened by a click, a complete focus loss is needed to close the window (which is generally triggered by another user action like a click at some other place or a keyboard focus change, using <tab> for instance).
If not opened by a click, the widget will close as soon as the mouse pointer leaves the widget surface, or when the focus is lost, thus not requiring a click or keyboard user action.
Definition at line 292 of file minipalette.h.
| anatomist::MiniPaletteWidgetTranscient::MiniPaletteWidgetTranscient | ( | AObject * | object = 0, |
| int | dim = 0, | ||
| MiniPaletteWidget * | pw = 0, | ||
| QWidget * | parent = 0, | ||
| bool | opened_by_click = false, | ||
| bool | auto_range = false ) |
|
virtual |
|
protected |
|
slot |
| MiniPaletteWidgetEdit * anatomist::MiniPaletteWidgetTranscient::editor | ( | ) |
|
signal |
signal emitted when the editor widget closes
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| void anatomist::MiniPaletteWidgetTranscient::reposition | ( | ) |
Repositions / resizes the widget to superpose on its MiniPaletteWidget.
|
slot |
|
slot |