Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

TabGeneral Class Reference

General panel for preferences dialog. This class is inherited from UI base class. More...

#include <tabgeneral.h>

Collaboration diagram for TabGeneral:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 TabGeneral (QWidget *parent=0, const char *name=0)
 ~TabGeneral ()
void restoreDefaults (struct ApplicationPrefs *prefsData)

Public Attributes

LanguageManager langMgr
QString selectedGUILang

Private Slots

void setSelectedGUILang (const QString &newLang)
void changeDocs ()
 Runs QFileDialog to get Preferences (General) Path to Documents directory.
void changeProfs ()
 Runs QFileDialog to get Preferences (General) Path to Colour Profiles directory.
void changeScripts ()
 Runs QFileDialog to get Preferences (General) Path to Scripts directory.
void changeDocumentTemplates ()
 Runs QFileDialog to get Preferences (General) Path to Document Templates directory.


Detailed Description

General panel for preferences dialog. This class is inherited from UI base class.

Author:
Petr Vanek <petr@scribus.info>

Definition at line 21 of file tabgeneral.h.


Constructor & Destructor Documentation

TabGeneral::TabGeneral ( QWidget *  parent = 0,
const char *  name = 0 
)

TabGeneral::~TabGeneral (  )  [inline]

Definition at line 27 of file tabgeneral.h.


Member Function Documentation

void TabGeneral::restoreDefaults ( struct ApplicationPrefs prefsData  ) 

void TabGeneral::setSelectedGUILang ( const QString &  newLang  )  [private, slot]

Definition at line 103 of file tabgeneral.cpp.

References LanguageManager::getAbbrevFromLang(), langMgr, and selectedGUILang.

Referenced by TabGeneral().

void TabGeneral::changeDocs (  )  [private, slot]

Runs QFileDialog to get Preferences (General) Path to Documents directory.

Author:
Franz Schmid

Definition at line 108 of file tabgeneral.cpp.

References tr().

Referenced by TabGeneral().

void TabGeneral::changeProfs (  )  [private, slot]

Runs QFileDialog to get Preferences (General) Path to Colour Profiles directory.

Author:
Franz Schmid

Definition at line 115 of file tabgeneral.cpp.

References tr().

Referenced by TabGeneral().

void TabGeneral::changeScripts (  )  [private, slot]

Runs QFileDialog to get Preferences (General) Path to Scripts directory.

Author:
Franz Schmid

Definition at line 122 of file tabgeneral.cpp.

References tr().

Referenced by TabGeneral().

void TabGeneral::changeDocumentTemplates (  )  [private, slot]

Runs QFileDialog to get Preferences (General) Path to Document Templates directory.

Author:
Riku Leino

Definition at line 129 of file tabgeneral.cpp.

References tr().

Referenced by TabGeneral().


Member Data Documentation

Definition at line 30 of file tabgeneral.h.

Referenced by restoreDefaults(), setSelectedGUILang(), and TabGeneral().


The documentation for this class was generated from the following files:
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.