qvbarmodelmapper.cpp
51 lines
| 1.1 KiB
| text/x-c
|
CppLexer
Marek Rosa
|
r1294 | #include "qvbarmodelmapper.h" | ||
QTCOMMERCIALCHART_BEGIN_NAMESPACE | ||||
Marek Rosa
|
r1331 | /*! | ||
\class QVBarModelMapper | ||||
\brief part of QtCommercial chart API. | ||||
\mainclass | ||||
Nothing here yet | ||||
*/ | ||||
Marek Rosa
|
r1294 | QVBarModelMapper::QVBarModelMapper(QObject *parent) : | ||
QBarModelMapper(parent) | ||||
{ | ||||
Marek Rosa
|
r1311 | QBarModelMapper::setOrientation(Qt::Vertical); | ||
Marek Rosa
|
r1294 | } | ||
Marek Rosa
|
r1312 | int QVBarModelMapper::firstBarSetColumn() const | ||
Marek Rosa
|
r1294 | { | ||
Marek Rosa
|
r1312 | return QBarModelMapper::firstBarSetSection(); | ||
Marek Rosa
|
r1294 | } | ||
Marek Rosa
|
r1312 | void QVBarModelMapper::setFirstBarSetColumn(int firstBarSetColumn) | ||
Marek Rosa
|
r1294 | { | ||
Marek Rosa
|
r1312 | return QBarModelMapper::setFirstBarSetSection(firstBarSetColumn); | ||
Marek Rosa
|
r1294 | } | ||
Marek Rosa
|
r1312 | int QVBarModelMapper::lastBarSetColumn() const | ||
Marek Rosa
|
r1294 | { | ||
Marek Rosa
|
r1312 | return QBarModelMapper::lastBarSetSection(); | ||
Marek Rosa
|
r1294 | } | ||
Marek Rosa
|
r1312 | void QVBarModelMapper::setLastBarSetColumn(int lastBarSetColumn) | ||
Marek Rosa
|
r1294 | { | ||
Marek Rosa
|
r1312 | return QBarModelMapper::setLastBarSetSection(lastBarSetColumn); | ||
Marek Rosa
|
r1294 | } | ||
int QVBarModelMapper::categoriesColumn() const | ||||
{ | ||||
return QBarModelMapper::categoriesSection(); | ||||
} | ||||
void QVBarModelMapper::setCategoriesColumn(int categoriesColumn) | ||||
{ | ||||
return QBarModelMapper::setCategoriesSection(categoriesColumn); | ||||
} | ||||
#include "moc_qvbarmodelmapper.cpp" | ||||
QTCOMMERCIALCHART_END_NAMESPACE | ||||