File indexing completed on 2024-12-22 04:18:19
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 SCALARLISTSELECTOR_H 0014 #define SCALARLISTSELECTOR_H 0015 0016 #include <QWidget> 0017 #include "ui_scalarlistselector.h" 0018 0019 #include "kstwidgets_export.h" 0020 0021 namespace Kst { 0022 0023 class KSTWIDGETS_EXPORT ScalarListSelector : public QDialog, public Ui::ScalarListSelector { 0024 Q_OBJECT 0025 public: 0026 explicit ScalarListSelector(QWidget *parent = 0); 0027 virtual ~ScalarListSelector(); 0028 0029 QString selectedScalar() const; 0030 0031 void fillScalars(QStringList& scalars); 0032 void clear(); 0033 0034 public Q_SLOTS: 0035 void filter(const QString& filter); 0036 }; 0037 0038 } 0039 0040 #endif 0041 0042 // vim: ts=2 sw=2 et