mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-02-07 12:05:14 +01:00
28 lines
495 B
C++
28 lines
495 B
C++
#ifndef PLUGINPARAMETERS_H
|
|
#define PLUGINPARAMETERS_H
|
|
|
|
#include <QWidget>
|
|
#include <QVariantMap>
|
|
|
|
class PluginParameters : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
PluginParameters(const QString &plugin,
|
|
const QMap<QString, QVariantMap> ¶ms, QWidget *parent = 0);
|
|
|
|
const QMap<QString, QVariantMap> ¶meters();
|
|
|
|
public slots:
|
|
void setPlugin(const QString &plugin);
|
|
|
|
private:
|
|
void saveParameters();
|
|
|
|
QMap<QString, QVariantMap> _params;
|
|
QString _plugin;
|
|
};
|
|
|
|
#endif // PLUGINPARAMETERS_H
|