/****************************************************************************
** Form interface generated from reading ui file 'qgscomposerscalebarbase.ui'
**
** Created: Fri Nov 17 08:36:39 2006
**      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.6   edited Aug 31 2005 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#ifndef QGSCOMPOSERSCALEBARBASE_H
#define QGSCOMPOSERSCALEBARBASE_H

#include <qvariant.h>
#include <qwidget.h>

class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QSpacerItem;
class QLabel;
class QLineEdit;
class QComboBox;
class QPushButton;
class QSpinBox;

class QgsComposerScalebarBase : public QWidget
{
    Q_OBJECT

public:
    QgsComposerScalebarBase( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
    ~QgsComposerScalebarBase();

    QLabel* textLabel1_3;
    QLineEdit* mSegmentLengthLineEdit;
    QLabel* textLabel2;
    QLineEdit* mNumSegmentsLineEdit;
    QLabel* textLabel2_2;
    QLineEdit* mMapUnitsPerUnitLineEdit;
    QLabel* textLabel1_2;
    QLineEdit* mUnitLabelLineEdit;
    QLabel* textLabel1;
    QComboBox* mMapComboBox;
    QPushButton* mFontButton;
    QLabel* textLabel1_4;
    QSpinBox* mLineWidthSpinBox;

public slots:
    virtual void changeFont();
    virtual void mapSelectionChanged(int);
    virtual void unitLabelChanged();
    virtual void sizeChanged();

protected:
    QVBoxLayout* QgsComposerScalebarBaseLayout;
    QSpacerItem* spacer1;

protected slots:
    virtual void languageChange();

};

#endif // QGSCOMPOSERSCALEBARBASE_H
