NDEVR
API Documentation
BuildRibbonGroup.h
1#pragma once
2#include "../Headers/BuildActions.h"
3#include "../Headers/BuildActionDefinition.h"
4#include <NDEVR/QTModelManager.h>
5#include <NDEVR/ShowPropertiesSettings.h>
6#include <NDEVR/QTTools.h>
7#include <NDEVR/RibbonGroup.h>
8#include <NDEVR/RibbonSubGroup.h>
9#include <NDEVR/Translator.h>
10#include <NDEVR/TranslatedString.h>
11namespace NDEVR
12{
16 {
17 public:
21 BuildRibbonGroup(QTModelManager* manager, QWidget* parent = nullptr);
25 protected:
31 void init();
35 void performAction(const BuildAction& action, Button* b);
39 void createAction(const BuildAction& action, Button* b);
40 protected:
42 };
43}
QTModelManager * m_manager
The application model manager.
void performAction(const BuildAction &action, Button *b)
Executes the specified build action, showing results via the given button.
BuildRibbonGroup(QTModelManager *manager, QWidget *parent=nullptr)
Constructs the build ribbon group.
Button * createButton(BuildAction action)
Creates a button representing the given build action.
void init()
Initializes the ribbon group layout and buttons.
void createAction(const BuildAction &action, Button *b)
Creates a new build action definition and opens its editor.
Button * workflowButton()
Returns the workflow button for triggering build workflows.
A core widget that allows the user to click one of many button types.
Definition Button.h:68
A wrapper around DesignObjectLookup that provides signal and slot functionality and adds rendering ca...
RibbonGroup(QWidget *parent=nullptr)
Constructs a ribbon group widget.
The primary namespace for the NDEVR SDK.
BuildAction
Enumerates all supported build action types available in the Developer module build workflow system.