Skip to content

Commit

Permalink
Added missing visible attributes
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Luis Rivero <[email protected]>
  • Loading branch information
j-rivero committed Nov 3, 2023
1 parent 7a460cd commit d7605a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <memory>
#include <string>

#include <gz/sim/gui/Export.hh>
#include <gz/sim/gui/GuiSystem.hh>
#include <gz/sim/Types.hh>

Expand All @@ -36,7 +37,7 @@ namespace gui
class JointPositionControllerPrivate;

/// \brief Model holding information about joints
class JointsModel : public QStandardItemModel
class GZ_SIM_GUI_VISIBLE JointsModel : public QStandardItemModel
{
Q_OBJECT

Expand Down Expand Up @@ -88,7 +89,7 @@ namespace gui
/// `<model_name>`: Load the widget pointed at the given model, so it's not
/// necessary to select it. If a model is given at startup, the plugin starts
/// in locked mode.
class JointPositionController : public sim::GuiSystem
class GZ_SIM_GUI_VISIBLE JointPositionController : public sim::GuiSystem
{
Q_OBJECT

Expand Down
3 changes: 2 additions & 1 deletion src/gui/plugins/plot_3d/Plot3D.hh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

#include <memory>

#include <gz/sim/gui/Export.hh>
#include <gz/sim/gui/GuiSystem.hh>

#include "gz/gui/qt.h"
Expand Down Expand Up @@ -59,7 +60,7 @@ namespace gui
/// After this number is reached, the older points start being deleted.
/// Defaults to 1000.
///
class Plot3D : public gz::sim::GuiSystem
class GZ_SIM_GUI_VISIBLE Plot3D : public gz::sim::GuiSystem
{
Q_OBJECT

Expand Down

0 comments on commit d7605a4

Please sign in to comment.