TabGeneral Class Reference
General panel for preferences dialog. This class is inherited from UI base class. More...
#include <tabgeneral.h>

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.
Definition at line 21 of file tabgeneral.h.
Constructor & Destructor Documentation
| TabGeneral::TabGeneral | ( | QWidget * | parent = 0, |
|
| const char * | name = 0 | |||
| ) |
Definition at line 27 of file tabgeneral.cpp.
References changeDocs(), changeDocumentTemplates(), changeProfs(), changeScripts(), LanguageManager::fillInstalledStringList(), ScribusMainWindow::HaveDoc, LanguageManager::init(), langMgr, ScribusCore::primaryMainWindow(), ScCore, setSelectedGUILang(), and tr().
| TabGeneral::~TabGeneral | ( | ) | [inline] |
Definition at line 27 of file tabgeneral.h.
Member Function Documentation
| void TabGeneral::restoreDefaults | ( | struct ApplicationPrefs * | prefsData | ) |
Definition at line 84 of file tabgeneral.cpp.
References ApplicationPrefs::AppFontSize, ApplicationPrefs::DocDir, ApplicationPrefs::documentTemplatesDir, LanguageManager::getLangFromAbbrev(), ApplicationPrefs::GUI, ApplicationPrefs::guiLanguage, langMgr, ApplicationPrefs::moveTimeout, ScribusQApp::neverSplashExists(), ApplicationPrefs::PaletteFontSize, ApplicationPrefs::ProfileDir, ApplicationPrefs::RecentDCount, ApplicationPrefs::ScriptDir, selectedGUILang, setCurrentComboItem(), ApplicationPrefs::showStartupDialog, ApplicationPrefs::useSmallWidgets, and ApplicationPrefs::Wheelval.
Referenced by Preferences::setupGui().
| 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.
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.
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.
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.
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().
| QString TabGeneral::selectedGUILang |
Definition at line 31 of file tabgeneral.h.
Referenced by restoreDefaults(), setSelectedGUILang(), and Preferences::updatePreferences().
The documentation for this class was generated from the following files:
