Back to index

scribus-ng  1.3.4.dfsg+svn20071115
sxwdia.h
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 #ifndef SXWDIA_H
00008 #define SXWDIA_H
00009 
00010 #include "scconfig.h"
00011 
00012 #ifdef HAVE_XML
00013 
00014 #include <qcheckbox.h>
00015 #include <qcombobox.h>
00016 #include <qdialog.h>
00017 #include <qlabel.h>
00018 #include <qlayout.h>
00019 #include <qpushbutton.h>
00020 #include <qstring.h>
00021 #include <qstringlist.h>
00022 
00023 class SxwDialog : public QDialog
00024 {
00025        Q_OBJECT
00026 
00027 public:
00028        SxwDialog(bool update, bool prefix, bool pack);
00029        ~SxwDialog();
00030        bool shouldUpdate();
00031        bool usePrefix();
00032        bool askAgain();
00033        bool packStyles();
00034 private:
00035        QCheckBox* updateCheck;
00036        QCheckBox* prefixCheck;
00037        QCheckBox* doNotAskCheck;
00038        QCheckBox* packCheck;
00039        QPushButton* okButton;
00040        QPushButton* cancelButton;
00041 };
00042 
00043 #endif // HAVE_XML
00044 
00045 #endif // CSVDIA_H