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

Public Slots

void languageChange ()
 
void apply ()
 Apply changes to prefs. Auto connected.
 

Signals

void prefsChanged ()
 

Public Member Functions

 Prefs_Scripter (QWidget *parent=0)
 
virtual void restoreDefaults (struct ApplicationPrefs *prefsData)
 
virtual void saveGuiToPrefs (struct ApplicationPrefs *prefsData) const
 
- Public Member Functions inherited from Prefs_Pane
 Prefs_Pane (QWidget *parent)
 

Protected Slots

void setColor ()
 All requests for color change are handled here. More...
 
void changeStartupScript ()
 

Protected Member Functions

void setupSyntaxColors ()
 

Protected Attributes

QColor textColor
 
QColor commentColor
 
QColor keywordColor
 
QColor errorColor
 
QColor signColor
 
QColor stringColor
 
QColor numberColor
 

Member Function Documentation

void Prefs_Scripter::setColor ( )
protectedslot

All requests for color change are handled here.

Author
Petr Vanek
Warning
I'm trying to handle multiple signals via single slot here. sender() Returns a pointer to the object that sent the signal, if called in a slot activated by a signal; otherwise the return value is undefined. This function will return something apparently correct in other cases as well. However, its value may change during any function call, depending on what signal-slot connections are activated during that call. In Qt 3.0 the value will change more often than in 2.x. This function violates the object-oriented principle of modularity. However, getting access to the sender might be useful when many signals are connected to a single slot. The sender is undefined if the slot is called as a normal C++ function.

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