VAPOR3
3.9.4
apps
vaporgui
VIntSliderEditMenu.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <QMenu>
4
#include "
VIntRangeMenu.h
"
5
6
class
VCheckBoxAction
;
7
13
14
// clang-format off
15
16
class
VIntSliderEditMenu
:
public
VIntRangeMenu
{
17
Q_OBJECT
18
19
public
:
20
explicit
VIntSliderEditMenu
( QWidget *parent );
21
23
void
AllowDynamicUpdate
()
const
;
24
25
protected
:
26
VCheckBoxAction
*
_dynamicUpdateAction
;
27
28
public
slots:
30
void
SetDynamicUpdate
(
bool
enabled);
31
32
private
slots:
33
void
_dynamicUpdateChanged(
bool
dynamicUpdateEnabled);
34
35
signals:
36
void
DynamicUpdateChanged
(
bool
dynamicUpdateEnabled);
37
};
38
39
// clang-format on
VIntRangeMenu.h
VCheckBoxAction
A menu item represented by a VLabel and VCheckBox, wrapped in a VLineItem.
Definition:
VActions.h:64
VIntRangeMenu
A menu that allows the user to control the range of integer values that can be set by a widget....
Definition:
VIntRangeMenu.h:13
VIntSliderEditMenu
A menu for VIntSliderEdit that allows for setting a min/max range, numeric formatting controls,...
Definition:
VIntSliderEditMenu.h:16
VIntSliderEditMenu::DynamicUpdateChanged
void DynamicUpdateChanged(bool dynamicUpdateEnabled)
VIntSliderEditMenu::AllowDynamicUpdate
void AllowDynamicUpdate() const
Allow the toggling of the dynamic update checkbox in the right-click menu.
VIntSliderEditMenu::SetDynamicUpdate
void SetDynamicUpdate(bool enabled)
Check/Uncheck the dynamic update checkbox.
VIntSliderEditMenu::_dynamicUpdateAction
VCheckBoxAction * _dynamicUpdateAction
Definition:
VIntSliderEditMenu.h:26
VIntSliderEditMenu::VIntSliderEditMenu
VIntSliderEditMenu(QWidget *parent)
Generated by
1.9.6