KReport

KReportLabelSizeInfo.h
1 /* This file is part of the KDE project
2  * Copyright (C) 2001-2007 by OpenMFG, LLC ([email protected])
3  * Copyright (C) 2007-2008 by Adam Pigg ([email protected])
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #ifndef __LABELSIZEINFO_H__
20 #define __LABELSIZEINFO_H__
21 
22 #include <QStringList>
23 
24 class KReportLabelSizeInfo
25 {
26 public:
27  KReportLabelSizeInfo(const char *n, const char *p, int c, int r, int w, int h, int sx, int sy, int xg, int yg);
28  KReportLabelSizeInfo();
29  virtual ~KReportLabelSizeInfo();
30 
31  QString name() const;
32  QString paper() const;
33 
34  int columns() const;
35  int rows() const;
36 
37  int width() const;
38  int height() const;
39 
40  int startX() const;
41  int startY() const;
42 
43  int xGap() const;
44  int yGap() const;
45 
46  bool isNull() const;
47 
48  static KReportLabelSizeInfo find(const QString &);
49  static QStringList labelNames();
50 
51 protected:
52  QString m_name;
53  QString m_paper;
54 
55  int m_columns;
56  int m_rows;
57 
58  int m_width;
59  int m_height;
60 
61  int m_startx;
62  int m_starty;
63 
64  int m_xgap;
65  int m_ygap;
66 
67  bool m_null;
68 };
69 
70 #endif
const QList< QKeySequence > & find()
QString name(StandardShortcut id)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Feb 7 2023 04:17:37 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.