File indexing completed on 2024-12-22 04:17:34
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 LAYOUTTAB_H 0014 #define LAYOUTTAB_H 0015 0016 #include "dialogtab.h" 0017 #include "ui_layouttab.h" 0018 0019 #include "kst_export.h" 0020 0021 namespace Kst { 0022 0023 class LayoutTab : public DialogTab, Ui::LayoutTab { 0024 Q_OBJECT 0025 public: 0026 explicit LayoutTab(QWidget *parent = 0); 0027 virtual ~LayoutTab(); 0028 0029 double horizontalMargin() const; 0030 bool horizontalMarginDirty() const; 0031 void setHorizontalMargin(double horizontalMargin); 0032 0033 double verticalMargin() const; 0034 bool verticalMarginDirty() const; 0035 void setVerticalMargin(double verticalMargin); 0036 0037 double horizontalSpacing() const; 0038 bool horizontalSpacingDirty() const; 0039 void setHorizontalSpacing(double horizontalSpacing); 0040 0041 double verticalSpacing() const; 0042 bool verticalSpacingDirty() const; 0043 void setVerticalSpacing(double verticalSpacing); 0044 0045 void clearTabValues(); 0046 }; 0047 0048 } 0049 0050 #endif 0051 0052 // vim: ts=2 sw=2 et