Skip to content

Commit

Permalink
Improved layout of dialog.
Browse files Browse the repository at this point in the history
Removed the MinScale and MaxScale fields from the dialog.


git-svn-id: http://svn.osgeo.org/qgis/trunk@5775 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
gsherman committed Sep 7, 2006
1 parent 708d416 commit f506cf1
Show file tree
Hide file tree
Showing 2 changed files with 349 additions and 304 deletions.
5 changes: 2 additions & 3 deletions tools/mapserver_export/qgsmapserverexport.cpp
Expand Up @@ -83,8 +83,8 @@ void QgsMapserverExport::on_chkExpLayersOnly_clicked(bool isChecked)
txtMapHeight->setEnabled(!isChecked);
cmbMapUnits->setEnabled(!isChecked);
cmbMapImageType->setEnabled(!isChecked);
txtMinScale->setEnabled(!isChecked);
txtMaxScale->setEnabled(!isChecked);
//txtMinScale->setEnabled(!isChecked);
//txtMaxScale->setEnabled(!isChecked);
txtWebTemplate->setEnabled(!isChecked);
txtWebHeader->setEnabled(!isChecked);
txtWebFooter->setEnabled(!isChecked);
Expand Down Expand Up @@ -130,7 +130,6 @@ void QgsMapserverExport::on_buttonOk_clicked()
pargs = Py_BuildValue("(ssssssssss)",
cmbMapUnits->currentText().ascii(), cmbMapImageType->currentText().ascii(),
txtMapName->text().ascii(), txtMapWidth->text().ascii(), txtMapHeight->text().ascii(),
txtMinScale->text().ascii(), txtMaxScale->text().ascii(),
txtWebTemplate->text().ascii(), txtWebFooter->text().ascii(),txtWebHeader->text().ascii());
pstr = PyEval_CallObject(pmeth, pargs);

Expand Down

0 comments on commit f506cf1

Please sign in to comment.