JKQTPlotter trunk/v5.0.0
an extensive Qt5+Qt6 Plotter framework (including a feature-richt plotter widget, a speed-optimized, but limited variant and a LaTeX equation renderer!), written fully in C/C++ and without external dependencies
Loading...
Searching...
No Matches

a QComboBox to select whether a line, symbols or both should be displayed More...

#include <jkqtpcomboboxes.h>

Inheritance diagram for JKQTPLinePlotStyleComboBox:
[legend]
Collaboration diagram for JKQTPLinePlotStyleComboBox:
[legend]

Public Member Functions

 JKQTPLinePlotStyleComboBox (QWidget *parent=nullptr)
 
void addUsedSymbol (JKQTPGraphSymbols symbol)
 
bool getDrawLine () const
 
JKQTPGraphSymbols getSymbol () const
 
void setDefaultSymbol (JKQTPGraphSymbols symbol)
 

Protected Member Functions

void addSymbol (JKQTPGraphSymbols symbol, bool line, const QString &name=QString(""), const QVariant &data=QVariant())
 
void refill ()
 

Protected Attributes

JKQTPGraphSymbols defaultSymbol
 
QList< JKQTPGraphSymbolssymbols
 

Detailed Description

a QComboBox to select whether a line, symbols or both should be displayed

Constructor & Destructor Documentation

◆ JKQTPLinePlotStyleComboBox()

JKQTPLinePlotStyleComboBox::JKQTPLinePlotStyleComboBox ( QWidget *  parent = nullptr)

Member Function Documentation

◆ addSymbol()

void JKQTPLinePlotStyleComboBox::addSymbol ( JKQTPGraphSymbols  symbol,
bool  line,
const QString &  name = QString(""),
const QVariant &  data = QVariant() 
)
protected

◆ addUsedSymbol()

void JKQTPLinePlotStyleComboBox::addUsedSymbol ( JKQTPGraphSymbols  symbol)

◆ getDrawLine()

bool JKQTPLinePlotStyleComboBox::getDrawLine ( ) const

◆ getSymbol()

JKQTPGraphSymbols JKQTPLinePlotStyleComboBox::getSymbol ( ) const

◆ refill()

void JKQTPLinePlotStyleComboBox::refill ( )
protected

◆ setDefaultSymbol()

void JKQTPLinePlotStyleComboBox::setDefaultSymbol ( JKQTPGraphSymbols  symbol)

Member Data Documentation

◆ defaultSymbol

JKQTPGraphSymbols JKQTPLinePlotStyleComboBox::defaultSymbol
protected

◆ symbols

QList<JKQTPGraphSymbols> JKQTPLinePlotStyleComboBox::symbols
protected

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