26 #ifndef __TERRALIB_QT_WIDGETS_QUERY_INTERNAL_ORDERBYWIDGET_H
27 #define __TERRALIB_QT_WIDGETS_QUERY_INTERNAL_ORDERBYWIDGET_H
30 #include "../../../dataaccess/query/OrderBy.h"
31 #include "../Config.h"
38 #include <QtGui/QWidget>
41 namespace Ui {
class OrderByWidgetForm; }
64 Ui::OrderByWidgetForm* getForm()
const;
71 void setAttributeList(
const std::vector<std::string>& vec);
76 void getOrderItems(std::vector<std::pair<std::string, std::string> >& list);
80 void onAddOrderPushButton();
82 void onRemoveOrderPushButton();
87 std::auto_ptr<Ui::OrderByWidgetForm>
m_ui;
96 #endif // __TERRALIB_QT_WIDGETS_QUERY_INTERNAL_ORDERBYWIDGET_H
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module.
This class is used to define the ORDER BY object of select operation.
std::map< std::string, int > m_orderTypes
std::auto_ptr< Ui::OrderByWidgetForm > m_ui
boost::ptr_vector< OrderByItem > OrderBy
A class that can be used to model an ORDER BY clause.