2010-12-19 18:08:08 +00:00
|
|
|
/*
|
2011-03-02 00:16:40 +00:00
|
|
|
Copyright 2006-2011 Xavier Guerrin
|
2010-12-19 18:08:08 +00:00
|
|
|
This file is part of QElectroTech.
|
|
|
|
|
|
|
|
QElectroTech is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
QElectroTech is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
2010-12-20 02:45:36 +00:00
|
|
|
#ifndef TITLEBLOCK_CELL_H
|
|
|
|
#define TITLEBLOCK_CELL_H
|
2010-12-19 18:08:08 +00:00
|
|
|
/**
|
2010-12-20 02:45:36 +00:00
|
|
|
This class is a container for the various parameters of an titleblock cell
|
|
|
|
@see TitleBlockColumnLength
|
2010-12-19 18:08:08 +00:00
|
|
|
*/
|
2010-12-20 02:45:36 +00:00
|
|
|
class TitleBlockCell {
|
2010-12-19 18:08:08 +00:00
|
|
|
public:
|
2010-12-20 02:45:36 +00:00
|
|
|
TitleBlockCell();
|
2010-12-19 18:08:08 +00:00
|
|
|
QString toString() const;
|
|
|
|
bool is_null;
|
|
|
|
int num_row;
|
|
|
|
int num_col;
|
|
|
|
int row_span;
|
|
|
|
int col_span;
|
2010-12-20 02:45:36 +00:00
|
|
|
TitleBlockCell *spanner_cell;
|
2010-12-19 18:08:08 +00:00
|
|
|
QString value_name;
|
|
|
|
QString value;
|
|
|
|
QString label;
|
|
|
|
bool display_label;
|
|
|
|
int alignment;
|
2011-01-09 21:56:52 +00:00
|
|
|
int font_size;
|
2011-02-08 06:53:47 +00:00
|
|
|
bool hadjust;
|
2010-12-19 18:08:08 +00:00
|
|
|
QString logo_reference;
|
|
|
|
};
|
|
|
|
#endif
|