|
Omnidome
Fulldome Mapping Software Toolkit
|
A screen rectangle item representing a QScreen with drawing functionality. More...
#include <ScreenItem.h>

Public Member Functions | |
| ScreenItem (ScreenSetup &, QScreen const *_screen) | |
| ScreenSetup::Item. More... | |
| ~ScreenItem () | |
| void | detachTuningWidget (omni::ui::proj::Tuning *) |
| Detach tuning widget. More... | |
| QScreen const * | screen () const |
| Screen this screen item is assigned to. More... | |
| void | paint (QPainter &) |
| void | detachTunings () |
| Detach all tunings/projectors. More... | |
| SubScreenItem * | item (int _index) |
| SubScreenItem const * | item (int _index) const |
| SubScreenItem * | hoveredItem () |
| Return pointer to currently hovered item. More... | |
| SubScreenItem const * | hoveredItem () const |
| Return pointer to currently hovered item (const) More... | |
| int | hoverIndex () const |
| Returns flag whether mouse is currently over this item. More... | |
| void | setHoverIndex (int) |
| Set index of current hovered subscreen. More... | |
| void | setHoverIndex (QPoint const &) |
| Set hover index from mouse position. More... | |
| bool | drop () const |
| Flag whether a drop is supposed to happen on this item. More... | |
| void | startDrop (QColor const &_color=QColor("#FFFFFF")) |
| Drop and color of drop. More... | |
| void | endDrop () |
| Hides fullscreen widget if no tunings are attached. More... | |
| QRect | rect () const |
| FullScreen * | fullscreen () |
| int | numSubScreens () const |
Private Attributes | |
| int | hoverIndex_ = -1 |
| bool | drop_ = false |
| QColor | dropColor_ |
| ScreenSetup & | screenSetup_ |
| QScreen const * | screen_ = nullptr |
| QUniquePtr< FullScreen > | fullscreen_ |
| std::vector< SubScreenItem > | subScreens_ |
Friends | |
| class | SubScreenItem |
A screen rectangle item representing a QScreen with drawing functionality.
| omni::ui::ScreenItem::ScreenItem | ( | ScreenSetup & | _screenSetup, |
| QScreen const * | _screen | ||
| ) |
ScreenSetup::Item.
| void omni::ui::ScreenItem::detachTunings | ( | ) |
Detach all tunings/projectors.
| void omni::ui::ScreenItem::detachTuningWidget | ( | omni::ui::proj::Tuning * | _tuningWidget | ) |
Detach tuning widget.
| bool omni::ui::ScreenItem::drop | ( | ) | const |
Flag whether a drop is supposed to happen on this item.
| void omni::ui::ScreenItem::endDrop | ( | ) |
Hides fullscreen widget if no tunings are attached.
Hides fullscreen widget.
| FullScreen * omni::ui::ScreenItem::fullscreen | ( | ) |
| SubScreenItem * omni::ui::ScreenItem::hoveredItem | ( | ) |
Return pointer to currently hovered item.
| SubScreenItem const * omni::ui::ScreenItem::hoveredItem | ( | ) | const |
Return pointer to currently hovered item (const)
| int omni::ui::ScreenItem::hoverIndex | ( | ) | const |
Returns flag whether mouse is currently over this item.
| SubScreenItem * omni::ui::ScreenItem::item | ( | int | _index | ) |
| SubScreenItem const * omni::ui::ScreenItem::item | ( | int | _index | ) | const |
|
inline |
| void omni::ui::ScreenItem::paint | ( | QPainter & | _p | ) |
| QRect omni::ui::ScreenItem::rect | ( | ) | const |
| QScreen const * omni::ui::ScreenItem::screen | ( | ) | const |
Screen this screen item is assigned to.
| void omni::ui::ScreenItem::setHoverIndex | ( | int | _hoverIndex | ) |
Set index of current hovered subscreen.
| void omni::ui::ScreenItem::setHoverIndex | ( | QPoint const & | _pos | ) |
Set hover index from mouse position.
| void omni::ui::ScreenItem::startDrop | ( | QColor const & | _color = QColor("#FFFFFF") | ) |
Drop and color of drop.
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.6