Remember state of copyright label text (within session only).

git-svn-id: http://svn.osgeo.org/qgis/trunk@1452 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
timlinux 2004-05-24 08:12:46 +00:00
parent 2f8e3e63ac
commit 8f41e01b0c
3 changed files with 7 additions and 1 deletions

View File

@ -133,6 +133,7 @@ void Plugin::run()
connect(myPluginGui, SIGNAL(changeColor(QColor)), this, SLOT(setColor(QColor)));
connect(myPluginGui, SIGNAL(changePlacement(QString)), this, SLOT(setPlacement(QString)));
connect(myPluginGui, SIGNAL(enableCopyrightLabel(bool)), this, SLOT(setEnable(bool)));
myPluginGui->setText(mLabelQString);
myPluginGui->show();
}
//!draw a raster layer in the qui - intended to respond to signal sent by diolog when it as finished creating

View File

@ -67,3 +67,7 @@ void PluginGui::setEnabled(bool theBool)
cboxEnabled->setChecked(theBool);
}
void PluginGui::setText(QString theTextQString)
{
txtCopyrightText->setText(theTextQString);
}

View File

@ -28,10 +28,11 @@ public:
~PluginGui();
void pbnOK_clicked();
void pbnCancel_clicked();
void setText(QString);
public slots:
void setEnabled(bool);
private:
signals: