OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
CSVWidget::PushButton Class Reference

#include <pushbutton.hpp>

Inheritance diagram for CSVWidget::PushButton:
Collaboration diagram for CSVWidget::PushButton:

Public Types

enum  Type { Type_TopMode, Type_TopAction, Type_Mode, Type_Toggle }
 

Public Member Functions

 PushButton (const QIcon &icon, Type type, const QString &tooltip="", QWidget *parent=0)
 
 PushButton (Type type, const QString &tooltip="", QWidget *parent=0)
 
bool hasKeepOpen () const
 
QString getBaseToolTip () const
 Return tooltip used at construction (without any button-specific modifications) More...
 
Type getType () const
 

Protected Member Functions

virtual void keyPressEvent (QKeyEvent *event)
 
virtual void keyReleaseEvent (QKeyEvent *event)
 
virtual void mouseReleaseEvent (QMouseEvent *event)
 

Private Slots

void checkedStateChanged (bool checked)
 
void settingChanged (const CSMPrefs::Setting *setting)
 

Private Member Functions

void processShortcuts ()
 
void setExtendedToolTip ()
 

Private Attributes

bool mKeepOpen
 
Type mType
 
QString mToolTip
 
QString mProcessedToolTip
 

Member Enumeration Documentation

Enumerator
Type_TopMode 
Type_TopAction 
Type_Mode 
Type_Toggle 

Constructor & Destructor Documentation

CSVWidget::PushButton::PushButton ( const QIcon &  icon,
Type  type,
const QString &  tooltip = "",
QWidget parent = 0 
)
Parameters
pushDo not maintain a toggle state

Here is the call graph for this function:

CSVWidget::PushButton::PushButton ( Type  type,
const QString &  tooltip = "",
QWidget parent = 0 
)
Parameters
pushDo not maintain a toggle state

Here is the call graph for this function:

Member Function Documentation

void CSVWidget::PushButton::checkedStateChanged ( bool  checked)
privateslot

Here is the caller graph for this function:

QString CSVWidget::PushButton::getBaseToolTip ( ) const

Return tooltip used at construction (without any button-specific modifications)

Here is the caller graph for this function:

CSVWidget::PushButton::Type CSVWidget::PushButton::getType ( ) const
bool CSVWidget::PushButton::hasKeepOpen ( ) const
void CSVWidget::PushButton::keyPressEvent ( QKeyEvent *  event)
protectedvirtual
void CSVWidget::PushButton::keyReleaseEvent ( QKeyEvent *  event)
protectedvirtual
void CSVWidget::PushButton::mouseReleaseEvent ( QMouseEvent *  event)
protectedvirtual

Reimplemented in CSVWidget::SceneTool.

Here is the caller graph for this function:

void CSVWidget::PushButton::processShortcuts ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void CSVWidget::PushButton::setExtendedToolTip ( )
private

Here is the caller graph for this function:

void CSVWidget::PushButton::settingChanged ( const CSMPrefs::Setting setting)
privateslot

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

bool CSVWidget::PushButton::mKeepOpen
private
QString CSVWidget::PushButton::mProcessedToolTip
private
QString CSVWidget::PushButton::mToolTip
private
Type CSVWidget::PushButton::mType
private

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