26 #ifndef __TERRALIB_QT_WIDGETS_RP_INTERNAL_ARITHMETICOPDIALOGFORM_H 27 #define __TERRALIB_QT_WIDGETS_RP_INTERNAL_ARITHMETICOPDIALOGFORM_H 31 #include "../../../maptools/AbstractLayer.h" 32 #include "../../../rp/ArithmeticOperations.h" 34 #include "../Config.h" 47 namespace Ui {
class ArithmeticOpDialogForm; }
70 bool isComplete()
const;
74 void setList(std::list<te::map::AbstractLayerPtr>& layerList);
76 void setUserPath(std::string path);
78 std::string getUserDefinedExpression();
80 std::string getExpression();
84 std::map<std::string, te::map::AbstractLayer*> getMapLayer();
86 std::vector<std::string> getBandsVec();
90 void closeEvent(QCloseEvent* e);
94 void onAddLayerPushButtonClicked();
95 void onSearchLayerToolButtonPressed();
97 void onSqrtPushButtonClicked();
98 void onParRightPushButtonClicked();
99 void onParLeftPushButtonClicked();
100 void onSinPushButtonClicked();
101 void onASinPushButtonClicked();
102 void onExpPushButtonClicked();
103 void onCosPushButtonClicked();
104 void onACosPushButtonClicked();
105 void onLogPushButtonClicked();
106 void onTanPushButtonClicked();
107 void onATanPushButtonClicked();
108 void onLnPushButtonClicked();
110 void onN0PushButtonClicked();
111 void onN1PushButtonClicked();
112 void onN2PushButtonClicked();
113 void onN3PushButtonClicked();
114 void onN4PushButtonClicked();
115 void onN5PushButtonClicked();
116 void onN6PushButtonClicked();
117 void onN7PushButtonClicked();
118 void onN8PushButtonClicked();
119 void onN9PushButtonClicked();
120 void onDotPushButtonClicked();
121 void onSignalPushButtonClicked();
123 void onDivPushButtonClicked();
124 void onMultPushButtonClicked();
125 void onSubPushButtonClicked();
126 void onAddPushButtonClicked();
127 void onCePushButtonClicked();
128 void onCPushButtonClicked();
129 void onLoadPushButtonClicked();
130 void onSavePushButtonClicked();
132 void onOkPushButtonClicked();
142 void getRasterBands(QComboBox* layer,
int index, QComboBox* band);
144 void updateExpressionHistory();
146 QJsonDocument loadFileOperations();
148 void loadDefaultOperations(
const std::string& path, QJsonDocument jInputDoc);
160 std::unique_ptr<Ui::ArithmeticOpDialogForm>
m_ui;
183 #endif // __TERRALIB_QT_WIDGETS_RP_INTERNAL_ARITHMETICOPDIALOGFORM_H
This is the base class for layers.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr