xavier e11acf7b57 Introduction of classes, structs and enums related to inset templates.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1129 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-19 18:08:08 +00:00

42 lines
1.1 KiB
C++

/*
Copyright 2006-2010 Xavier Guerrin
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/>.
*/
#ifndef INSET_CELL_H
#define INSET_CELL_H
/**
This class is a container for the various parameters of an inset cell
@see InsetColumnLength
*/
class InsetCell {
public:
InsetCell();
QString toString() const;
bool is_null;
int num_row;
int num_col;
int row_span;
int col_span;
InsetCell *spanner_cell;
QString value_name;
QString value;
QString label;
bool display_label;
int alignment;
QString logo_reference;
};
#endif