1
/***************************************************************************
2
qgsstylev2exportimportdialog.h
5
copyright : (C) 2011 by Alexander Bruy
6
email : alexander dot bruy at gmail dot com
8
***************************************************************************
10
* This program is free software; you can redistribute it and/or modify *
11
* it under the terms of the GNU General Public License as published by *
12
* the Free Software Foundation; either version 2 of the License, or *
13
* (at your option) any later version. *
15
***************************************************************************/
17
/* $Id: qgsstylev2exportimportdialog.h 13187 2010-03-28 22:14:44Z jef $ */
19
#ifndef QGSSTYLEV2EXPORTIMPORTDIALOG_H
20
#define QGSSTYLEV2EXPORTIMPORTDIALOG_H
24
#include "ui_qgsstylev2exportimportdialogbase.h"
28
class QgsStyleV2ExportImportDialog : public QDialog, private Ui::QgsStyleV2ExportImportDialogBase
40
// mode argument must be 0 for saving and 1 for loading
41
QgsStyleV2ExportImportDialog( QgsStyleV2* style, QWidget *parent = NULL, Mode mode = Export, QString fileName = "" );
42
~QgsStyleV2ExportImportDialog();
45
void doExportImport();
47
void clearSelection();
50
bool populateStyles( QgsStyleV2* style );
51
void moveStyles( QModelIndexList* selection, QgsStyleV2* src, QgsStyleV2* dst );
56
QgsStyleV2* mQgisStyle;
57
QgsStyleV2* mTempStyle;
60
#endif // QGSSTYLEV2EXPORTIMPORTDIALOG_H