Seg3D  2.4
Seg3D is a free volume segmentation and processing tool developed by the NIH Center for Integrative Biomedical Computing at the University of Utah Scientific Computing and Imaging (SCI) Institute.
Public Types | Signals | Public Member Functions | Protected Member Functions | List of all members
QtUtils::QtTristateToolButton Class Reference
Inheritance diagram for QtUtils::QtTristateToolButton:

Public Types

enum  State { UNCHECKED_E = 0, INTERMEDIATE_E, CHECKED_E }
 

Signals

void state_changed (int)
 
void state_changed (std::string)
 

Public Member Functions

 QtTristateToolButton (QWidget *parent=0)
 
void set_icons (const QIcon &unchecked_icon, const QIcon &intermediate_icon, const QIcon &checked_icon)
 
void set_state_strings (const std::string &unchecked_str, const std::string &intermediate_str, const std::string &checked_str)
 
void set_stylesheets (const QString &unchecked_style, const QString &intermediate_style, const QString &checked_style)
 
QtTristateToolButton::State get_state ()
 
void set_state (QtTristateToolButton::State state)
 
void set_state (const std::string &state)
 

Protected Member Functions

virtual void nextCheckState ()
 

Member Function Documentation

QtTristateToolButton::State QtUtils::QtTristateToolButton::get_state ( )

GET_STATE: Return the current state.

void QtUtils::QtTristateToolButton::set_icons ( const QIcon &  unchecked_icon,
const QIcon &  intermediate_icon,
const QIcon &  checked_icon 
)

SET_ICONS: Set the icons to be used for each state.

void QtUtils::QtTristateToolButton::set_state_strings ( const std::string &  unchecked_str,
const std::string &  intermediate_str,
const std::string &  checked_str 
)

SET_STATE_STRINGS: Set the string representation of each state.

void QtUtils::QtTristateToolButton::set_stylesheets ( const QString &  unchecked_style,
const QString &  intermediate_style,
const QString &  checked_style 
)

SET_STYLESHEETS: Set the stylesheet for each state.


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