|
Isis 3 Programmer Reference
|
1 #ifndef RubberBandComboBox_h
2 #define RubberBandComboBox_h
7 #include "RubberBandTool.h"
31 bool showIndicatorColors =
false);
58 unsigned int getDefault(
unsigned int defaultOption,
unsigned int bandingOptions);
82 m_tool->rubberBandTool()->
enable(RubberBandTool::RotatedRectangleMode,
Combo box for choosing a rubber band type.
void showRectangle()
Enables the rectangle shape.
@ SegmentedLine
Segmented Line.
bool m_showIndicatorColors
Show colors?
unsigned int getDefault(unsigned int defaultOption, unsigned int bandingOptions)
This is used to figure out which option should be defaulted.
QStringList m_bandingOptionStrings
List of rubberband options.
QString toolIconDir() const
Returns the icon directory.
void showSegmentedLine()
Enables the segmented line shape.
void selectionChanged(int index)
This slot is called whenever the rubberband shape selection has changed.
void showEllipse()
Enables the ellipse shape.
Defines an angle and provides unit conversions.
void showAngle()
Enables the angle shape.
void showLine()
Enables the line.
void reset()
Resets the selection.
void showRotatedRectangle()
Enables the rotated rectangle shape.
RubberBandComboBox(Tool *tool, unsigned int bandingOptions, unsigned int defaultOption, bool showIndicatorColors=false)
RubberBandComboBox constructor.
@ RotatedRectangle
RotatedRectangle.
RubberBandOptions
Enum to store rubber band shapes.
This is free and unencumbered software released into the public domain.
void showCircle()
Enables the circle shape.
void showPolygon()
Enables the polygon shape.
This is free and unencumbered software released into the public domain.