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

Public Slots

void languageChange ()
 
void pageLayoutChanged (int)
 

Signals

void changeToOtherSection (const QString &)
 
void prefsChangeUnits (int unit)
 

Public Member Functions

 Prefs_DocumentSetup (QWidget *parent, ScribusDoc *doc=NULL)
 
virtual void restoreDefaults (struct ApplicationPrefs *prefsData)
 
virtual void saveGuiToPrefs (struct ApplicationPrefs *prefsData) const
 
void getResizeDocumentPages (bool &resizePages, bool &resizeMasterPages, bool &resizePageMargins, bool &resizeMasterPageMargins)
 
void setupPageSizes (struct ApplicationPrefs *prefsData)
 
- Public Member Functions inherited from Prefs_Pane
 Prefs_Pane (QWidget *parent)
 

Protected Slots

void setPageWidth (double)
 
void setPageHeight (double)
 Preferences (Document / Page Size), sets Page height values. More...
 
void setPageOrientation (int)
 Preferences (Document / Page Size), sets Page orientation value and page dimensions. More...
 
void setSize (const QString &gr)
 Preferences (Document / Page Size), sets Page size values. Connects signals for setting page dimensions. More...
 
void setPageSize ()
 
void slotUndo (bool)
 
void unitChange ()
 
void emitSectionChange ()
 

Protected Member Functions

void setupPageSets ()
 

Protected Attributes

ScribusDocm_doc
 
double unitRatio
 
int choosenLayout
 
double pageW
 
double pageH
 
QString prefsPageSizeName
 
QList< PageSetpageSets
 

Member Function Documentation

void Prefs_DocumentSetup::setPageHeight ( double  h)
protectedslot

Preferences (Document / Page Size), sets Page height values.

Author
Franz Schmid
Parameters
vHeight value
void Prefs_DocumentSetup::setPageOrientation ( int  orientation)
protectedslot

Preferences (Document / Page Size), sets Page orientation value and page dimensions.

Author
Franz Schmid
Parameters
oriOrientation value
void Prefs_DocumentSetup::setSize ( const QString &  gr)
protectedslot

Preferences (Document / Page Size), sets Page size values. Connects signals for setting page dimensions.

Author
Franz Schmid
Parameters
grStandard page size value (eg A4)

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