Back to index

scribus-ng  1.3.4.dfsg+svn20071115
tabmiscellaneous.cpp
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 #include <qcheckbox.h>
00008 #include <qspinbox.h>
00009 #include <qcolordialog.h>
00010 #include <qtooltip.h>
00011 #include <qpushbutton.h>
00012 
00013 #include "tabmiscellaneous.h"
00014 #include "tabmiscellaneous.moc"
00015 #include "scribusapp.h"
00016 extern ScribusQApp* ScQApp;
00017 
00018 TabMiscellaneous::TabMiscellaneous(QWidget* parent, const char* name)
00019        : TabMiscellaneousBase(parent, name, 0)
00020 {
00021 
00022 }
00023 
00024 
00025 void TabMiscellaneous::restoreDefaults(struct ApplicationPrefs *prefsData)
00026 {
00027        AskForSubs->setChecked(prefsData->askBeforeSubstituite);
00028        stylePreview->setChecked(prefsData->haveStylePreview);
00029        useStandardLI->setChecked(prefsData->useStandardLI);
00030        paragraphsLI->setValue(prefsData->paragraphsLI);
00031 }