QGIS/python/gui/qgsscalecombobox.sip

19 lines
384 B
Plaintext
Raw Normal View History

/** A combobox which lets the user select map scale from predefined list
2012-01-10 15:53:02 +02:00
* and highlights nearest to current scale value
*/
class QgsScaleComboBox : QComboBox
{
%TypeHeaderCode
#include <qgsscalecombobox.h>
%End
2012-07-05 17:06:04 +03:00
public:
QgsScaleComboBox(QWidget * parent = 0);
~QgsScaleComboBox();
2012-07-05 17:06:04 +03:00
public slots:
void updateScales( const QStringList &scales = QStringList() );
};