SyntaxBox Class Reference

A widget to select a syntax. More...

#include <syntaxbox.h>

List of all members.

Public Member Functions

 SyntaxBox (bool showLabel=true, QWidget *parent=0)
 ~SyntaxBox ()
QString getSyntax ()
void setSyntax (QString syntax)

Detailed Description

A widget to select a syntax.

This widget provides a combobox with the available syntax options and an optional describing label.

Author:
Manuel Unglaub

Constructor & Destructor Documentation

SyntaxBox::SyntaxBox ( bool  showLabel = true,
QWidget *  parent = 0 
)

The constructor.

Constructs the SyntaxBox which is a child of parent.

Parameters:
showLabel Indicates if the describing label will be shown.
parent The parent of this SyntaxBox.
SyntaxBox::~SyntaxBox (  ) 

The destructro.

Destroys the object.


Member Function Documentation

QString SyntaxBox::getSyntax (  ) 

Get the selected syntax.

Returns:
A QString with the selected syntax.
void SyntaxBox::setSyntax ( QString  syntax  ) 

Select a specific syntax.

Parameters:
syntax The syntax which will be selected.

The documentation for this class was generated from the following files:
Generated on Fri May 14 19:12:52 2010 for Silence by  doxygen 1.6.3