1#ifndef RubberBandComboBox_h
2#define RubberBandComboBox_h
31 bool showIndicatorColors =
false);
49 return m_tool->toolIconDir();
58 unsigned int getDefault(
unsigned int defaultOption,
unsigned int bandingOptions);
77 void showRectangle() {
81 void showRotatedRectangle() {
83 m_showIndicatorColors);
90 void showSegmentedLine() {
94 QStringList m_bandingOptionStrings;
95 bool m_showIndicatorColors;
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
@ Ellipse
Ellipse.
Definition RubberBandComboBox.h:38
@ Angle
Angle.
Definition RubberBandComboBox.h:44
@ 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