You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
651 B
C++
29 lines
651 B
C++
10 years ago
|
#ifndef CSV_WIDGET_MODEBUTTON_H
|
||
|
#define CSV_WIDGET_MODEBUTTON_H
|
||
|
|
||
|
#include "pushbutton.hpp"
|
||
|
|
||
|
namespace CSVWidget
|
||
|
{
|
||
|
class SceneToolbar;
|
||
|
|
||
|
/// \brief Specialist PushButton of Type_Mode for use in SceneToolMode
|
||
|
class ModeButton : public PushButton
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
|
||
|
ModeButton (const QIcon& icon, const QString& tooltip = "",
|
||
|
QWidget *parent = 0);
|
||
|
|
||
|
/// Default-Implementation: do nothing
|
||
|
virtual void activate (SceneToolbar *toolbar);
|
||
|
|
||
|
/// Default-Implementation: do nothing
|
||
|
virtual void deactivate (SceneToolbar *toolbar);
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif
|