34#include <NDEVR/QTDesignObject.h>
35#include <NDEVR/ShowPropertiesSettings.h>
36#include <NDEVR/QCustomDockWidget.h>
37#include <NDEVR/Pointer.h>
38#include <NDEVR/UnitManager.h>
45 class ContainerWidgetBase;
48 class QCustomTableWidget;
49 class DesignObjectDialog;
50 class QCustomTabWidget;
55 : generic_creation_callbacks(10)
75 QSize sizeHint()
const;
76 void setType(
const String& type);
80 void showCurrentIndex(
uint04 index);
81 void setHorizontal(
bool horizontal);
84 void clearTabDialogs();
86 virtual bool fullscreenTouch()
const;
87 virtual bool allowDocking()
const;
88 virtual void enablePrint(
bool enable_print);
96 template<
class t_type>
99 for (
uint04 i = 0; i < m_editors.size(); i++)
101 if (
dynamic_cast<t_type*
>(m_editors[i]))
117 void onDesignObjectUpdate();
118 void onCancelPressed();
119 void onConfirmPressed();
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition DesignObjectDialog.h:52
Dictionary< String, Buffer< std::function< void(DesignObjectDialog *, const DynamicPointer< QTDesignObject > &)> > > creation_callbacks
Definition DesignObjectDialog.h:66
static DesignObjectDialogFactory & DefaultInstance()
Definition DesignObjectDialog.h:58
Buffer< std::function< void(DesignObjectDialog *, const DynamicPointer< QTDesignObject > &)> > generic_creation_callbacks
Definition DesignObjectDialog.h:67
DesignObjectDialogFactory()
Definition DesignObjectDialog.h:54
Definition DesignObjectDialog.h:70
DynamicPointer< QTDesignObject > m_design_object
Definition DesignObjectDialog.h:126
void requestDeleteSignal()
Buffer< Editor * > m_editors
Definition DesignObjectDialog.h:123
ShowPropertiesSettings m_settings
Definition DesignObjectDialog.h:128
void requestPrintSignal()
Buffer< QWidget * > m_tabs
Definition DesignObjectDialog.h:124
bool showSubDialog()
Definition DesignObjectDialog.h:97
TranslatedString m_custom_title
Definition DesignObjectDialog.h:122
UnitManager m_dialog_units
Definition DesignObjectDialog.h:135
void requestConfirmSignal()
SectionWidget * m_target_widget
Definition DesignObjectDialog.h:125
const DynamicPointer< QTDesignObject > & designObjectPtr()
Definition DesignObjectDialog.h:85
void requestCancelSignal()
QCustomTabWidget * m_tab_menu
Definition DesignObjectDialog.h:127
void dialogFinishedSignal()
Definition Dictionary.h:48
Definition Pointer.hpp:303
Definition QTDesignObject.h:81
Definition TranslatedString.h:9
Definition UnitManager.h:126
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:120
Definition BaseValues.hpp:272
Definition ShowPropertySettings.h:22