File indexing completed on 2024-12-22 04:17:24

0001 /***************************************************************************
0002  *                                                                         *
0003  *   copyright : (C) 2007 The University of Toronto                        *
0004  *                   netterfield@astro.utoronto.ca                         *
0005  *                                                                         *
0006  *   This program is free software; you can redistribute it and/or modify  *
0007  *   it under the terms of the GNU General Public License as published by  *
0008  *   the Free Software Foundation; either version 2 of the License, or     *
0009  *   (at your option) any later version.                                   *
0010  *                                                                         *
0011  ***************************************************************************/
0012 
0013 #ifndef APPLICATIONSETTINGSDIALOG_H
0014 #define APPLICATIONSETTINGSDIALOG_H
0015 
0016 #include "dialog.h"
0017 
0018 #include <QPointer>
0019 
0020 #include "kst_export.h"
0021 
0022 namespace Kst {
0023 
0024 class GeneralTab;
0025 class GridTab;
0026 class DefaultLabelPropertiesTab;
0027 class LayoutTab;
0028 
0029 class ApplicationSettingsDialog : public Dialog
0030 {
0031   Q_OBJECT
0032   public:
0033     explicit ApplicationSettingsDialog(QWidget *parent = 0);
0034     virtual ~ApplicationSettingsDialog();
0035 
0036   private Q_SLOTS:
0037     void generalChanged();
0038     void gridChanged();
0039     void defaultLabelPropertiesChanged();
0040     void layoutChanged();
0041 
0042   private:
0043     void setupGeneral();
0044     void setupGrid();
0045     void setupDefaultLabelProperties();
0046     void setupLayout();
0047 
0048   private:
0049     GeneralTab *_generalTab;
0050     GridTab *_gridTab;
0051     DefaultLabelPropertiesTab *_defaultLabelPropertiesTab;
0052     LayoutTab *_layoutTab;
0053 };
0054 
0055 }
0056 
0057 #endif
0058 
0059 // vim: ts=2 sw=2 et