28 #include <boost/uuid/uuid.hpp>
29 #include <boost/uuid/uuid_generators.hpp>
30 #include <boost/uuid/uuid_io.hpp>
32 #include "../guiElements/WQtPropertyTriggerAction.h"
33 #include "WUIQtViewWidget.h"
34 #include "core/common/WConditionOneShot.h"
35 #include "core/common/WFlag.h"
44 m_projectionMode( projectionMode ),
57 return QString::fromStdString(
getTitle() );
140 std::string uuid = boost::lexical_cast<std::string>( boost::uuids::random_generator()() );
145 m_widgetDock->setObjectName( QString(
"Custom Dock Window " ) + QString::fromStdString(
getTitle() ) );
152 m_scene->setDataVariance( osg::Object::DYNAMIC );
198 m->addAction( propAction );
ProjectionMode
List of possible camera modes.
Class to wrap around the osg Group node and providing a thread safe add/removal mechanism.
std::shared_ptr< WGEImage > SPtr
Convenience typedef for a std::shared_ptr< WGEImage >.
static QIcon convertToIcon(WGEImage::SPtr image)
Convert a WGEImage to an QIcon.
This class contains the main window and the layout of the widgets within the window.
static WMainWindow * getMainWindow()
Returns the current main window instance or NULL if not existent.
static void execInGUIThread(boost::function< void(void) > functor, WCondition::SPtr notify=WCondition::SPtr())
Call a given function from within the GUI thread.
Implements a property action for WPropTrigger.