AGX Dynamics  2.37.2.0
JournalInfoWidget.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2024. 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_JOURNALINFOWIDGET_H
18 #define AGXQT_JOURNALINFOWIDGET_H
19 
20 #include <agx/Journal.h>
21 #include <agxQt/QtAgxWrapper.h>
22 #include <agxQt/export.h>
23 
24 #include <agx/PushDisableWarnings.h> // Disabling warnings. Include agx/PopDisableWarnings.h below!
25 #include <QWidget>
26 #include <agxQt/ui_Controller.h>
27 #include <agxQt/ui_JournalInfoWidget.h>
28 #include <agx/PopDisableWarnings.h> // End of disabled warnings.
29 
30 namespace agx
31 {
32  class Journal;
33 }
34 
35 namespace agxQt
36 {
40  class AGXQT_EXPORT JournalInfoWidget : public QWidget
41  {
42  Q_OBJECT
43 
44  public:
45  explicit JournalInfoWidget(QWidget *parent = 0);
46  virtual ~JournalInfoWidget();
47 
48  void setVisibleGUI(bool enable);
49 
50  public slots:
51  void slotUpdateJournal();
52 
54  // Variables
56  private:
57  Ui::JournalInfoWidget * m_ui;
58  agx::Journal * m_journal;
59  };
60 }
61 
62 #endif
#define AGXQT_EXPORT
JournalInfoWidget for displaying journal information in qtViewer.
Contains classes/utility functions for connecting AGX to QT with OSG.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.