1 #ifndef ITEM_TEMPLATES_WIDGET_H 2 #define ITEM_TEMPLATES_WIDGET_H 5 #include <QDomDocument> 6 #include <QModelIndexList> 19 void createTemplate(QDomDocument
const& items, QPixmap
const& pixmap);
22 void handleSelectionChanged(QModelIndex
const& current, QModelIndex
const&);
25 bool eventFilter(QObject* obj, QEvent* event);
26 void saveTemplate(QString
const& name, QDomDocument
const& items, QPixmap
const& pixmap);
27 QString promptUserForTemplateName();
28 QString askTemplateName(
bool* shouldCancel);
29 void deleteTemplates(QModelIndexList
const& indexes);
30 void updatePreview(
const QModelIndex& current);
35 int const _sliderValuesFactor = 10;
38 #endif // ITEM_TEMPLATES_WIDGET_H Definition: item_origin_visualizer.h:10
Definition: item_templates_model.h:10