From 8c0070a69df9337dee81d4a9d645dd9726564681 Mon Sep 17 00:00:00 2001 From: Arno Date: Wed, 8 Apr 2015 12:54:41 +0200 Subject: Implement presets for NewPicsDialog A set of attributes can now be saved and loaded in NewPicsDialog. --- mappingtreewidget.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mappingtreewidget.cpp') diff --git a/mappingtreewidget.cpp b/mappingtreewidget.cpp index 917da68..ab9b844 100644 --- a/mappingtreewidget.cpp +++ b/mappingtreewidget.cpp @@ -348,6 +348,10 @@ void MappingEditWidget::setMappings(const QList &mappings){ mMappingResult->expandAll(); } +void MappingEditWidget::expandAllResults(){ + mMappingResult->expandAll(); +} + void MappingEditWidget::resultMappingChanged(const QModelIndex &cur, const QModelIndex &prev){ Q_UNUSED(prev); if(!cur.isValid()){ -- cgit v1.2.3-70-g09d2