Scribus
Open source desktop publishing at your fingertips
ScrPaletteBase Class Reference
Inheritance diagram for ScrPaletteBase:
Collaboration diagram for ScrPaletteBase:

Public Slots

virtual void setPaletteShown (bool)
 
virtual void setFontSize ()
 
virtual int exec ()
 
int exec (QWidget *newParent)
 

Signals

void paletteShown (bool)
 Let the action for this palette know when something changes and it hasnt caused it.
 

Public Member Functions

 ScrPaletteBase (QWidget *parent=NULL, const QString &prefsContext=QString::null, bool modal=false, Qt::WindowFlags f=0)
 
virtual void hide ()
 Sample way to grab keystrokes, simply calls superclass at this point.
 
void startup ()
 

Protected Slots

virtual void reject ()
 

Protected Member Functions

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.
 

Protected Attributes

PrefsContextpalettePrefs
 
QString prefsContextName
 
bool visibleOnStartup
 
QWidget * originalParent
 
QWidget * tempParent
 

The documentation for this class was generated from the following files: