Skip to content
Permalink
Browse files

shrinked some GUIs,

used GUI guideline for Browse buttons text


git-svn-id: http://svn.osgeo.org/qgis/trunk@14663 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
brushtyler
brushtyler committed Nov 14, 2010
1 parent ceaff47 commit 18dd78e057f8b863bb7c936715ca017eac63d54a
@@ -92,28 +92,11 @@ QgsGrassSelect::QgsGrassSelect( int type ): QgsGrassSelectBase()
egisdbase->setText( lastGisdbase );

setLocations();

restorePosition();
}

QgsGrassSelect::~QgsGrassSelect()
{
saveWindowLocation();
}

void QgsGrassSelect::restorePosition()
{
//optionsFrame->adjustSize();
adjustSize();

QSettings settings;
restoreGeometry( settings.value( "/GRASS/windows/select/geometry" ).toByteArray() );
}

void QgsGrassSelect::saveWindowLocation()
QgsGrassSelect::~QgsGrassSelect()
{
QSettings settings;
settings.setValue( "/GRASS/windows/select/geometry", saveGeometry() );
}

bool QgsGrassSelect::first = true;
@@ -493,8 +476,6 @@ void QgsGrassSelect::on_GisdbaseBrowse_clicked()

void QgsGrassSelect::on_ok_clicked()
{
saveWindowLocation();

gisdbase = egisdbase->text();
lastGisdbase = QString( gisdbase );

@@ -558,6 +539,5 @@ void QgsGrassSelect::on_ok_clicked()

void QgsGrassSelect::on_cancel_clicked()
{
saveWindowLocation();
QDialog::reject();
}
@@ -88,9 +88,6 @@ class QgsGrassSelect: public QDialog, private Ui::QgsGrassSelectBase
static QString lastRasterMap;
static QString lastLayer; // vector layer
static QString lastMapcalc;

void restorePosition( void );
void saveWindowLocation( void );
};


@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>393</width>
<width>478</width>
<height>221</height>
</rect>
</property>
@@ -94,7 +94,7 @@
<item row="0" column="2">
<widget class="QPushButton" name="GisdbaseBrowse">
<property name="text">
<string>Browse</string>
<string>Browse...</string>
</property>
</widget>
</item>

0 comments on commit 18dd78e

Please sign in to comment.
You can’t perform that action at this time.