OpenMW
|
Mode selector tool. More...
#include <scenetoolmode.hpp>
Signals | |
void | modeChanged (const std::string &id) |
Public Member Functions | |
SceneToolMode (SceneToolbar *parent) | |
virtual void | showPanel (const QPoint &position) |
void | addButton (const std::string &icon, const std::string &id) |
Private Slots | |
void | selected () |
Private Attributes | |
QWidget * | mPanel |
QHBoxLayout * | mLayout |
std::map< QPushButton *, std::string > | mButtons |
int | mButtonSize |
Mode selector tool.
CSVWorld::SceneToolMode::SceneToolMode | ( | SceneToolbar * | parent | ) |
void CSVWorld::SceneToolMode::addButton | ( | const std::string & | icon, |
const std::string & | id | ||
) |
void CSVWorld::SceneToolMode::modeChanged | ( | const std::string & | id | ) | [signal] |
void CSVWorld::SceneToolMode::selected | ( | ) | [private, slot] |
void CSVWorld::SceneToolMode::showPanel | ( | const QPoint & | position | ) | [virtual] |
Implements CSVWorld::SceneTool.
std::map<QPushButton *, std::string> CSVWorld::SceneToolMode::mButtons [private] |
int CSVWorld::SceneToolMode::mButtonSize [private] |
QHBoxLayout* CSVWorld::SceneToolMode::mLayout [private] |
QWidget* CSVWorld::SceneToolMode::mPanel [private] |