File indexing completed on 2024-04-28 16:26:33
0001 /************************************************************************** 0002 * Copyright (C) 2007 by Michel Ludwig (michel.ludwig@kdemail.net) * 0003 ***************************************************************************/ 0004 0005 /************************************************************************** 0006 * * 0007 * This program is free software; you can redistribute it and/or modify * 0008 * it under the terms of the GNU General Public License as published by * 0009 * the Free Software Foundation; either version 2 of the License, or * 0010 * (at your option) any later version. * 0011 * * 0012 ***************************************************************************/ 0013 0014 #ifndef QUICKTOOLCONFIGWIDGET_H 0015 #define QUICKTOOLCONFIGWIDGET_H 0016 0017 #include <QWidget> 0018 0019 #include "ui_quicktoolconfigwidget.h" 0020 0021 class QuickToolConfigWidget : public QWidget, public Ui::QuickToolConfigWidget 0022 { 0023 Q_OBJECT 0024 0025 public: 0026 explicit QuickToolConfigWidget(QWidget *parent = 0); 0027 ~QuickToolConfigWidget(); 0028 0029 public Q_SLOTS: 0030 virtual void updateSequence(const QString& sequence); 0031 virtual void updateConfigs(const QString& tool); 0032 0033 Q_SIGNALS: 0034 void sequenceChanged(const QString &); 0035 0036 private: 0037 QString m_sequence; 0038 QString m_currentDefaultConfig; 0039 0040 private Q_SLOTS: 0041 void down(); 0042 void up(); 0043 void remove(); 0044 void add(); 0045 void changed(); 0046 }; 0047 0048 #endif