QTfrontend/ui/widget/qpushbuttonwithsound.h
author nemo
Sun, 21 Oct 2012 21:15:10 -0400
changeset 7784 cf6261f7fdb5
parent 6700 e04da46ee43c
child 7793 3c21da93db9f
permissions -rw-r--r--
Disable jiggling of cleavers 'cause it just looks odd. Adding a constraint based on proximity to portal is an option too, this was just easier.

#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