A widget to select a syntax. More...
#include <syntaxbox.h>
Public Member Functions | |
SyntaxBox (bool showLabel=true, QWidget *parent=0) | |
~SyntaxBox () | |
QString | getSyntax () |
void | setSyntax (QString syntax) |
A widget to select a syntax.
This widget provides a combobox with the available syntax options and an optional describing label.
SyntaxBox::SyntaxBox | ( | bool | showLabel = true , |
|
QWidget * | parent = 0 | |||
) |
SyntaxBox::~SyntaxBox | ( | ) |
The destructro.
Destroys the object.
QString SyntaxBox::getSyntax | ( | ) |
Get the selected syntax.
void SyntaxBox::setSyntax | ( | QString | syntax | ) |
Select a specific syntax.
syntax | The syntax which will be selected. |