ddt 1.2.1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
DdtWidget Class Reference

The DdtWidget class Use as wrapper class for new widgets. More...

#include <ddtWidget.hpp>

Inheritance diagram for DdtWidget:
DdtColourmapWidget DdtCubeNavigationWidget DdtCursorInfoWidget DdtCutValuesWidget DdtDataStreamWidget DdtFlipRotateWidget DdtImageScaleWidget DdtImageWidget DdtMagnificationWidget DdtPanningWidget DdtScaleButtonsWidget

Public Member Functions

virtual ~DdtWidget ()=default
 
 DdtWidget (QWidget *parent=nullptr)
 DdtWidget.
 
QWidget * AddParentWidget (QLayout *child_layout)
 AddParentWidget This will add the given layout to a QGroupBox Widget to integrate in the parent layout.
 
void connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member)
 connect Group of overloaded functions that use the QObject::connect method with the Qt::QueuedConnection flag. This defines Qt Signal and Slots connection the same way thought out the QApplication.
 
void connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
void connect (const QObject *sender, const char *signal, const char *member)
 
template<typename Func1 , typename Func2 >
void connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *context, Func2 slot)
 connect Template version of QObject::connection with fixed Qt::QueuedConnection flag. Normally used to connect a signal with a lambda function.
 

Detailed Description

The DdtWidget class Use as wrapper class for new widgets.

Constructor & Destructor Documentation

◆ DdtWidget()

DdtWidget::DdtWidget ( QWidget * parent = nullptr)
explicit

DdtWidget.

Parameters
parentPointer to the parent widget

◆ ~DdtWidget()

virtual DdtWidget::~DdtWidget ( )
virtualdefault

Destructor

Member Function Documentation

◆ AddParentWidget()

QWidget * DdtWidget::AddParentWidget ( QLayout * child_layout)

AddParentWidget This will add the given layout to a QGroupBox Widget to integrate in the parent layout.

Parameters
child_layout
Returns
QLayout pointer to the complete layout

◆ connect() [1/4]

void DdtWidget::connect ( const QObject * sender,
const char * signal,
const char * member )

◆ connect() [2/4]

void DdtWidget::connect ( const QObject * sender,
const char * signal,
const QObject * receiver,
const char * member )

connect Group of overloaded functions that use the QObject::connect method with the Qt::QueuedConnection flag. This defines Qt Signal and Slots connection the same way thought out the QApplication.

Parameters
constQObject* - sender
constchat* - signal
constQObject* - receiver
constchar* - member

◆ connect() [3/4]

void DdtWidget::connect ( const QObject * sender,
const QMetaMethod & signal,
const QObject * receiver,
const QMetaMethod & method )

◆ connect() [4/4]

template<typename Func1 , typename Func2 >
void DdtWidget::connect ( const typename QtPrivate::FunctionPointer< Func1 >::Object * sender,
Func1 signal,
const QObject * context,
Func2 slot )

connect Template version of QObject::connection with fixed Qt::QueuedConnection flag. Normally used to connect a signal with a lambda function.

Parameters
consttypename QtPrivate::FunctionPointer<Func1>::Object* - sender
typename- signal
constQObject* - context
typename- slot

The documentation for this class was generated from the following files: