|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "ui_permissingetcollectionsettings_form.h"
18 #include "Inventor/nodes/SoDrawStyle.h"
19 #include "Inventor/nodes/SoLightModel.h"
20 #include "Inventor/nodes/SoMaterial.h"
26 #include <QDataStream>
27 #include <QMouseEvent>
28 #include <QDragEnterEvent>
71 editwindow =
new QWidget(0,Qt::WindowStaysOnTopHint);
141 setAcceptDrops(
true);
162 if (objectName().isEmpty())
163 setObjectName(
"MissingEtCollectionSettingsButton");
262 if (
event->button() == Qt::LeftButton)
264 QPushButton::mousePressEvent(
event);
270 if (
event->source()!=
this &&
event->mimeData()->hasFormat(
"vp1/material"))
271 event->acceptProposedAction();
277 if (!(
event->buttons() & Qt::LeftButton))
280 < QApplication::startDragDistance())
283 QDrag *drag =
new QDrag(
this);
284 QMimeData *mimeData =
new QMimeData;
293 mimeData->setData(
"vp1/material", byteArray);
322 drag->setMimeData(mimeData);
323 drag->exec(Qt::CopyAction | Qt::MoveAction);
329 QByteArray
data =
event->mimeData()->data(
"vp1/material");
330 event->acceptProposedAction();
char data[hepevt_bytes_allocation_ATLAS]
void serialise(const std::vector< const IRoiDescriptor * > &rois, roiserial_type &s)
serialise an entire vector of IRoiDescriptors
void messageVerbose(const QString &) const
static QString str(const QString &s)
POOL::TEvent event(POOL::TEvent::kClassAccess)
void restore(QCheckBox *sb)
IVP1System * systemBase() const
void widgetHandled(QWidget *)
void warnUnrestored(QObject *)