OpenMW
Signals | Public Member Functions | Private Slots | Private Attributes
CSVWorld::SceneToolMode Class Reference

Mode selector tool. More...

#include <scenetoolmode.hpp>

List of all members.

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

Detailed Description

Mode selector tool.


Constructor & Destructor Documentation


Member Function Documentation

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.


Member Data Documentation

std::map<QPushButton *, std::string> CSVWorld::SceneToolMode::mButtons [private]
QHBoxLayout* CSVWorld::SceneToolMode::mLayout [private]
QWidget* CSVWorld::SceneToolMode::mPanel [private]

The documentation for this class was generated from the following files: