![]()  | 
  
    OpenWalnut
    1.5.0dev
    
   | 
 
Base class for interval editing. More...
#include <WQtIntervalEdit.h>
 Inheritance diagram for WQtIntervalEditBase:
 Collaboration diagram for WQtIntervalEditBase:Signals | |
| void | minimumChanged () | 
| Called whenever the user changes the current minimum OR setMin was called.  More... | |
| void | maximumChanged () | 
| Called whenever the user changes the current ,aximum OR setMax was called.  More... | |
Public Member Functions | |
| WQtIntervalEditBase (QWidget *parent) | |
| Default constructor.  More... | |
| virtual | ~WQtIntervalEditBase () | 
| Destructor.  More... | |
| virtual void | update ()=0 | 
| Update the current state.  More... | |
Protected Slots | |
| virtual void | minSliderChanged () | 
| Slot called when the minimum slider changes.  More... | |
| virtual void | maxSliderChanged () | 
| Slot called when the maximum slider changes.  More... | |
| virtual void | minEditChanged () | 
| Slot called when the minimum edit changes.  More... | |
| virtual void | maxEditChanged () | 
| Slot called when the maximum edit changes.  More... | |
Protected Attributes | |
| QSlider | m_minSlider | 
| The slider for the minimum.  More... | |
| QSlider | m_maxSlider | 
| The slider for the maximumum.  More... | |
| QLineEdit | m_minEdit | 
| The minimum edit.  More... | |
| QLineEdit | m_maxEdit | 
| The maximum edit.  More... | |
| QLabel | m_minLabel | 
| A label for the minimum.  More... | |
| QLabel | m_maxLabel | 
| A label for the maximum.  More... | |
| QGridLayout | m_layout | 
| The layout containing min and max layout.  More... | |
Static Protected Attributes | |
| static int | SliderResolution = 10000 | 
| Resolution of the sliders.  More... | |
Base class for interval editing.
You should not use this class. Use the derived WQtIntervalEdit template.
Definition at line 46 of file WQtIntervalEdit.h.
      
  | 
  explicit | 
Default constructor.
| parent | the parent widget | 
Definition at line 31 of file WQtIntervalEdit.cpp.
References m_layout, m_maxEdit, m_maxLabel, m_maxSlider, m_minEdit, m_minLabel, m_minSlider, maxEditChanged(), maxSliderChanged(), minEditChanged(), minSliderChanged(), and SliderResolution.
 Here is the call graph for this function:
      
  | 
  virtual | 
Destructor.
Definition at line 68 of file WQtIntervalEdit.cpp.
      
  | 
  protectedvirtualslot | 
Slot called when the maximum edit changes.
Reimplemented in WQtIntervalEdit< DataType, DisplayType >, WQtIntervalEdit< double, int32_t >, and WQtIntervalEdit< double, double >.
Definition at line 85 of file WQtIntervalEdit.cpp.
Referenced by WQtIntervalEditBase().
 Here is the caller graph for this function:
      
  | 
  signal | 
Called whenever the user changes the current ,aximum OR setMax was called.
      
  | 
  protectedvirtualslot | 
Slot called when the maximum slider changes.
Reimplemented in WQtIntervalEdit< DataType, DisplayType >, WQtIntervalEdit< double, int32_t >, and WQtIntervalEdit< double, double >.
Definition at line 77 of file WQtIntervalEdit.cpp.
Referenced by WQtIntervalEditBase().
 Here is the caller graph for this function:
      
  | 
  protectedvirtualslot | 
Slot called when the minimum edit changes.
Reimplemented in WQtIntervalEdit< DataType, DisplayType >, WQtIntervalEdit< double, int32_t >, and WQtIntervalEdit< double, double >.
Definition at line 81 of file WQtIntervalEdit.cpp.
Referenced by WQtIntervalEditBase().
 Here is the caller graph for this function:
      
  | 
  signal | 
Called whenever the user changes the current minimum OR setMin was called.
      
  | 
  protectedvirtualslot | 
Slot called when the minimum slider changes.
Reimplemented in WQtIntervalEdit< DataType, DisplayType >, WQtIntervalEdit< double, int32_t >, and WQtIntervalEdit< double, double >.
Definition at line 73 of file WQtIntervalEdit.cpp.
Referenced by WQtIntervalEditBase().
 Here is the caller graph for this function:
      
  | 
  pure virtual | 
Update the current state.
Implemented in WQtIntervalEdit< DataType, DisplayType >, WQtIntervalEdit< double, int32_t >, and WQtIntervalEdit< double, double >.
      
  | 
  protected | 
The layout containing min and max layout.
Definition at line 139 of file WQtIntervalEdit.h.
Referenced by WQtIntervalEditBase().
      
  | 
  protected | 
The maximum edit.
Definition at line 124 of file WQtIntervalEdit.h.
Referenced by WQtIntervalEditBase().
      
  | 
  protected | 
A label for the maximum.
Definition at line 134 of file WQtIntervalEdit.h.
Referenced by WQtIntervalEditBase().
      
  | 
  protected | 
The slider for the maximumum.
Definition at line 114 of file WQtIntervalEdit.h.
Referenced by WQtIntervalEditBase().
      
  | 
  protected | 
The minimum edit.
Definition at line 119 of file WQtIntervalEdit.h.
Referenced by WQtIntervalEditBase().
      
  | 
  protected | 
A label for the minimum.
Definition at line 129 of file WQtIntervalEdit.h.
Referenced by WQtIntervalEditBase().
      
  | 
  protected | 
The slider for the minimum.
Definition at line 109 of file WQtIntervalEdit.h.
Referenced by WQtIntervalEditBase().
      
  | 
  staticprotected | 
Resolution of the sliders.
Definition at line 104 of file WQtIntervalEdit.h.
Referenced by WQtIntervalEditBase().