QElectroTech 0.200.1-dev
Loading...
Searching...
No Matches
ElementData::PlcMasterData Struct Reference

The PlcMasterData struct Stores all PLC master configuration: IO table, display settings, column visibility. All data is stored in the .elmt file for easy sharing between users. More...

#include <elementdata.h>

Collaboration diagram for ElementData::PlcMasterData:
Collaboration graph

Public Member Functions

 PlcMasterData ()
bool operator== (const PlcMasterData &other) const
bool operator!= (const PlcMasterData &other) const

Public Attributes

QVector< PlcIOios
 All IO entries.
QList< int > breakPositions
 Up to 4 break positions (IO index after which to break, 0 = disabled).
QMap< int, qreal > colWidths
 Column widths (key: column index).
qreal rowHeight = 8.0
 Row height in mm.
QMap< int, bool > colVisible
 Column visibility (key: column index).
QFont headerFont
 Font for column headers.
QFont cellFont
 Font for cell content.
QStringList columnNames
 Custom column header names.
QList< int > columnOrder
 Column display order (logical indices).
bool showHeaders = true
 Show column headers on sheet.

Detailed Description

The PlcMasterData struct Stores all PLC master configuration: IO table, display settings, column visibility. All data is stored in the .elmt file for easy sharing between users.

Constructor & Destructor Documentation

◆ PlcMasterData()

ElementData::PlcMasterData::PlcMasterData ( )
inline
Here is the caller graph for this function:

Member Function Documentation

◆ operator!=()

bool ElementData::PlcMasterData::operator!= ( const PlcMasterData & other) const
inline
Here is the call graph for this function:

◆ operator==()

bool ElementData::PlcMasterData::operator== ( const PlcMasterData & other) const
inline
Here is the call graph for this function:

Member Data Documentation

◆ breakPositions

QList<int> ElementData::PlcMasterData::breakPositions

Up to 4 break positions (IO index after which to break, 0 = disabled).

◆ cellFont

QFont ElementData::PlcMasterData::cellFont

Font for cell content.

◆ columnNames

QStringList ElementData::PlcMasterData::columnNames

Custom column header names.

◆ columnOrder

QList<int> ElementData::PlcMasterData::columnOrder

Column display order (logical indices).

◆ colVisible

QMap<int, bool> ElementData::PlcMasterData::colVisible

Column visibility (key: column index).

◆ colWidths

QMap<int, qreal> ElementData::PlcMasterData::colWidths

Column widths (key: column index).

◆ headerFont

QFont ElementData::PlcMasterData::headerFont

Font for column headers.

◆ ios

QVector<PlcIO> ElementData::PlcMasterData::ios

All IO entries.

◆ rowHeight

qreal ElementData::PlcMasterData::rowHeight = 8.0

Row height in mm.

◆ showHeaders

bool ElementData::PlcMasterData::showHeaders = true

Show column headers on sheet.


The documentation for this struct was generated from the following file: