getPreferredSize method

Size getPreferredSize (bool isEnabled, bool isDiscrete)

Returns the preferred size of the shape, based on the given conditions.

Implementation

Size getPreferredSize(bool isEnabled, bool isDiscrete);