1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00
OpenMW/apps/opencs/view/widget/modebutton.cpp

20 lines
455 B
C++
Raw Normal View History

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