QGIS/python/gui/qgsscalecombobox.sip
2012-07-18 10:00:31 +03:00

19 lines
384 B
Plaintext

/** A combobox which lets the user select map scale from predefined list
* and highlights nearest to current scale value
*/
class QgsScaleComboBox : QComboBox
{
%TypeHeaderCode
#include <qgsscalecombobox.h>
%End
public:
QgsScaleComboBox(QWidget * parent = 0);
~QgsScaleComboBox();
public slots:
void updateScales( const QStringList &scales = QStringList() );
};