|
FougTools
0.7.0dev-046fb6a
Handy tools for C++, Qt and OpenCascade
|
Basic data for a grid structure : row and column count + cell numbering. More...
#include <qttools/core/grid_struct.h>
Public Member Functions | |
| GridStruct () | |
| Constructs an invalid grid having no items, ie. itemCount() == 0. More... | |
| GridStruct (int rows, int cols) | |
| bool | isValid () const |
| int | itemCount () const |
| void | setItemCount (int rows, int cols) |
| int | rowCount () const |
| void | setRowCount (int count) |
| int | columnCount () const |
| void | setColumnCount (int count) |
| const GridNumbering & | itemNumbering () const |
| void | setItemNumbering (const GridNumbering &gridNb) |
Basic data for a grid structure : row and column count + cell numbering.
| qtcore::GridStruct::GridStruct | ( | ) |
Constructs an invalid grid having no items, ie. itemCount() == 0.
| qtcore::GridStruct::GridStruct | ( | int | rows, |
| int | cols | ||
| ) |
| int qtcore::GridStruct::columnCount | ( | ) | const |
| bool qtcore::GridStruct::isValid | ( | ) | const |
| int qtcore::GridStruct::itemCount | ( | ) | const |
| const GridNumbering & qtcore::GridStruct::itemNumbering | ( | ) | const |
| int qtcore::GridStruct::rowCount | ( | ) | const |
| void qtcore::GridStruct::setColumnCount | ( | int | count | ) |
| void qtcore::GridStruct::setItemCount | ( | int | rows, |
| int | cols | ||
| ) |
| void qtcore::GridStruct::setItemNumbering | ( | const GridNumbering & | gridNb | ) |
| void qtcore::GridStruct::setRowCount | ( | int | count | ) |
1.8.8