1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 11:23:51 +00:00
openmw-tes3mp/apps/opencs/view/widget/pushbutton.hpp

29 lines
515 B
C++
Raw Normal View History

2014-07-10 09:03:55 +00:00
#ifndef CSV_WIDGET_PUSHBUTTON_H
#define CSV_WIDGET_PUSHBUTTON_H
#include <QPushButton>
namespace CSVWidget
{
class PushButton : public QPushButton
{
Q_OBJECT
bool mKeepOpen;
protected:
virtual void keyPressEvent (QKeyEvent *event);
virtual void mouseReleaseEvent (QMouseEvent *event);
public:
PushButton (const QIcon& icon, const QString& text, QWidget *parent = 0);
bool hasKeepOpen() const;
};
}
#endif