File indexing completed on 2024-12-22 04:17:33
0001 /*************************************************************************** 0002 * * 0003 * copyright : (C) 2008 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 LABELITEMDIALOG_H 0014 #define LABELITEMDIALOG_H 0015 0016 #include "viewitemdialog.h" 0017 0018 #include "kst_export.h" 0019 0020 namespace Kst { 0021 0022 class LabelPropertiesTab; 0023 class LabelDimensionsTab; 0024 class LabelItem; 0025 0026 class LabelItemDialog : public ViewItemDialog 0027 { 0028 Q_OBJECT 0029 public: 0030 explicit LabelItemDialog(LabelItem *item, QWidget *parent = 0); 0031 virtual ~LabelItemDialog(); 0032 0033 private Q_SLOTS: 0034 void propertiesChanged(); 0035 virtual void saveDimensions(ViewItem *item); 0036 0037 0038 private: 0039 virtual void setupDimensions(); 0040 void setupProperties(); 0041 0042 LabelPropertiesTab *_propertiesTab; 0043 LabelDimensionsTab *_labelDimensionsTab; 0044 0045 LabelItem *_labelItem; 0046 }; 0047 0048 } 0049 0050 #endif 0051 0052 // vim: ts=2 sw=2 et