AGX Dynamics  2.35.0.1
OsgRendererPlugin.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2022. Algoryx Simulation AB.
3 
4 All AGX source code, intellectual property, documentation, sample code,
5 tutorials, scene files and technical white papers, are copyrighted, proprietary
6 and confidential material of Algoryx Simulation AB. You may not download, read,
7 store, distribute, publish, copy or otherwise disseminate, use or expose this
8 material unless having a written signed agreement with Algoryx Simulation AB, or having been
9 advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10 valid commercial license from Algoryx Simulation AB.
11 
12 Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13 from using this software, unless otherwise stated in written agreements with
14 Algoryx Simulation AB.
15 */
16 
17 #ifndef AGXQT_OSGRENDERERPLUGIN_H
18 #define AGXQT_OSGRENDERERPLUGIN_H
19 
20 #include <agxQt/export.h>
21 
22 #include <agx/PushDisableWarnings.h> // Disabling warnings. Include agx/PopDisableWarnings.h below!
23 #include <QtDesigner/QDesignerCustomWidgetInterface>
24 #include <agx/PopDisableWarnings.h> // End of disabled warnings.
25 
27 class OsgRendererPlugin : public QObject,
28  public QDesignerCustomWidgetInterface
29 {
30  Q_OBJECT
31  Q_INTERFACES(QDesignerCustomWidgetInterface)
32 
33 public:
34  OsgRendererPlugin(QObject *parent = 0);
35 
36  bool isContainer() const;
37  bool isInitialized() const;
38  QIcon icon() const;
39  QString domXml() const;
40  QString group() const;
41  QString includeFile() const;
42  QString name() const;
43  QString toolTip() const;
44  QString whatsThis() const;
45  QWidget *createWidget(QWidget *parent);
46  void initialize(QDesignerFormEditorInterface *core);
47 
48 private:
49  bool initialized;
50 };
52 
53 #endif
54 
QIcon icon() const
void initialize(QDesignerFormEditorInterface *core)
OsgRendererPlugin(QObject *parent=0)
bool isContainer() const
QWidget * createWidget(QWidget *parent)
QString group() const
bool isInitialized() const
QString name() const
QString domXml() const
QString includeFile() const
QString whatsThis() const
QString toolTip() const