QtiPlot
0.9.8.2
|
Tools window to select special text characters. More...
#include <SymbolDialog.h>
Public Types | |
enum | CharSet { lowerGreek = 0, upperGreek = 1, mathSymbols = 2, arrowSymbols = 3, numberSymbols = 4, latexArrowSymbols = 5, latexMathSymbols = 6 } |
Character set. More... | |
Public Slots | |
void | addCurrentChar () |
Find and emit char from current button ([return] pressed) More... | |
void | getChar (int btnIndex) |
Find and emit char from pressed button. More... | |
virtual void | languageChange () |
Change language (reset title) More... | |
Signals | |
void | addLetter (const QString &) |
Emitted when a letter is to be added. More... | |
Public Member Functions | |
SymbolDialog (CharSet charSet, QWidget *parent=0, Qt::WFlags fl=0) | |
Constructor. More... | |
Protected Member Functions | |
void | focusInEvent (QFocusEvent *event) |
Event handler: When the dialog gets the focus the first button is set to react on [return]. More... | |
Private Member Functions | |
void | initArrowSymbols () |
Show arrow symbols. More... | |
void | initLatexArrowSymbols () |
Show default LaTeX arrow symbols. More... | |
void | initLatexMathSymbols () |
Show default LaTeX math symbols. More... | |
void | initLowerGreekChars () |
Show lowercase Greek characters. More... | |
void | initMathSymbols () |
Show mathematical symbols. More... | |
void | initNumberSymbols () |
Show number symbols. More... | |
void | initUpperGreekChars () |
Show uppercase Greek characters. More... | |
Private Attributes | |
QButtonGroup * | buttons |
QPushButton * | closeButton |
QGridLayout * | gridLayout |
QVBoxLayout * | mainLayout |
int | numButtons |
Tools window to select special text characters.
SymbolDialog::SymbolDialog | ( | CharSet | charSet, |
QWidget * | parent = 0 , |
||
Qt::WFlags | fl = 0 |
||
) |
Constructor.
charSet | character set (lower- or uppercase) |
parent | parent widget |
fl | window flags |
References addCurrentChar(), arrowSymbols, buttons, closeButton, getChar(), gridLayout, initArrowSymbols(), initLatexArrowSymbols(), initLatexMathSymbols(), initLowerGreekChars(), initMathSymbols(), initNumberSymbols(), initUpperGreekChars(), languageChange(), latexArrowSymbols, latexMathSymbols, lowerGreek, mainLayout, mathSymbols, numberSymbols, and upperGreek.
|
slot |
Find and emit char from current button ([return] pressed)
References addLetter(), buttons, and numButtons.
Referenced by SymbolDialog().
|
signal |
Emitted when a letter is to be added.
Referenced by addCurrentChar(), and getChar().
|
protected |
Event handler: When the dialog gets the focus the first button is set to react on [return].
References buttons.
|
slot |
Find and emit char from pressed button.
References addLetter(), and buttons.
Referenced by SymbolDialog().
|
private |
|
private |
Show default LaTeX arrow symbols.
References buttons, gridLayout, and numButtons.
Referenced by SymbolDialog().
|
private |
Show default LaTeX math symbols.
References buttons, gridLayout, and numButtons.
Referenced by SymbolDialog().
|
private |
|
private |
Show mathematical symbols.
References buttons, gridLayout, and numButtons.
Referenced by SymbolDialog().
|
private |
|
private |
Show uppercase Greek characters.
References buttons, gridLayout, and numButtons.
Referenced by SymbolDialog().
|
virtualslot |
Change language (reset title)
Referenced by SymbolDialog().
|
private |
|
private |
Referenced by SymbolDialog().
|
private |
|
private |
Referenced by SymbolDialog().
|
private |