28 #ifndef UAVGADGETINSTANCEMANAGER_H
29 #define UAVGADGETINSTANCEMANAGER_H
33 #include <QtCore/QMap>
34 #include <QtCore/QStringList>
39 namespace ExtensionSystem {
50 class IUAVGadgetConfiguration;
52 class IUAVGadgetFactory;
61 void readSettings(QSettings *qs);
62 void saveSettings(QSettings *qs);
63 IUAVGadget *createGadget(QString classId, QWidget *parent,
bool forceLoadConfiguration =
false);
65 void removeAllGadgets();
70 void configurationNameEdited(QString text,
bool hasText =
true);
71 QStringList
classIds()
const {
return m_classIdNameMap.keys(); }
72 QStringList configurationNames(QString classId)
const;
73 QString gadgetName(QString classId)
const;
74 QIcon gadgetIcon(QString classId)
const;
77 void splashMessages(QString);
86 void settingsDialogRemoved();
90 void createOptionsPages();
92 QString suggestName(QString classId, QString name);
97 QMap<QString, QString> m_classIdNameMap;
98 QMap<QString, QIcon> m_classIdIconMap;
99 QMap<QString, QStringList> m_takenNames;
107 void readConfigs_1_1_0(QSettings *qs);
108 void readConfigs_1_2_0(QSettings *qs);
113 #endif // UAVGADGETINSTANCEMANAGER_H
Core plugin system that manages the plugins, their life cycle and their registered objects...
QStringList classIds() const