73 void setMode( Mode mode );
116 bool checkMetadata();
126 void acceptMetadata();
131 static QMap<QString, QString> parseLanguages();
136 static QStringList parseLicenses();
142 static QStringList parseLinkTypes();
148 static QStringList parseMimeTypes();
153 static QMap<QString, QString> parseTypes();
168 QString title() const;
180 void setTitle( const QString &title );
195 void removeSelectedCategories();
197 void fillSourceFromLayer();
198 void fillCrsFromLayer();
199 void fillCrsFromProvider();
200 void addDefaultCategories();
201 void addNewCategory();
202 void addVocabulary();
203 void removeSelectedVocabulary();
205 void removeSelectedLicence();
207 void removeSelectedRight();
208 void addConstraint();
209 void removeSelectedConstraint();
211 void removeSelectedAddress();
213 void removeSelectedLink();
215 void removeSelectedHistory();
219 void setUiFromMetadata();
220 void syncFromCategoriesTabToKeywordsTab();
224 QStringList mDefaultCategories;
228 QStandardItemModel *mConstraintsModel =
nullptr;
229 QStandardItemModel *mLinksModel =
nullptr;
230 QStringListModel *mCategoriesModel =
nullptr;
231 QStringListModel *mDefaultCategoriesModel =
nullptr;
232 QStringListModel *mRightsModel =
nullptr;
233 QStringListModel *mHistoryModel =
nullptr;
261 QWidget *createEditor( QWidget *parent,
const QStyleOptionViewItem &option,
const QModelIndex &index )
const override;
285 QWidget *createEditor( QWidget *parent,
const QStyleOptionViewItem &option,
const QModelIndex &index )
const override;