Skip to content

Commit

Permalink
Update ExampleViewGLPlugin.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasKroes committed Mar 6, 2024
1 parent 947eff6 commit 4aad29d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ExampleViewOpenGL/src/ExampleViewGLPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,11 +246,9 @@ void ExampleViewGLPluginFactory::initialize()
// Create an instance of our GlobalSettingsAction (derived from PluginGlobalSettingsGroupAction) and assign it to the factory
setGlobalSettingsGroupAction(new GlobalSettingsAction(this, this));

QString popupString("<p><b>Example OpenGL View</b></p><p>This is an example of a plugin status bar item. A concrete example on how this status bar was created can be found <a href='https://github.com/ManiVaultStudio/ExamplePlugins/blob/master/ExampleViewOpenGL/src/ExampleViewGLPlugin.cpp'>here</a></p>.");

// Configure the status bar popup action
_statusBarPopupAction.setDefaultWidgetFlags(StringAction::Label);
_statusBarPopupAction.setString("<p><b>Example OpenGL View</b></p>");
_statusBarPopupAction.setString("<p><b>Example OpenGL View</b></p><p>This is an example of a plugin status bar item</p><p>A concrete example on how this status bar was created can be found <a href='https://github.com/ManiVaultStudio/ExamplePlugins/blob/master/ExampleViewOpenGL/src/ExampleViewGLPlugin.cpp'>here</a>.</p>");
_statusBarPopupAction.setPopupSizeHint(QSize(200, 100));

_statusBarPopupGroupAction.setShowLabels(false);
Expand Down

0 comments on commit 4aad29d

Please sign in to comment.