PeriDyno 1.0.0
Loading...
Searching...
No Matches
dyno::QVectorIntFieldWidget Class Reference

#include <QVectorIntFieldWidget.h>

Inheritance diagram for dyno::QVectorIntFieldWidget:
Collaboration diagram for dyno::QVectorIntFieldWidget:

Public Slots

void updateField ()
 

Signals

void vectorChange ()
 
- Signals inherited from dyno::QFieldWidget
void fieldChanged ()
 

Public Member Functions

DECLARE_FIELD_WIDGET QVectorIntFieldWidget (FBase *field)
 
 ~QVectorIntFieldWidget () override
 
void updateWidget ()
 
void updateVector (int)
 
void updateVector ()
 
void addItemWidget ()
 
void removeItemWidgetById (int id)
 
- Public Member Functions inherited from dyno::QFieldWidget
 QFieldWidget (FBase *field)
 
 QFieldWidget ()
 
virtual ~QFieldWidget ()
 
FBasefield ()
 
void clearCallBackFunc ()
 

Private Member Functions

void createItemWidget (int v)
 
void printField ()
 

Private Attributes

std::vector< int > mVec
 
QVBoxLayout * mainLayout = nullptr
 
std::vector< mVectorItemLayout * > allItem
 

Detailed Description

Definition at line 92 of file QVectorIntFieldWidget.h.

Constructor & Destructor Documentation

◆ QVectorIntFieldWidget()

dyno::QVectorIntFieldWidget::QVectorIntFieldWidget ( FBase * field)

Definition at line 14 of file QVectorIntFieldWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~QVectorIntFieldWidget()

dyno::QVectorIntFieldWidget::~QVectorIntFieldWidget ( )
inlineoverride

Definition at line 100 of file QVectorIntFieldWidget.h.

Member Function Documentation

◆ addItemWidget()

void dyno::QVectorIntFieldWidget::addItemWidget ( )
inline

Definition at line 136 of file QVectorIntFieldWidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createItemWidget()

void dyno::QVectorIntFieldWidget::createItemWidget ( int v)
inlineprivate

Definition at line 168 of file QVectorIntFieldWidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ printField()

void dyno::QVectorIntFieldWidget::printField ( )
inlineprivate

Definition at line 182 of file QVectorIntFieldWidget.h.

◆ removeItemWidgetById()

void dyno::QVectorIntFieldWidget::removeItemWidgetById ( int id)
inline

Definition at line 149 of file QVectorIntFieldWidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateField

void dyno::QVectorIntFieldWidget::updateField ( )
inlineslot

Definition at line 109 of file QVectorIntFieldWidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateVector() [1/2]

void dyno::QVectorIntFieldWidget::updateVector ( )
inline

Definition at line 125 of file QVectorIntFieldWidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateVector() [2/2]

void dyno::QVectorIntFieldWidget::updateVector ( int )
inline

Definition at line 123 of file QVectorIntFieldWidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateWidget()

void dyno::QVectorIntFieldWidget::updateWidget ( )

Definition at line 50 of file QVectorIntFieldWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ vectorChange

void dyno::QVectorIntFieldWidget::vectorChange ( )
signal
Here is the caller graph for this function:

Member Data Documentation

◆ allItem

std::vector<mVectorItemLayout*> dyno::QVectorIntFieldWidget::allItem
private

Definition at line 201 of file QVectorIntFieldWidget.h.

◆ mainLayout

QVBoxLayout* dyno::QVectorIntFieldWidget::mainLayout = nullptr
private

Definition at line 199 of file QVectorIntFieldWidget.h.

◆ mVec

std::vector<int> dyno::QVectorIntFieldWidget::mVec
private

Definition at line 196 of file QVectorIntFieldWidget.h.


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