21 : m_menu(menu), m_button(button) {
22 m_menu->setCheckable(
true);
24 m_menu->setChecked(checked);
45 m_menu->blockSignals(
true);
47 m_menu->blockSignals(
false);
87 m_menu->blockSignals(
true);
89 m_menu->blockSignals(
false);
QAbstractButton * m_button
void on_button_toggled(bool)
Slot called when the button is toggled.
void toggled(bool)
Signal emitted when the check box is toggled.
void toggle(bool val)
Destructor.
void setVisible(bool val)
Set the visibility of both the menu and the checkboxes.
SyncedCheckboxes(QAction *menu, QAbstractButton *button, bool checked=false)
Constructor that links a menu and a button.
void on_menu_toggled(bool)
Slot called when the menu is toggled.
void setEnabled(bool val)
Enable or disable both the menu and the checkboxes.
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...