67#include <OpenFlipper/BasePlugin/ViewInterface.hh>
70#include <OpenFlipper/widgets/coreWidget/SideArea.hh>
71#include <OpenFlipper/widgets/coreWidget/ColorStatusBar.hh>
73#include <OpenFlipper/widgets/glWidget/QtBaseViewer.hh>
74#include <OpenFlipper/widgets/glWidget/QtGLGraphicsScene.hh>
75#include <OpenFlipper/widgets/glWidget/QtGLGraphicsView.hh>
76#include <OpenFlipper/widgets/glWidget/QtMultiViewLayout.hh>
77#include <OpenFlipper/widgets/glWidget/QtSlideWindow.hh>
81#include <QStackedWidget>
87#include <QFutureWatcher>
91#include <OpenFlipper/common/OFGLWidget.hh>
94#include <OpenFlipper/widgets/pythonWidget/pythonWidget.hh>
95#include <OpenFlipper/widgets/aboutWidget/aboutWidget.hh>
96#include <OpenFlipper/widgets/loggerWidget/loggerWidget.hh>
97#include <OpenFlipper/widgets/optionsWidget/optionsWidget.hh>
98#include <OpenFlipper/widgets/helpWidget/helpWidget.hh>
99#include <OpenFlipper/widgets/stereoSettingsWidget/stereoSettingsWidget.hh>
100#include <OpenFlipper/widgets/postProcessorWidget/postProcessorWidget.hh>
101#include <OpenFlipper/widgets/rendererWidget/rendererWidget.hh>
102#include <OpenFlipper/widgets/rendererWidget/rendererObjectWidget.hh>
104#include <OpenFlipper/Core/PluginInfo.hh>
106#include <ACG/QtWidgets/QtSceneGraphWidget.hh>
108#include <ACG/Scenegraph/DrawModes.hh>
109#include <ACG/Scenegraph/CoordsysNode.hh>
111#include <OpenFlipper/INIFile/INIFile.hh>
114#include "../viewModeWidget/viewModeChangeWidget.hh"
152 StackWidgetInfo(
bool _editable,
const QString &_name, QWidget* _widget);
187 PickMode(
const std::string& _n,
const bool _t,
const bool _v, QCursor _c, QToolBar *_tb = 0 );
197 void visible(
const bool _visible);
209 std::string
name()
const;
218 void tracking(
const bool _tracking);
241 void cursor(
const QCursor _cursor);
250 void toolbar(QToolBar* _toolbar);
292 CoreWidget( QVector<ViewMode*>& _viewModes, QList< SlotInfo >& _coreSlots );
300 void addEmptyObjectMenu();
305 void recentOpen(QAction*);
323 void log(QString _message);
360 void registerKey(
int _key, Qt::KeyboardModifiers _modifiers, QString _description,
361 bool _multiUse =
false);
364 void call( QString _expression ,
bool& _success );
368 typedef std::multimap< std::pair< int, Qt::KeyboardModifiers > , std::pair< QObject*, int > >
KeyMap;
370 typedef std::pair< KeyMap::iterator, KeyMap::iterator >
KeyRange;
407 void slotRegisterKey(
int _key, Qt::KeyboardModifiers _modifiers,
const QString &_description,
408 bool _multiUse =
false);
415 void slotAddKeyMapping(
int _key, Qt::KeyboardModifiers _modifiers, QObject* _plugin,
int _keyBindingID);
460 std::vector<PluginInfo>&
plugins();
477 void startVideoCaptureDialog();
622 void slotAddViewModeComplete(
const QString &_mode ,
bool _custom,
const QStringList &_toolboxes,
const QStringList &_toolbars,
const QStringList &_contextmenus);
631 void slotChangeView(QString _mode, QStringList _toolboxWidgets, QStringList _toolbars, QStringList _contextmenus,
bool _expandAll =
false);
664 void setViewMode(
const QString &_mode,
bool _expandAll =
false );
1050 bool comments_visible_only,
bool comments_targeted_only,
1051 bool store_material_info,
int snapshot_width,
int snapshot_height,
1052 bool snapshot_transparent,
bool hide_coord_sys,
1053 int snapshot_multisampling,
bool store_view);
1064 void writeImageAsynchronously(QImage* _image,
const QString &_name);
1069 std::map<QFutureWatcher<void>*,QFuture<void>*> watcher_garbage_;
1076 void delete_garbage();
1136 void slotShowPostProcessorManager();
1198 void addAboutInfo(
const QString &_text,
const QString &_tabName );
1264 void getToolBar( QString _name, QToolBar*& _toolbar);
1278 void statusMessage(QString _message,
int _timeout = 0);
1280 void clearStatusMessage();
1284 void addWidgetToStatusbar(QWidget* _widget);
1287 void setupStatusBar();
1292 QLabel* statusIcon_;
1501 bool _mouse_tracking =
false,
1503 bool _visible =
true,
1504 QCursor _cursor = Qt::ArrowCursor );
1512 const std::string&
pickMode()
const;
LoggerState
State of the logging widget.
Logtype
Log types for Message Window.
ActionMode
Enum listing action modes of the viewers.
ProjectionMode
projection mode
void clearAll()
Clear all data objects.
void resizeApplication(int _width, int _height)
resize the whole Application
void resizeViewers(int _width, int _height)
resize the examinerViewer
void loadPlugin(const QString &_filename, const bool _silent, QString &_licenseErrors, QObject *_plugin=0)
Function for loading Plugins.
void startVideoCapture(const QString &_baseName, int _fps, bool _captureViewers)
Start video capturing.
void log(Logtype _type, QString _message)
Logg with OUT,WARN or ERR as type.
void stopVideoCapture()
Stop video capturing.
Class for the handling of simple configuration files.
Struct containing information about pickModes.
QToolBar * toolbar() const
PickMode toolbar.
PickMode(const std::string &_n, const bool _t, const bool _v, QCursor _c, QToolBar *_tb=0)
Constructor.
std::string name() const
PickMode Name.
QCursor cursor() const
PickMode cursor.
bool tracking() const
PickMode mouse tracking.
bool visible() const
PickMode visible.
std::string name_
Name of the pickMode.
applicationStatus
Enum for the statusBar Status Icon.
ViewMode struct This struct contains a ViewMode and its status information such as used widgets,...
bool custom
Is this a user defined custom view mode or a plugin generated one.
QString name
Name of the View Mode.
QStringList visibleToolboxes
List of Visible Toolboxes in this view mode.
QStringList visibleContextMenus
List of context Menus in this view mode.
QMap< QString, QIcon > toolboxIconMap
Map of Toolbox Names to Icons.
QStringList visibleToolbars
List of Toolbars in this view mode.