kspread
CharSelectDia Class Reference
A dialog for selecting a character. More...
#include <CharSelectDia.h>
Inheritance diagram for CharSelectDia:

Signals | |
| void | insertChar (QChar character, const QString &font) |
Public Member Functions | |
| CharSelectDia (QWidget *parent, const char *name, const QString &_font, const QChar &_chr, bool _modal=true) | |
| CharSelectDia (QWidget *parent, const char *name, const QChar &_chr, const QString &_font, bool _modal=true) | |
| ~CharSelectDia () | |
Static Public Member Functions | |
| static bool | selectChar (QString &font, QChar &character, QWidget *parent=0, const char *name=0) |
Detailed Description
A dialog for selecting a character.
Definition at line 31 of file CharSelectDia.h.
Constructor & Destructor Documentation
| CharSelectDia::CharSelectDia | ( | QWidget * | parent, | |
| const char * | name, | |||
| const QChar & | _chr, | |||
| const QString & | _font, | |||
| bool | _modal = true | |||
| ) |
Definition at line 42 of file CharSelectDia.cpp.
| CharSelectDia::CharSelectDia | ( | QWidget * | parent, | |
| const char * | name, | |||
| const QString & | _font, | |||
| const QChar & | _chr, | |||
| bool | _modal = true | |||
| ) |
Definition at line 60 of file CharSelectDia.cpp.
| CharSelectDia::~CharSelectDia | ( | ) |
Definition at line 99 of file CharSelectDia.cpp.
Member Function Documentation
Emitted when the user presses the 'insert' button.
- Parameters:
-
character the character that the user selected font the font name that was selected when the user inserted the character.
| bool CharSelectDia::selectChar | ( | QString & | font, | |
| QChar & | character, | |||
| QWidget * | parent = 0, |
|||
| const char * | name = 0 | |||
| ) | [static] |
Shows the selection dialog and returns true if user pressed ok, after filling the font and character parameters.
- Parameters:
-
font will be filled when the user pressed Ok with the selected font. character will be filled when the user pressed Ok with the selected character. parent the parent widget this dialog will be associated with.
Definition at line 110 of file CharSelectDia.cpp.
The documentation for this class was generated from the following files:
