![]() |
Scribus
Open source desktop publishing at your fingertips
|
Character Palette for direct glyphs inserting. The "classical" one is opened as CharSelectEnhanced instance. Both CharSelect/CharSelectEnhanced palettes are split due: 1) initial and usage performace. The CharSelectEnhanced is too slow to load on startup/doc opening etc. The memory footprint is much smaller too. 2) It was one dialog before split. To show/hide "enhanced" part caused serious mess with layouts and dialog sizes and positioning. Now it's handled in standard way. More...
#include <charselect.h>
Signals | |
void | insertSpecialChar () |
A signall emittedthis palette tries to insert glyphs. It does not have sense in standard "palette" mode, but it's used in StoryEditor workaround. | |
void | insertUserSpecialChar (QChar, QString) |
![]() | |
void | paletteShown (bool) |
Let the action for this palette know when something changes and it hasnt caused it. | |
Public Member Functions | |
CharSelect (QWidget *parent) | |
void | hide () |
Sample way to grab keystrokes, simply calls superclass at this point. | |
void | show () |
void | setDoc (ScribusDoc *doc) |
void | setEnabled (bool state, PageItem *item=0) |
const QString & | getCharacters () |
CharTableModel * | userTableModel () |
Used for StoryEditor. | |
virtual void | changeEvent (QEvent *e) |
![]() | |
ScrPaletteBase (QWidget *parent=NULL, const QString &prefsContext=QString::null, bool modal=false, Qt::WindowFlags f=0) | |
void | startup () |
Additional Inherited Members | |
![]() | |
virtual void | setPaletteShown (bool) |
virtual void | setFontSize () |
virtual int | exec () |
int | exec (QWidget *newParent) |
![]() | |
virtual void | reject () |
![]() | |
virtual void | setPrefsContext (QString context) |
Set the Preferences context to be used for storage of startup visibility and position and size. | |
void | storePosition () |
void | storePosition (int newX, int newY) |
void | storeSize () |
void | storeVisibility (bool) |
virtual void | showEvent (QShowEvent *showEvent) |
Restore the geometry of the window when showing it. | |
virtual void | closeEvent (QCloseEvent *closeEvent) |
Captures the close event and changes it to hide. | |
virtual void | hideEvent (QHideEvent *) |
Stores the geometry of the window when hiding. | |
![]() | |
PrefsContext * | palettePrefs |
QString | prefsContextName |
bool | visibleOnStartup |
QWidget * | originalParent |
QWidget * | tempParent |
Character Palette for direct glyphs inserting. The "classical" one is opened as CharSelectEnhanced instance. Both CharSelect/CharSelectEnhanced palettes are split due: 1) initial and usage performace. The CharSelectEnhanced is too slow to load on startup/doc opening etc. The memory footprint is much smaller too. 2) It was one dialog before split. To show/hide "enhanced" part caused serious mess with layouts and dialog sizes and positioning. Now it's handled in standard way.
|
signal |
Internal signal for one glyph only