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