#include <VP1CustomTourFrameWidget.h>
Definition at line 23 of file VP1CustomTourFrameWidget.h.
◆ VP1CustomTourFrameWidget() [1/3]
VP1CustomTourFrameWidget::VP1CustomTourFrameWidget |
( |
bool |
camPerspective, |
|
|
QByteArray |
camState, |
|
|
QWidget * |
parent = 0 |
|
) |
| |
◆ VP1CustomTourFrameWidget() [2/3]
VP1CustomTourFrameWidget::VP1CustomTourFrameWidget |
( |
QByteArray |
serialisedFrame, |
|
|
QWidget * |
parent = 0 |
|
) |
| |
Definition at line 88 of file VP1CustomTourFrameWidget.cxx.
95 s.restore(
m_d->
ui.doubleSpinBox_zoomToFrameTime);
96 s.restore(
m_d->
ui.doubleSpinBox_stayOnFrameTime);
98 s.restore(
m_d->
ui.doubleSpinBox_clipVolumePercentOfATLAS);
100 s.restore(
m_d->
ui.comboBox_approachMethod);
101 s.restore(
m_d->
ui.checkBox_frameEnabled);
102 QPixmap pm =
s.restore<QPixmap>();
104 m_d->
ui.label_snapshot->setPixmap(pm);
105 s.warnUnrestored(
this);
◆ ~VP1CustomTourFrameWidget()
VP1CustomTourFrameWidget::~VP1CustomTourFrameWidget |
( |
| ) |
|
|
virtual |
◆ VP1CustomTourFrameWidget() [3/3]
◆ buttonClicked
void VP1CustomTourFrameWidget::buttonClicked |
( |
| ) |
|
|
privateslot |
Definition at line 136 of file VP1CustomTourFrameWidget.cxx.
138 if (sender()==
m_d->
ui.pushButton_moveEarlier)
140 else if (sender()==
m_d->
ui.pushButton_moveLater)
142 else if (sender()==
m_d->
ui.pushButton_remove)
144 else if (sender()==
m_d->
ui.pushButton_show)
◆ camState()
QByteArray VP1CustomTourFrameWidget::camState |
( |
| ) |
const |
◆ camStateIsPerspective()
bool VP1CustomTourFrameWidget::camStateIsPerspective |
( |
| ) |
const |
◆ clipVolumePercentOfATLAS()
double VP1CustomTourFrameWidget::clipVolumePercentOfATLAS |
( |
| ) |
const |
◆ dragEnterEvent()
void VP1CustomTourFrameWidget::dragEnterEvent |
( |
QDragEnterEvent * |
event | ) |
|
|
protected |
◆ dropEvent()
void VP1CustomTourFrameWidget::dropEvent |
( |
QDropEvent * |
event | ) |
|
|
protected |
◆ frameEnabledToggled
void VP1CustomTourFrameWidget::frameEnabledToggled |
( |
| ) |
|
|
privateslot |
◆ frameEnableStateChanged
void VP1CustomTourFrameWidget::frameEnableStateChanged |
( |
| ) |
|
|
signal |
◆ frameIsEnabled()
bool VP1CustomTourFrameWidget::frameIsEnabled |
( |
| ) |
const |
◆ mouseMoveEvent()
void VP1CustomTourFrameWidget::mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
Definition at line 217 of file VP1CustomTourFrameWidget.cxx.
219 if (!(
event->buttons() & Qt::LeftButton))
222 < QApplication::startDragDistance())
224 QDrag *drag =
new QDrag(
this);
225 QMimeData *mimeData =
new QMimeData;
226 mimeData->setData(
"vp1/customtourframe", QByteArray() );
227 drag->setMimeData(mimeData);
228 #if QTWIDGETS_VERSION >= 0x050F00
229 QPixmap pm =
m_d->
ui.label_snapshot->pixmap(Qt::ReturnByValue);
231 QPixmap pm =
m_d->
ui.label_snapshot->pixmap() ? *(
m_d->
ui.label_snapshot->pixmap()) : QPixmap();
234 drag->setPixmap(pm );
235 drag->exec(Qt::CopyAction | Qt::MoveAction);
◆ mousePressEvent()
void VP1CustomTourFrameWidget::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
◆ operator=()
◆ requestDelete
void VP1CustomTourFrameWidget::requestDelete |
( |
| ) |
|
|
signal |
◆ requestShow
void VP1CustomTourFrameWidget::requestShow |
( |
| ) |
|
|
signal |
◆ requestStepToEarlier
void VP1CustomTourFrameWidget::requestStepToEarlier |
( |
| ) |
|
|
signal |
◆ requestStepToLater
void VP1CustomTourFrameWidget::requestStepToLater |
( |
| ) |
|
|
signal |
◆ requestSwap
◆ serialise()
QByteArray VP1CustomTourFrameWidget::serialise |
( |
| ) |
const |
Definition at line 110 of file VP1CustomTourFrameWidget.cxx.
115 s.save(
m_d->
ui.doubleSpinBox_zoomToFrameTime);
116 s.save(
m_d->
ui.doubleSpinBox_stayOnFrameTime);
117 s.save(
m_d->
ui.doubleSpinBox_clipVolumePercentOfATLAS);
118 s.save(
m_d->
ui.comboBox_approachMethod);
119 s.save(
m_d->
ui.checkBox_frameEnabled);
120 #if QTWIDGETS_VERSION >= 0x050F00
121 s.save(
m_d->
ui.label_snapshot->pixmap(Qt::ReturnByValue));
123 s.save(
m_d->
ui.label_snapshot->pixmap() ? *(
m_d->
ui.label_snapshot->pixmap()) : QPixmap());
◆ setSnapshot()
void VP1CustomTourFrameWidget::setSnapshot |
( |
QPixmap |
pm | ) |
|
◆ setStepToEarlierControlsEnabled()
void VP1CustomTourFrameWidget::setStepToEarlierControlsEnabled |
( |
bool |
b | ) |
|
◆ setStepToLaterControlsEnabled()
void VP1CustomTourFrameWidget::setStepToLaterControlsEnabled |
( |
bool |
b | ) |
|
◆ snapShotHeight()
static int VP1CustomTourFrameWidget::snapShotHeight |
( |
| ) |
|
|
inlinestatic |
◆ snapShotWidth()
static int VP1CustomTourFrameWidget::snapShotWidth |
( |
| ) |
|
|
inlinestatic |
◆ stayOnFrameTime()
double VP1CustomTourFrameWidget::stayOnFrameTime |
( |
| ) |
const |
◆ zoomToFrameForcedCircular()
bool VP1CustomTourFrameWidget::zoomToFrameForcedCircular |
( |
| ) |
const |
◆ zoomToFrameTime()
double VP1CustomTourFrameWidget::zoomToFrameTime |
( |
| ) |
const |
◆ zoomToFrameWithVariableSpeed()
bool VP1CustomTourFrameWidget::zoomToFrameWithVariableSpeed |
( |
| ) |
const |
◆ m_d
Imp* VP1CustomTourFrameWidget::m_d |
|
private |
The documentation for this class was generated from the following files: