Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 57 lines (44 sloc) 1.534 kb
0726074 @mpjeff Added display color option to object group properties
mpjeff authored
1 /*
6fc1468 @bjorn Made copyright statements more specific
bjorn authored
2 * objectgrouppropertiesdialog.h
3 * Copyright 2009-2010, Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
4 * Copyright 2010, Michael Woerister <michaelwoerister@gmail.com>
0726074 @mpjeff Added display color option to object group properties
mpjeff authored
5 *
6fc1468 @bjorn Made copyright statements more specific
bjorn authored
6 * This file is part of Tiled.
0726074 @mpjeff Added display color option to object group properties
mpjeff authored
7 *
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the Free
10 * Software Foundation; either version 2 of the License, or (at your option)
11 * any later version.
12 *
13 * This program is distributed in the hope that it will be useful, but WITHOUT
14 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16 * more details.
17 *
18 * You should have received a copy of the GNU General Public License along with
6fc1468 @bjorn Made copyright statements more specific
bjorn authored
19 * this program. If not, see <http://www.gnu.org/licenses/>.
0726074 @mpjeff Added display color option to object group properties
mpjeff authored
20 */
21
22 #ifndef OBJECTGROUPPROPERTIESDIALOG_H
23 #define OBJECTGROUPPROPERTIESDIALOG_H
24
25 #include "propertiesdialog.h"
26
27 namespace Tiled {
28
29 class ObjectGroup;
30
31 namespace Internal {
32
33 class MapDocument;
34 class ColorButton;
35
36 class ObjectGroupPropertiesDialog : public PropertiesDialog
37 {
38 Q_OBJECT
39
40 public:
41 ObjectGroupPropertiesDialog(MapDocument *mapDocument,
42 ObjectGroup *objectGroup,
43 QWidget *parent = 0);
44
45 void accept();
46
47 private:
48 MapDocument *mMapDocument;
49 ObjectGroup *mObjectGroup;
50 ColorButton *mColorButton;
51 };
52
53 } // namespace Internal
54 } // namespace Tiled
55
56 #endif // OBJECTGROUPPROPERTIESDIALOG_H
Something went wrong with that request. Please try again.