|
@@ -476,6 +476,11 @@ void RoadEditDialog::on_pushButton_EditRoadMark_clicked()
|
|
|
|
|
|
void RoadEditDialog::on_pushButton_LaneFromRTK_clicked()
|
|
|
{
|
|
|
+
|
|
|
+#ifdef OPENDRIVE_EDITONLY
|
|
|
+ QMessageBox::warning(this,"Warning","This Release is Only for Edit OpenDrive. Other Function Need Change conf.",QMessageBox::YesAll);
|
|
|
+ return;
|
|
|
+#endif
|
|
|
if(mpCurRoad == 0)
|
|
|
{
|
|
|
QMessageBox::warning(this,"Warning","Not Select Road");
|
|
@@ -488,6 +493,10 @@ void RoadEditDialog::on_pushButton_LaneFromRTK_clicked()
|
|
|
|
|
|
void RoadEditDialog::on_pushButton_RoadSplit_clicked()
|
|
|
{
|
|
|
+#ifdef OPENDRIVE_EDITONLY
|
|
|
+ QMessageBox::warning(this,"Warning","This Release is Only for Edit OpenDrive. Other Function Need Change conf.",QMessageBox::YesAll);
|
|
|
+ return;
|
|
|
+#endif
|
|
|
if(mpCurRoad == 0)
|
|
|
{
|
|
|
QMessageBox::warning(this,"Warning","Not Select Road");
|
|
@@ -512,6 +521,10 @@ void RoadEditDialog::on_pushButton_RoadSplit_clicked()
|
|
|
|
|
|
void RoadEditDialog::on_pushButton_RoadMerge_clicked()
|
|
|
{
|
|
|
+#ifdef OPENDRIVE_EDITONLY
|
|
|
+ QMessageBox::warning(this,"Warning","This Release is Only for Edit OpenDrive. Other Function Need Change conf.",QMessageBox::YesAll);
|
|
|
+ return;
|
|
|
+#endif
|
|
|
DialogRoadMerge roadmerge(mpxodr,this);
|
|
|
roadmerge.exec();
|
|
|
|
|
@@ -530,6 +543,10 @@ void RoadEditDialog::on_pushButton_RoadMerge_clicked()
|
|
|
|
|
|
void RoadEditDialog::on_pushButton_MoveRoad_clicked()
|
|
|
{
|
|
|
+#ifdef OPENDRIVE_EDITONLY
|
|
|
+ QMessageBox::warning(this,"Warning","This Release is Only for Edit OpenDrive. Other Function Need Change conf.",QMessageBox::YesAll);
|
|
|
+ return;
|
|
|
+#endif
|
|
|
if(mpCurRoad == 0)
|
|
|
{
|
|
|
QMessageBox::warning(this,"Warning","Not Select Road");
|
|
@@ -554,6 +571,10 @@ void RoadEditDialog::on_pushButton_MoveRoad_clicked()
|
|
|
|
|
|
void RoadEditDialog::on_pushButton_RotateRoad_clicked()
|
|
|
{
|
|
|
+#ifdef OPENDRIVE_EDITONLY
|
|
|
+ QMessageBox::warning(this,"Warning","This Release is Only for Edit OpenDrive. Other Function Need Change conf.",QMessageBox::YesAll);
|
|
|
+ return;
|
|
|
+#endif
|
|
|
if(mpCurRoad == 0)
|
|
|
{
|
|
|
QMessageBox::warning(this,"Warning","Not Select Road");
|
|
@@ -578,6 +599,10 @@ void RoadEditDialog::on_pushButton_RotateRoad_clicked()
|
|
|
|
|
|
void RoadEditDialog::on_pushButton_MirrorRoad_clicked()
|
|
|
{
|
|
|
+#ifdef OPENDRIVE_EDITONLY
|
|
|
+ QMessageBox::warning(this,"Warning","This Release is Only for Edit OpenDrive. Other Function Need Change conf.",QMessageBox::YesAll);
|
|
|
+ return;
|
|
|
+#endif
|
|
|
if(mpCurRoad == 0)
|
|
|
{
|
|
|
QMessageBox::warning(this,"Warning","Not Select Road");
|
|
@@ -612,3 +637,12 @@ void RoadEditDialog::on_pushButton_EditLaneOffset_clicked()
|
|
|
dlglaneoffset.exec();
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+void RoadEditDialog::on_pushButton_EditRoadObjects_clicked()
|
|
|
+{
|
|
|
+#ifdef OPENDRIVE_EDITONLY
|
|
|
+ QMessageBox::warning(this,"Warning","This Release is Only for Edit OpenDrive. Other Function Need Change conf.",QMessageBox::YesAll);
|
|
|
+ return;
|
|
|
+#endif
|
|
|
+
|
|
|
+}
|