|
ACF $AcfVersion:0$
|
#include <CConsoleBase.h>
Public Types | |
| enum | FitMode { FM_RESET , FM_BOTH , FM_HORIZONTAL , FM_VERTICAL , FM_UNPROP , FM_COVER } |
| Control fitting mode, to fit area of interest (AOI) to display. More... | |
| enum | BlockFlags { BF_COMMANDS = 1 , BF_VIEW = 2 , BF_ALL = 0xffff } |
Public Member Functions | |
| CConsoleBase (QWidget *parent) | |
| bool | IsZoomToFit () const |
| void | SetZoomToFit (bool state=true) |
| FitMode | GetFitMode () const |
| void | SetFitMode (FitMode mode) |
| bool | IsGridVisible () const |
| void | SetGridVisible (bool state=true) |
| bool | IsRulerVisible () const |
| void | SetRulerVisible (bool state=true) |
| bool | IsDistanceMeasureToolActive () const |
| void | SetDistanceMeasureToolActive (bool state=true) |
| bool | IsPointMeasureToolActive () const |
| void | SetPointMeasureToolActive (bool state=true) |
| bool | IsGridInMm () const |
| void | SetGridInMm (bool state=true) |
| bool | IsButtonsPanelVisible () const |
| void | SetButtonsPanelVisible (bool state=true) |
| bool | IsButtonsPanelVertical () const |
| void | SetButtonsPanelVertical (bool state=true) |
| bool | AreScrollbarsVisible () const |
| void | SetScrollbarsVisible (bool state=true) |
| bool | AreZoomsVisible () const |
| void | SetZoomsVisible (bool state=true) |
| bool | IsZoomToFitVisible () const |
| void | SetZoomToFitVisible (bool state=true) |
| bool | ArePolylineButtonsVisible () const |
| void | SetPolylineButtonsVisible (bool state=true) |
| bool | AreUserModeButtonsVisible () const |
| void | SetUserModeButtonsVisible (bool state=true) |
| bool | IsScrollbarsButtonVisible () const |
| void | SetScrollbarsButtonVisible (bool state=true) |
| bool | IsGridButtonVisible () const |
| void | SetGridButtonVisible (bool state=true) |
| bool | IsRulerButtonVisible () const |
| void | SetRulerButtonVisible (bool state=true) |
| bool | IsMmButtonVisible () const |
| void | SetMmButtonVisible (bool state=true) |
| bool | IsDistanceMeasureButtonVisible () const |
| void | SetDistanceMeasureButtonVisible (bool state=true) |
| bool | IsPointMeasureButtonVisible () const |
| void | SetPointMeasureButtonVisible (bool state=true) |
| bool | IsFullScreenAllowed () const |
| void | SetFullScreenAllowed (bool allow=true) |
| bool | IsBackgroundActive () const |
| Check if background object is present and active. | |
| void | UpdateView () |
| void | SetUpdateBlocked (bool isBlocked, int flags=BF_ALL) |
| virtual const CViewport & | GetView () const =0 |
| Get access to internal view implementation. | |
| virtual CViewport & | GetViewRef ()=0 |
| Get access to internal view implementation. | |
| virtual void | UpdateButtonsState ()=0 |
| Recalculates enabling flags for buttons. | |
| virtual void | UpdateComponentsPosition ()=0 |
| Recalculates position of all components. | |
| virtual void | UpdateCommands ()=0 |
| Recalculate menu commands. | |
| virtual void | UpdateCursorInfo (const QString &infoText)=0 |
Public Member Functions inherited from iview::IEditModeButtons | |
| virtual void | UpdateEditModeButtons (int mode)=0 |
| Called after edit mode got changed. | |
Public Member Functions inherited from istd::IPolymorphic | |
| virtual | ~IPolymorphic () |
Protected Member Functions | |
| virtual bool | OnSelectChange (const iview::IShapeView &view, const istd::CIndex2d &position, const iview::IInteractiveShape &shape, bool state)=0 |
| virtual bool | OnViewMouseButton (const iview::IShapeView &view, const istd::CIndex2d &position, Qt::MouseButton buttonType, bool state, const iview::IInteractiveShape *shapePtr)=0 |
| virtual void | OnBoundingBoxChanged ()=0 |
Friends | |
| class | CViewport |
Definition at line 29 of file CConsoleBase.h.
| Enumerator | |
|---|---|
| BF_COMMANDS | |
| BF_VIEW | |
| BF_ALL | |
Definition at line 68 of file CConsoleBase.h.
Control fitting mode, to fit area of interest (AOI) to display.
Definition at line 35 of file CConsoleBase.h.
|
explicit |
| bool iview::CConsoleBase::ArePolylineButtonsVisible | ( | ) | const |
| bool iview::CConsoleBase::AreScrollbarsVisible | ( | ) | const |
| bool iview::CConsoleBase::AreUserModeButtonsVisible | ( | ) | const |
| bool iview::CConsoleBase::AreZoomsVisible | ( | ) | const |
| FitMode iview::CConsoleBase::GetFitMode | ( | ) | const |
|
pure virtual |
Get access to internal view implementation.
Implemented in iview::CConsoleGui.
|
pure virtual |
Get access to internal view implementation.
Implemented in iview::CConsoleGui.
| bool iview::CConsoleBase::IsBackgroundActive | ( | ) | const |
Check if background object is present and active.
| bool iview::CConsoleBase::IsButtonsPanelVertical | ( | ) | const |
| bool iview::CConsoleBase::IsButtonsPanelVisible | ( | ) | const |
| bool iview::CConsoleBase::IsDistanceMeasureButtonVisible | ( | ) | const |
| bool iview::CConsoleBase::IsDistanceMeasureToolActive | ( | ) | const |
| bool iview::CConsoleBase::IsFullScreenAllowed | ( | ) | const |
| bool iview::CConsoleBase::IsGridButtonVisible | ( | ) | const |
| bool iview::CConsoleBase::IsGridInMm | ( | ) | const |
| bool iview::CConsoleBase::IsGridVisible | ( | ) | const |
| bool iview::CConsoleBase::IsMmButtonVisible | ( | ) | const |
| bool iview::CConsoleBase::IsPointMeasureButtonVisible | ( | ) | const |
| bool iview::CConsoleBase::IsPointMeasureToolActive | ( | ) | const |
| bool iview::CConsoleBase::IsRulerButtonVisible | ( | ) | const |
| bool iview::CConsoleBase::IsRulerVisible | ( | ) | const |
| bool iview::CConsoleBase::IsScrollbarsButtonVisible | ( | ) | const |
| bool iview::CConsoleBase::IsZoomToFit | ( | ) | const |
| bool iview::CConsoleBase::IsZoomToFitVisible | ( | ) | const |
|
protectedpure virtual |
Implemented in iview::CConsoleGui.
|
protectedpure virtual |
Implemented in iview::CConsoleGui.
|
protectedpure virtual |
Implemented in iview::CConsoleGui.
| void iview::CConsoleBase::SetButtonsPanelVertical | ( | bool | state = true | ) |
| void iview::CConsoleBase::SetButtonsPanelVisible | ( | bool | state = true | ) |
| void iview::CConsoleBase::SetDistanceMeasureButtonVisible | ( | bool | state = true | ) |
| void iview::CConsoleBase::SetDistanceMeasureToolActive | ( | bool | state = true | ) |
| void iview::CConsoleBase::SetFitMode | ( | FitMode | mode | ) |
| void iview::CConsoleBase::SetFullScreenAllowed | ( | bool | allow = true | ) |
| void iview::CConsoleBase::SetGridButtonVisible | ( | bool | state = true | ) |
| void iview::CConsoleBase::SetGridInMm | ( | bool | state = true | ) |
| void iview::CConsoleBase::SetGridVisible | ( | bool | state = true | ) |
| void iview::CConsoleBase::SetMmButtonVisible | ( | bool | state = true | ) |
| void iview::CConsoleBase::SetPointMeasureButtonVisible | ( | bool | state = true | ) |
| void iview::CConsoleBase::SetPointMeasureToolActive | ( | bool | state = true | ) |
| void iview::CConsoleBase::SetPolylineButtonsVisible | ( | bool | state = true | ) |
| void iview::CConsoleBase::SetRulerButtonVisible | ( | bool | state = true | ) |
| void iview::CConsoleBase::SetRulerVisible | ( | bool | state = true | ) |
| void iview::CConsoleBase::SetScrollbarsButtonVisible | ( | bool | state = true | ) |
| void iview::CConsoleBase::SetScrollbarsVisible | ( | bool | state = true | ) |
| void iview::CConsoleBase::SetUpdateBlocked | ( | bool | isBlocked, |
| int | flags = BF_ALL |
||
| ) |
| void iview::CConsoleBase::SetUserModeButtonsVisible | ( | bool | state = true | ) |
| void iview::CConsoleBase::SetZoomsVisible | ( | bool | state = true | ) |
| void iview::CConsoleBase::SetZoomToFit | ( | bool | state = true | ) |
| void iview::CConsoleBase::SetZoomToFitVisible | ( | bool | state = true | ) |
|
pure virtual |
Recalculates enabling flags for buttons.
Implemented in iview::CConsoleGui.
|
pure virtual |
Recalculate menu commands.
Implemented in iview::CConsoleGui.
|
pure virtual |
Recalculates position of all components.
Implemented in iview::CConsoleGui.
|
pure virtual |
Implemented in iview::CConsoleGui.
| void iview::CConsoleBase::UpdateView | ( | ) |
|
friend |
Definition at line 198 of file CConsoleBase.h.