QElectroTech  0.8-dev
Public Slots | Public Member Functions | Private Slots | Private Attributes | List of all members
DiagramContextWidget Class Reference

#include <diagramcontextwidget.h>

Inherits QWidget.

Collaboration diagram for DiagramContextWidget:
Collaboration graph

Public Slots

void clear ()
 DiagramContextWidget::clear Clear any values entered within this widget. More...
 
int highlightNonAcceptableKeys ()
 DiagramContextWidget::highlightNonAcceptableKeys Highlight keys that would not be accepted by a DiagramContext object. More...
 
void refreshFormatLabel ()
 DiagramContextWidget::refreshFormatLabel Sets the text describing the acceptable format for keys when adding extra key/value pairs. More...
 

Public Member Functions

 DiagramContextWidget (QWidget *parent=nullptr)
 
 ~DiagramContextWidget ()
 
DiagramContext context () const
 DiagramContextWidget::context. More...
 
void setContext (const DiagramContext &context)
 DiagramContextWidget::setContext Load the content from context into this widget. More...
 
int nameLessRowsCount () const
 DiagramContextWidget::nameLessRowsCount. More...
 

Private Slots

void checkTableRows ()
 DiagramContextWidget::checkTableRows Adds a row in the additional fields table if needed. More...
 

Private Attributes

Ui::DiagramContextWidget * ui
 

Constructor & Destructor Documentation

◆ DiagramContextWidget()

DiagramContextWidget::DiagramContextWidget ( QWidget *  parent = nullptr)
explicit
Here is the call graph for this function:

◆ ~DiagramContextWidget()

DiagramContextWidget::~DiagramContextWidget ( )

Member Function Documentation

◆ checkTableRows

void DiagramContextWidget::checkTableRows ( )
privateslot

DiagramContextWidget::checkTableRows Adds a row in the additional fields table if needed.

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

◆ clear

void DiagramContextWidget::clear ( )
slot

DiagramContextWidget::clear Clear any values entered within this widget.

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

◆ context()

DiagramContext DiagramContextWidget::context ( ) const

DiagramContextWidget::context.

Returns
The diagram context object edited by this widget
Here is the call graph for this function:
Here is the caller graph for this function:

◆ highlightNonAcceptableKeys

int DiagramContextWidget::highlightNonAcceptableKeys ( )
slot

DiagramContextWidget::highlightNonAcceptableKeys Highlight keys that would not be accepted by a DiagramContext object.

Returns
the number of highlighted keys.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ nameLessRowsCount()

int DiagramContextWidget::nameLessRowsCount ( ) const

DiagramContextWidget::nameLessRowsCount.

Returns
The count of name-less rows in the table
Here is the caller graph for this function:

◆ refreshFormatLabel

void DiagramContextWidget::refreshFormatLabel ( )
slot

DiagramContextWidget::refreshFormatLabel Sets the text describing the acceptable format for keys when adding extra key/value pairs.

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

◆ setContext()

void DiagramContextWidget::setContext ( const DiagramContext context)

DiagramContextWidget::setContext Load the content from context into this widget.

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

Member Data Documentation

◆ ui

Ui::DiagramContextWidget* DiagramContextWidget::ui
private

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