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

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 ARROWPROPERTIESTAB_H
0014 #define ARROWPROPERTIESTAB_H
0015 
0016 #include "dialogtab.h"
0017 #include "ui_arrowpropertiestab.h"
0018 
0019 #include "kst_export.h"
0020 
0021 namespace Kst {
0022 
0023 class ArrowPropertiesTab : public DialogTab, Ui::ArrowPropertiesTab {
0024   Q_OBJECT
0025   public:
0026     explicit ArrowPropertiesTab(QWidget *parent = 0);
0027     virtual ~ArrowPropertiesTab();
0028 
0029     bool startArrowHead();
0030     void setStartArrowHead(const bool enabled);
0031 
0032     bool endArrowHead();
0033     void setEndArrowHead(const bool enabled);
0034 
0035     qreal startArrowScale();
0036     void setStartArrowScale(const qreal scale);
0037 
0038     qreal endArrowScale();
0039     void setEndArrowScale(const qreal scale);
0040 
0041   public Q_SLOTS:
0042     void update();
0043 };
0044 
0045 }
0046 
0047 #endif
0048 
0049 // vim: ts=2 sw=2 et