root/trunk/demo/viewer/layer_info_dialog.hpp

Revision 1675, 1.2 kB (checked in by artem, 5 months ago)

+ move layer info logic into dialog ctor

Line 
1/* This file is part of Mapnik (c++ mapping toolkit)
2 * Copyright (C) 2007 Artem Pavlenko
3 *
4 * Mapnik is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
17 */
18
19//$Id$
20
21
22#ifndef LAYER_INFO_DIALOG_HPP
23#define LAYER_INFO_DIALOG_HPP
24
25#include "ui_layer_info.h"
26#include <QDialog>
27
28namespace mapnik
29{
30struct layer;
31}
32
33class layer_info_dialog : public QDialog
34{
35  Q_OBJECT
36  public:
37    layer_info_dialog(mapnik::layer& l, QWidget * parent = 0);
38    Ui::LayerInfoDialog& getUI();
39   private:
40      Ui::LayerInfoDialog ui;
41};
42
43
44#endif //LAYER_INFO_DIALOG_HPP
Note: See TracBrowser for help on using the browser.