QTfrontend/togglebutton.h
changeset 2948 3f21a9dc93d0
parent 1932 f586d75c8b6a
child 3061 e129e4c3f30e
--- a/QTfrontend/togglebutton.h	Sat Mar 06 10:54:24 2010 +0000
+++ b/QTfrontend/togglebutton.h	Sat Mar 06 10:59:20 2010 +0000
@@ -27,24 +27,24 @@
 
 class ToggleButtonWidget : public QWidget
 {
-	Q_OBJECT
+    Q_OBJECT
 public:
-	ToggleButtonWidget(QWidget * parent, QString img);
-	~ToggleButtonWidget();
-	bool isChecked();
-	void setChecked(bool checked);
-	void setText(QString s);
-	QPushButton * button()
-	{
-		return pbMain;
-	}
+    ToggleButtonWidget(QWidget * parent, QString img);
+    ~ToggleButtonWidget();
+    bool isChecked();
+    void setChecked(bool checked);
+    void setText(QString s);
+    QPushButton * button()
+    {
+        return pbMain;
+    }
 private:
-	QLabel * lbMain;
-	QPushButton * pbMain;
-	QPixmap pmChecked;
-	QPixmap pmDisabled;
+    QLabel * lbMain;
+    QPushButton * pbMain;
+    QPixmap pmChecked;
+    QPixmap pmDisabled;
 private slots:
-	void eventToggled(bool checked);
+    void eventToggled(bool checked);
 };
 
 #endif // TOGGLEBUTTONWIDGET_H