Mantid
Loading...
Searching...
No Matches
Public Slots | Signals | Public Member Functions | Private Attributes | List of all members
MantidQt::API::SyncedCheckboxes Class Reference

QObject that links: More...

#include <SyncedCheckboxes.h>

Inheritance diagram for MantidQt::API::SyncedCheckboxes:

Public Slots

void on_button_toggled (bool)
 
void on_menu_toggled (bool)
 

Signals

void toggled (bool)
 Signal emitted when the check box is toggled.
 

Public Member Functions

void setEnabled (bool val)
 
void setVisible (bool val)
 
 SyncedCheckboxes (QAction *menu, QAbstractButton *button, bool checked=false)
 
void toggle (bool val)
 
 ~SyncedCheckboxes () override
 

Private Attributes

QAbstractButton * m_button
 
QAction * m_menu
 

Detailed Description

QObject that links:

so that their checked status is consistent. Emits a single "toggled" signal if either one is toggled.

Date
2011-12-06

Definition at line 28 of file SyncedCheckboxes.h.

Constructor & Destructor Documentation

◆ SyncedCheckboxes()

MantidQt::API::SyncedCheckboxes::SyncedCheckboxes ( QAction *  menu,
QAbstractButton *  button,
bool  checked = false 
)

◆ ~SyncedCheckboxes()

MantidQt::API::SyncedCheckboxes::~SyncedCheckboxes ( )
override

Member Function Documentation

◆ on_button_toggled

void MantidQt::API::SyncedCheckboxes::on_button_toggled ( bool  )
slot

◆ on_menu_toggled

void MantidQt::API::SyncedCheckboxes::on_menu_toggled ( bool  )
slot

◆ setEnabled()

void MantidQt::API::SyncedCheckboxes::setEnabled ( bool  val)

◆ setVisible()

void MantidQt::API::SyncedCheckboxes::setVisible ( bool  val)

◆ toggle()

void MantidQt::API::SyncedCheckboxes::toggle ( bool  val)

◆ toggled

void MantidQt::API::SyncedCheckboxes::toggled ( bool  )
signal

Signal emitted when the check box is toggled.

Member Data Documentation

◆ m_button

QAbstractButton* MantidQt::API::SyncedCheckboxes::m_button
private

Definition at line 48 of file SyncedCheckboxes.h.

◆ m_menu

QAction* MantidQt::API::SyncedCheckboxes::m_menu
private

Definition at line 47 of file SyncedCheckboxes.h.


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