mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
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:
parent
2f8e3e63ac
commit
8f41e01b0c
@ -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
|
||||
|
@ -67,3 +67,7 @@ void PluginGui::setEnabled(bool theBool)
|
||||
cboxEnabled->setChecked(theBool);
|
||||
}
|
||||
|
||||
void PluginGui::setText(QString theTextQString)
|
||||
{
|
||||
txtCopyrightText->setText(theTextQString);
|
||||
}
|
||||
|
@ -28,10 +28,11 @@ public:
|
||||
~PluginGui();
|
||||
void pbnOK_clicked();
|
||||
void pbnCancel_clicked();
|
||||
void setText(QString);
|
||||
|
||||
public slots:
|
||||
void setEnabled(bool);
|
||||
|
||||
|
||||
private:
|
||||
|
||||
signals:
|
||||
|
Loading…
x
Reference in New Issue
Block a user