1#ifndef RubberBandComboBox_h
2#define RubberBandComboBox_h
31 bool showIndicatorColors =
false);
58 unsigned int getDefault(
unsigned int defaultOption,
unsigned int bandingOptions);
77 void showRectangle() {
81 void showRotatedRectangle() {
83 m_showIndicatorColors);
90 void showSegmentedLine() {
95 bool m_showIndicatorColors;
Defines an angle and provides unit conversions.
Definition Angle.h:45
Combo box for choosing a rubber band type.
Definition RubberBandComboBox.h:26
void selectionChanged(int index)
This slot is called whenever the rubberband shape selection has changed.
Definition RubberBandComboBox.cpp:189
RubberBandComboBox(Tool *tool, unsigned int bandingOptions, unsigned int defaultOption, bool showIndicatorColors=false)
RubberBandComboBox constructor.
Definition RubberBandComboBox.cpp:16
QString toolIconDir() const
Returns the icon directory.
Definition RubberBandComboBox.h:48
void reset()
Resets the selection.
Definition RubberBandComboBox.cpp:226
RubberBandOptions
Enum to store rubber band shapes.
Definition RubberBandComboBox.h:36
@ Line
Line.
Definition RubberBandComboBox.h:42
@ SegmentedLine
Segmented Line.
Definition RubberBandComboBox.h:43
@ Polygon
Polygon.
Definition RubberBandComboBox.h:41
@ RotatedRectangle
RotatedRectangle.
Definition RubberBandComboBox.h:40
@ Circle
Circle.
Definition RubberBandComboBox.h:37
@ Rectangle
Rectangle.
Definition RubberBandComboBox.h:39
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16
This is free and unencumbered software released into the public domain.
Definition Selection.h:14