27 #include "../../../dataaccess/query/GroupByItem.h"
28 #include "../../../dataaccess/query/PropertyName.h"
31 #include "ui_DoubleListWidgetForm.h"
34 #include <QtGui/QGridLayout>
42 QGridLayout* layout =
new QGridLayout(
this);
47 this->setTitle(tr(
"Group By Definition"));
48 this->setSubTitle(tr(
"Choose the attributes to be grouped."));
50 m_widget->getForm()->m_leftItemsLabel->setText(tr(
"Available Properties"));
51 m_widget->getForm()->m_rightItemsLabel->setText(tr(
"Used Properties"));
65 return m_widget.get();
70 std::vector<std::string> values = m_widget->getOutputValues();
78 for(
size_t t = 0; t < values.size(); ++t)
82 groupBy->push_back(gi);
virtual ~GroupByWizardPage()
DoubleListWidget * getWidget() const
A class that models the name of any property of an object.
GroupByWizardPage(QWidget *parent=0)
std::auto_ptr< DoubleListWidget > m_widget
This file has the GroupByWizardPage class.
A class that can be used in a GROUP BY clause.
boost::ptr_vector< GroupByItem > GroupBy
A class that can be used to model a GROUP BY clause.
te::da::GroupBy * getGroupBy()