1
/***************************************************************************
3
------------------------
4
begin : September 11 2009
5
copyright : (C) 2009 by Marco Hugentobler
6
email : marco at hugis dot net
7
***************************************************************************/
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
#ifndef QGSCOMPOSERMANAGER_H
18
#define QGSCOMPOSERMANAGER_H
20
#include "ui_qgscomposermanagerbase.h"
23
class QListWidgetItem;
26
/**A dialog that shows the existing composer instances. Lets the user add new \
27
instances and change title of existing ones*/
28
class QgsComposerManager: public QDialog, private Ui::QgsComposerManagerBase
32
QgsComposerManager( QgisApp* app, QWidget * parent = 0, Qt::WindowFlags f = 0 );
33
~QgsComposerManager();
38
/**Stores the relation between items and composer pointers */
39
QMap<QListWidgetItem*, QgsComposer*> mItemComposerMap;
40
/**Enters the composer instances and created the item-composer map*/
44
void on_mAddButton_clicked();
45
void on_mRemoveButton_clicked();
46
void on_mShowPushButton_clicked();
47
void on_mRenamePushButton_clicked();
48
void on_mComposerListWidget_itemChanged( QListWidgetItem * item );
51
#endif // QGSCOMPOSERMANAGER_H