![]() |
Isis 3 Developer Reference
|
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. More... | |
QString | toolIconDir () const |
Returns the icon directory. More... | |
void | reset () |
Resets the selection. More... | |
Protected Slots | |
void | selectionChanged (int index) |
This slot is called whenever the rubberband shape selection has changed. More... | |
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, Isis::Tool::rubberBandTool(), SegmentedLine, selectionChanged(), and toolIconDir().
void Isis::RubberBandComboBox::reset | ( | ) |
Resets the selection.
References selectionChanged().
Referenced by Isis::MeasureTool::enableRubberBandTool().
|
protectedslot |
This slot is called whenever the rubberband shape selection has changed.
index |
References Angle, Circle, Isis::RubberBandTool::disable(), Ellipse, Line, Polygon, Rectangle, RotatedRectangle, Isis::Tool::rubberBandTool(), SegmentedLine, and Isis::toInt().
Referenced by reset(), and RubberBandComboBox().
|
inline |
Returns the icon directory.
References Isis::Tool::toolIconDir().
Referenced by RubberBandComboBox().
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 07/13/2023 00:12:01 |