26 #ifndef __TERRALIB_QT_WIDGETS_RP_INTERNAL_LOADARITHMETICOPDIALOG_H 27 #define __TERRALIB_QT_WIDGETS_RP_INTERNAL_LOADARITHMETICOPDIALOG_H 31 #include "../../../maptools/AbstractLayer.h" 33 #include "../Config.h" 41 #include <QTableWidgetItem> 45 namespace Ui {
class LoadArithmeticOpDialogForm; }
70 void loadOperations();
72 void setList(std::list<te::map::AbstractLayerPtr>& layerList);
74 void setUserPath(std::string path);
76 std::string getExpression();
78 std::map<std::string, te::map::AbstractLayer*> getLayers();
80 std::string getOperation();
84 void onOperationComboBoxActivated(QString operation);
86 void onLayerComboBoxActivated(
int index);
88 void onRemoveOperation();
90 void onOkPushButtonClicked();
94 bool isDefaultArithmeticOperation(
const std::string& operation);
98 std::unique_ptr<Ui::LoadArithmeticOpDialogForm>
m_ui;
121 #endif // __TERRALIB_QT_WIDGETS_RP_INTERNAL_LOADARITHMETICOPDIALOG_H