QTfrontend/ui/widget/qpushbuttonwithsound.h
author unc0rr
Sun, 27 May 2012 23:42:43 +0400
changeset 7130 fcab1fd02bc6
parent 6700 e04da46ee43c
child 7793 3c21da93db9f
permissions -rw-r--r--
- Allow switching colors with mouse wheel - Use indices instead of color values - Introduce a model for colors - Some small fixes, .pro can be used to build again - Yay, tested it to work via network (and fixed a bug!) (TODO: pass colors to engine by index)

#ifndef QPUSHBUTTONWITHSOUND_H
#define QPUSHBUTTONWITHSOUND_H

#include <QPushButton>

class QPushButtonWithSound : public QPushButton
{
        Q_OBJECT
    public:
        explicit QPushButtonWithSound(QWidget *parent = 0);
        bool isSoundEnabled;
    signals:

    public slots:
    private slots:
        void buttonClicked();

};

#endif // QPUSHBUTTONWITHSOUND_H