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

Public Slots

virtual void setPaletteShown (bool)
 
virtual void setFontSize ()
 

Signals

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

Public Member Functions

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

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)
 
void storeDockState ()
 
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: