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

#include <PDataViewerWidget.h>

Inheritance diagram for dyno::PDataViewerWidget:
Collaboration diagram for dyno::PDataViewerWidget:

Public Slots

void ClearDataTable ()
 
virtual void updateDataTable ()
 
virtual void updateDataTableTo (int value)
 
void updateScrollBarParam ()
 
virtual void buildArrayListDataTable (int first, int last)
 

Signals

void wheelDeltaAngleChange (int value)
 

Public Member Functions

 PDataViewerWidget (FBase *field, QWidget *pParent=NULL)
 
int sizeHintForColumn (int column) const override
 
int getRowNum ()
 
virtual void setRowNum (int size)
 
void setTableScrollBar (QScrollBar *s)
 
QScrollBar * getTableScrollBar (QScrollBar *s)
 
std::string getFieldWindowTitle ()
 
virtual void buildArrayDataTable (int first, int last)
 
virtual void buildVarDataTable ()
 

Protected Member Functions

void addItemToPosition (const QString &qstr, int row, int column, const QString &rowName, const QString &columnName, const bool resizeRow=false, const int height=30)
 
void resizeEvent (QResizeEvent *event) override
 
void updateMaxViewRowCount ()
 
void wheelEvent (QWheelEvent *wheelEvent) override
 
void keyPressEvent (QKeyEvent *event) override
 
void keyReleaseEvent (QKeyEvent *event)
 

Protected Attributes

TemplateName mTemplateType = TemplateName::NoneType
 
DataType mDataType = DataType::UnknownType
 
int rowsHeight = 30
 
int mMaxViewRowCount = -1
 
int minIndex = -1
 
int maxIndex = -1
 

Private Attributes

FBasemfield
 
int rowNum = 0
 
QScrollBar * mScrollBar = NULL
 
bool AltPressed = false
 

Detailed Description

Definition at line 64 of file PDataViewerWidget.h.

Constructor & Destructor Documentation

◆ PDataViewerWidget()

dyno::PDataViewerWidget::PDataViewerWidget ( FBase * field,
QWidget * pParent = NULL )

Definition at line 12 of file PDataViewerWidget.cpp.

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

Member Function Documentation

◆ addItemToPosition()

void dyno::PDataViewerWidget::addItemToPosition ( const QString & qstr,
int row,
int column,
const QString & rowName,
const QString & columnName,
const bool resizeRow = false,
const int height = 30 )
protected

Definition at line 168 of file PDataViewerWidget.cpp.

Here is the caller graph for this function:

◆ buildArrayDataTable()

virtual void dyno::PDataViewerWidget::buildArrayDataTable ( int first,
int last )
inlinevirtual

Definition at line 96 of file PDataViewerWidget.h.

Here is the caller graph for this function:

◆ buildArrayListDataTable

virtual void dyno::PDataViewerWidget::buildArrayListDataTable ( int first,
int last )
inlinevirtualslot

Definition at line 95 of file PDataViewerWidget.h.

Here is the caller graph for this function:

◆ buildVarDataTable()

virtual void dyno::PDataViewerWidget::buildVarDataTable ( )
inlinevirtual

Definition at line 97 of file PDataViewerWidget.h.

Here is the caller graph for this function:

◆ ClearDataTable

void dyno::PDataViewerWidget::ClearDataTable ( )
slot

Definition at line 200 of file PDataViewerWidget.cpp.

Here is the caller graph for this function:

◆ getFieldWindowTitle()

std::string dyno::PDataViewerWidget::getFieldWindowTitle ( )
inline

Definition at line 76 of file PDataViewerWidget.h.

◆ getRowNum()

int dyno::PDataViewerWidget::getRowNum ( )
inline

Definition at line 72 of file PDataViewerWidget.h.

◆ getTableScrollBar()

QScrollBar * dyno::PDataViewerWidget::getTableScrollBar ( QScrollBar * s)
inline

Definition at line 75 of file PDataViewerWidget.h.

◆ keyPressEvent()

void dyno::PDataViewerWidget::keyPressEvent ( QKeyEvent * event)
inlineoverrideprotected

Definition at line 103 of file PDataViewerWidget.h.

◆ keyReleaseEvent()

void dyno::PDataViewerWidget::keyReleaseEvent ( QKeyEvent * event)
inlineprotected

Definition at line 111 of file PDataViewerWidget.h.

◆ resizeEvent()

void dyno::PDataViewerWidget::resizeEvent ( QResizeEvent * event)
overrideprotected

Definition at line 138 of file PDataViewerWidget.cpp.

Here is the call graph for this function:

◆ setRowNum()

virtual void dyno::PDataViewerWidget::setRowNum ( int size)
inlinevirtual

Definition at line 73 of file PDataViewerWidget.h.

◆ setTableScrollBar()

void dyno::PDataViewerWidget::setTableScrollBar ( QScrollBar * s)
inline

Definition at line 74 of file PDataViewerWidget.h.

Here is the caller graph for this function:

◆ sizeHintForColumn()

int dyno::PDataViewerWidget::sizeHintForColumn ( int column) const
override

Definition at line 209 of file PDataViewerWidget.cpp.

◆ updateDataTable

void dyno::PDataViewerWidget::updateDataTable ( )
virtualslot

Definition at line 65 of file PDataViewerWidget.cpp.

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

◆ updateDataTableTo

virtual void dyno::PDataViewerWidget::updateDataTableTo ( int value)
inlinevirtualslot

Definition at line 93 of file PDataViewerWidget.h.

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

◆ updateMaxViewRowCount()

void dyno::PDataViewerWidget::updateMaxViewRowCount ( )
protected

Definition at line 152 of file PDataViewerWidget.cpp.

Here is the caller graph for this function:

◆ updateScrollBarParam

void dyno::PDataViewerWidget::updateScrollBarParam ( )
slot

Definition at line 119 of file PDataViewerWidget.cpp.

Here is the caller graph for this function:

◆ wheelDeltaAngleChange

void dyno::PDataViewerWidget::wheelDeltaAngleChange ( int value)
signal
Here is the caller graph for this function:

◆ wheelEvent()

void dyno::PDataViewerWidget::wheelEvent ( QWheelEvent * wheelEvent)
overrideprotected

Definition at line 159 of file PDataViewerWidget.cpp.

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

Member Data Documentation

◆ AltPressed

bool dyno::PDataViewerWidget::AltPressed = false
private

Definition at line 137 of file PDataViewerWidget.h.

◆ maxIndex

int dyno::PDataViewerWidget::maxIndex = -1
protected

Definition at line 129 of file PDataViewerWidget.h.

◆ mDataType

DataType dyno::PDataViewerWidget::mDataType = DataType::UnknownType
protected

Definition at line 125 of file PDataViewerWidget.h.

◆ mfield

FBase* dyno::PDataViewerWidget::mfield
private

Definition at line 133 of file PDataViewerWidget.h.

◆ minIndex

int dyno::PDataViewerWidget::minIndex = -1
protected

Definition at line 128 of file PDataViewerWidget.h.

◆ mMaxViewRowCount

int dyno::PDataViewerWidget::mMaxViewRowCount = -1
protected

Definition at line 127 of file PDataViewerWidget.h.

◆ mScrollBar

QScrollBar* dyno::PDataViewerWidget::mScrollBar = NULL
private

Definition at line 135 of file PDataViewerWidget.h.

◆ mTemplateType

TemplateName dyno::PDataViewerWidget::mTemplateType = TemplateName::NoneType
protected

Definition at line 124 of file PDataViewerWidget.h.

◆ rowNum

int dyno::PDataViewerWidget::rowNum = 0
private

Definition at line 134 of file PDataViewerWidget.h.

◆ rowsHeight

int dyno::PDataViewerWidget::rowsHeight = 30
protected

Definition at line 126 of file PDataViewerWidget.h.


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