diff --git a/qtvplugin_geomarker/qtvplugin_geomarker.h b/qtvplugin_geomarker/qtvplugin_geomarker.h index ea499c61daca0b7b0bbcf8a668f38012f3c1e94d..1888c3eaf842e624d94f4a69c383cfc059fae00b 100644 --- a/qtvplugin_geomarker/qtvplugin_geomarker.h +++ b/qtvplugin_geomarker/qtvplugin_geomarker.h @@ -192,6 +192,7 @@ protected slots: void on_pushButton_import_icon_clicked(); void on_pushButton_load_icons_clicked(); void on_pushButton_save_icons_clicked(); + void on_pushButton_refresh_list_clicked(); }; template diff --git a/qtvplugin_geomarker/qtvplugin_geomarker.ui b/qtvplugin_geomarker/qtvplugin_geomarker.ui index ee6068712bdfe68fe16ef4b695296a22425e890e..a8ce1c946100d3fa4264cef56143e5dea7a15bd4 100644 --- a/qtvplugin_geomarker/qtvplugin_geomarker.ui +++ b/qtvplugin_geomarker/qtvplugin_geomarker.ui @@ -40,20 +40,44 @@ - 3 + 2 - 3 + 2 - 3 + 2 - 3 + 2 - 3 + 2 + + + + + + Refresh + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + @@ -573,6 +597,21 @@ Properties + + 2 + + + 2 + + + 2 + + + 2 + + + 2 + diff --git a/qtvplugin_geomarker/qtvplugin_geomarker_func.cpp b/qtvplugin_geomarker/qtvplugin_geomarker_func.cpp index edcfdaf2eb36ec3dd1e22116a88c88cbb5508cc5..f54325076bec8922f70113c18187673d5fb334bd 100644 --- a/qtvplugin_geomarker/qtvplugin_geomarker_func.cpp +++ b/qtvplugin_geomarker/qtvplugin_geomarker_func.cpp @@ -239,7 +239,7 @@ QMap qtvplugin_geomarker::func_update_point (const QMapsetLabelColor(textColor); } - scheduleRefreshMarks(); + //scheduleRefreshMarks(); scheduleUpdateMap(); } else @@ -342,7 +342,7 @@ QMap qtvplugin_geomarker:: func_update_icon (const QMapsetLabelColor(textColor); } - scheduleRefreshMarks(); + //scheduleRefreshMarks(); scheduleUpdateMap(); } else @@ -456,7 +456,7 @@ QMap qtvplugin_geomarker::func_update_line (const QMapsetLabelColor(textColor); } - scheduleRefreshMarks(); + //scheduleRefreshMarks(); scheduleUpdateMap(); } else @@ -641,7 +641,7 @@ QMap qtvplugin_geomarker::func_update_polygon (const QMapsetLabelColor(textColor); } - scheduleRefreshMarks(); + //scheduleRefreshMarks(); scheduleUpdateMap(); } else @@ -685,7 +685,7 @@ QMap qtvplugin_geomarker::func_update_props(const QMapshow_props(false); base->show_props(true); } - scheduleRefreshMarks(); + //scheduleRefreshMarks(); scheduleUpdateMap(); } else @@ -771,7 +771,7 @@ QMap qtvplugin_geomarker::func_delete_marks (const QMap qtvplugin_geomarker::func_delete_props (const QMapshow_props(false); base->show_props(true); } - scheduleRefreshMarks(); + //scheduleRefreshMarks(); scheduleUpdateMap(); } return std::move(res); @@ -1115,7 +1115,7 @@ QMap qtvplugin_geomarker::func_load_xml (const QMap