Scribus
Open source desktop publishing at your fingertips
ScripterPrefsGui Class Reference

Subclass of PrefsPanel that's supplied to the prefs dialog for use when showing plugin preferences. More...

#include <scripterprefsgui.h>

Inheritance diagram for ScripterPrefsGui:
Collaboration diagram for ScripterPrefsGui:

Public Slots

void apply ()
 
- Public Slots inherited from PrefsPanel
virtual void apply ()=0
 applies changes made to prefs to the app. More...
 

Signals

void prefsChanged ()
 

Public Member Functions

 ScripterPrefsGui (QWidget *parent)
 
- Public Member Functions inherited from PrefsPanel
 PrefsPanel (QWidget *parent)
 

Protected Slots

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

Protected Member Functions

void setupSyntaxColors ()
 
void setButtonIcon (QPushButton *button, QColor color)
 

Protected Attributes

SyntaxColorssyntaxColors
 

Detailed Description

Subclass of PrefsPanel that's supplied to the prefs dialog for use when showing plugin preferences.

Member Function Documentation

void ScripterPrefsGui::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: