Combo box for choosing a rubber band type. More...
#include <RubberBandComboBox.h>


Public Types | |
| enum | RubberBandOptions { Circle = 1 , Ellipse = 2 , Rectangle = 4 , RotatedRectangle = 8 , Polygon = 16 , Line = 32 , SegmentedLine = 64 , Angle = 128 } |
| Enum to store rubber band shapes. More... | |
Public Member Functions | |
| RubberBandComboBox (Tool *tool, unsigned int bandingOptions, unsigned int defaultOption, bool showIndicatorColors=false) | |
| RubberBandComboBox constructor. | |
| QString | toolIconDir () const |
| Returns the icon directory. | |
| void | reset () |
| Resets the selection. | |
Protected Slots | |
| void | selectionChanged (int index) |
| This slot is called whenever the rubberband shape selection has changed. | |
Combo box for choosing a rubber band type.
| Isis::RubberBandComboBox::RubberBandComboBox | ( | Tool * | tool, |
| unsigned int | bandingOptions, | ||
| unsigned int | defaultOption, | ||
| bool | showIndicatorColors = false ) |
RubberBandComboBox constructor.
| bandingOptions | |
| defaultOption | |
| showIndicatorColors |
References Angle, Circle, Ellipse, Line, Polygon, Rectangle, RotatedRectangle, SegmentedLine, selectionChanged(), and toolIconDir().
| void Isis::RubberBandComboBox::reset | ( | ) |
Resets the selection.
References selectionChanged().
|
protectedslot |
This slot is called whenever the rubberband shape selection has changed.
| index |
References Angle, Circle, Ellipse, Line, Polygon, Rectangle, RotatedRectangle, SegmentedLine, and Isis::toInt().
Referenced by reset(), and RubberBandComboBox().
|
inline |
Returns the icon directory.
Referenced by RubberBandComboBox().