1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-22 19:23:52 +00:00
openmw/apps/opencs/view/widget/modebutton.cpp

20 lines
455 B
C++
Raw Normal View History

#include "modebutton.hpp"
2022-10-19 17:02:00 +00:00
#include <apps/opencs/view/widget/pushbutton.hpp>
class QWidget;
2022-09-22 18:26:05 +00:00
CSVWidget::ModeButton::ModeButton(const QIcon& icon, const QString& tooltip, QWidget* parent)
: PushButton(icon, Type_Mode, tooltip, parent)
{
}
2022-09-22 18:26:05 +00:00
void CSVWidget::ModeButton::activate(SceneToolbar* toolbar) {}
2022-09-22 18:26:05 +00:00
void CSVWidget::ModeButton::deactivate(SceneToolbar* toolbar) {}
2022-09-22 18:26:05 +00:00
bool CSVWidget::ModeButton::createContextMenu(QMenu* menu)
{
return false;
}