Chris@1285: /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ Chris@1285: Chris@1285: /* Chris@1285: Sonic Visualiser Chris@1285: An audio file viewer and annotation editor. Chris@1285: Centre for Digital Music, Queen Mary, University of London. Chris@1285: Chris@1285: This program is free software; you can redistribute it and/or Chris@1285: modify it under the terms of the GNU General Public License as Chris@1285: published by the Free Software Foundation; either version 2 of the Chris@1285: License, or (at your option) any later version. See the file Chris@1285: COPYING included with this distribution for more information. Chris@1285: */ Chris@1285: Chris@1285: #ifndef SV_PLUGIN_PATH_CONFIGURATOR_H Chris@1285: #define SV_PLUGIN_PATH_CONFIGURATOR_H Chris@1285: Chris@1285: #include Chris@1285: #include Chris@1285: #include Chris@1285: Chris@1285: class PluginPathConfigurator : public QFrame Chris@1285: { Chris@1285: Q_OBJECT Chris@1285: Chris@1285: public: Chris@1285: PluginPathConfigurator(QWidget *parent = 0); Chris@1285: ~PluginPathConfigurator(); Chris@1285: Chris@1285: void setPath(QStringList directories, QString envVariable); Chris@1285: QStringList getPath() const; Chris@1285: Chris@1285: signals: Chris@1285: void pathChanged(QStringList); Chris@1285: Chris@1285: private slots: Chris@1285: void upClicked(); Chris@1285: void downClicked(); Chris@1285: void deleteClicked(); Chris@1285: Chris@1285: private: Chris@1285: QGridLayout *m_layout; Chris@1285: Chris@1285: QStringList m_path; Chris@1285: QString m_var; Chris@1285: Chris@1285: void populate(); Chris@1285: Chris@1285: }; Chris@1285: Chris@1285: #endif Chris@1285: Chris@1285: