#include <OCCViewer_CubeAxesDlg.h>
Classes | |
struct | AxisData |
Public Member Functions | |
OCCViewer_AxisWidget (QWidget *) | |
~OCCViewer_AxisWidget () | |
void | SetData (const AxisData &) |
void | GetData (AxisData &) |
Public Member Functions inherited from ViewerTools_AxisWidgetBase | |
ViewerTools_AxisWidgetBase (QWidget *) | |
~ViewerTools_AxisWidgetBase () | |
void | UseName (const bool) |
void | SetName (const QString &) |
void | SetNameFont (const QColor &, const int, const bool, const bool, const bool) |
virtual void | initialize () |
Protected Member Functions | |
virtual ViewerTools_FontWidgetBase * | createFontWidget (QWidget *) |
Additional Inherited Members | |
Protected Attributes inherited from ViewerTools_AxisWidgetBase | |
QGroupBox * | myNameGrp |
QLineEdit * | myAxisName |
ViewerTools_FontWidgetBase * | myNameFont |
QGroupBox * | myLabelsGrp |
QtxIntSpinBox * | myLabelNumber |
QtxIntSpinBox * | myLabelOffset |
ViewerTools_FontWidgetBase * | myLabelsFont |
QGroupBox * | myTicksGrp |
QtxIntSpinBox * | myTickLength |
Class : OCCViewer_AxisWidget Description : Axis tab widget of the "Graduated axis" dialog box
OCCViewer_AxisWidget::OCCViewer_AxisWidget | ( | QWidget * | theParent | ) |
Constructor
OCCViewer_AxisWidget::~OCCViewer_AxisWidget | ( | ) |
Destructor
|
protectedvirtual |
Create font widget
Implements ViewerTools_AxisWidgetBase.
References ViewerTools_FontWidgetBase::Initialize().
void OCCViewer_AxisWidget::GetData | ( | AxisData & | theAxisData | ) |
Get axis data
References OCCViewer_AxisWidget::AxisData::Color, OCCViewer_AxisWidget::AxisData::DrawName, OCCViewer_AxisWidget::AxisData::DrawTickmarks, OCCViewer_AxisWidget::AxisData::DrawValues, ViewerTools_FontWidgetBase::GetData(), ViewerTools_AxisWidgetBase::myAxisName, ViewerTools_AxisWidgetBase::myLabelNumber, ViewerTools_AxisWidgetBase::myLabelOffset, ViewerTools_AxisWidgetBase::myLabelsFont, ViewerTools_AxisWidgetBase::myLabelsGrp, ViewerTools_AxisWidgetBase::myNameFont, ViewerTools_AxisWidgetBase::myNameGrp, ViewerTools_AxisWidgetBase::myTickLength, ViewerTools_AxisWidgetBase::myTicksGrp, OCCViewer_AxisWidget::AxisData::Name, OCCViewer_AxisWidget::AxisData::NameColor, OCCViewer_AxisWidget::AxisData::NbValues, OCCViewer_AxisWidget::AxisData::Offset, and OCCViewer_AxisWidget::AxisData::TickmarkLength.
Set axis data
References OCCViewer_AxisWidget::AxisData::Color, OCCViewer_AxisWidget::AxisData::DrawName, OCCViewer_AxisWidget::AxisData::DrawTickmarks, OCCViewer_AxisWidget::AxisData::DrawValues, ViewerTools_AxisWidgetBase::myAxisName, ViewerTools_AxisWidgetBase::myLabelNumber, ViewerTools_AxisWidgetBase::myLabelOffset, ViewerTools_AxisWidgetBase::myLabelsFont, ViewerTools_AxisWidgetBase::myLabelsGrp, ViewerTools_AxisWidgetBase::myNameFont, ViewerTools_AxisWidgetBase::myNameGrp, ViewerTools_AxisWidgetBase::myTickLength, ViewerTools_AxisWidgetBase::myTicksGrp, OCCViewer_AxisWidget::AxisData::Name, OCCViewer_AxisWidget::AxisData::NameColor, OCCViewer_AxisWidget::AxisData::NbValues, OCCViewer_AxisWidget::AxisData::Offset, ViewerTools_FontWidgetBase::SetData(), and OCCViewer_AxisWidget::AxisData::TickmarkLength.