CWidgetProfile Class Reference

#include <widgetprofile.h>

List of all members.

Public Member Functions

 CWidgetProfile (QWidget *, CProfile *, QString, CWidgetProfileVert *)

Public Attributes

QLabel * lblLuff
QLabel * lblDepth
QLabel * lblPercent
QLabel * lblLeech
QLabel * lblLuffSlopeValue
QLabel * lblLuffSlopeDegrees
QLabel * lblMaxPosValue
QLabel * lblMaxPosCord
QLabel * lblLeechSlopeValue
QLabel * lblLeechSlopeDegrees
QSpinBox * spinLuff
QSpinBox * spinDepth
QSpinBox * spinLeech

Protected Slots

virtual void languageChange ()
void slotChanged ()

Protected Attributes

CLabelProfilelblDraw
CWidgetProfileVertwidgetVert
CProfileprofile
bool active


Detailed Description

Widget for displaying a CProfile. It has a display area and 3 spinboxes.

See also:
CProfile

CLabelProfile

CWidgetProfileVert

Definition at line 72 of file widgetprofile.h.


Constructor & Destructor Documentation

CWidgetProfile::CWidgetProfile ( QWidget *  parent,
CProfile ptr,
QString  caption,
CWidgetProfileVert vert 
)

The constructor.

Parameters:
parent the parent dialog
ptr a pointer to the profile we are displaying / editing
caption caption for the profile view (e.g. top,middle..) QLabel* lblLeech;
vert the vertical repartition widget

create the drawing area

Definition at line 122 of file widgetprofile.cpp.

References active, CProfile::getDepth(), CProfile::getLeech(), CProfile::getLuff(), languageChange(), lblDepth, lblDraw, lblLeech, lblLeechSlopeDegrees, lblLeechSlopeValue, lblLuff, lblLuffSlopeDegrees, lblLuffSlopeValue, lblMaxPosCord, lblMaxPosValue, lblPercent, profile, slotChanged(), spinDepth, spinLeech, and spinLuff.


Member Function Documentation

void CWidgetProfile::languageChange (  )  [protected, virtual, slot]

Sets the strings of the subwidgets using the current language.

Definition at line 241 of file widgetprofile.cpp.

References lblDepth, lblLeech, lblLeechSlopeDegrees, lblLuff, lblLuffSlopeDegrees, lblMaxPosCord, and lblPercent.

Referenced by CWidgetProfile().

void CWidgetProfile::slotChanged (  )  [protected, slot]


Member Data Documentation

label for luff

Definition at line 86 of file widgetprofile.h.

Referenced by CWidgetProfile(), and languageChange().

label for depth

Definition at line 88 of file widgetprofile.h.

Referenced by CWidgetProfile(), and languageChange().

label for percent

Definition at line 90 of file widgetprofile.h.

Referenced by CWidgetProfile(), and languageChange().

label for leech

Definition at line 92 of file widgetprofile.h.

Referenced by CWidgetProfile(), and languageChange().

label for Luff slope value

Definition at line 95 of file widgetprofile.h.

Referenced by CWidgetProfile(), and slotChanged().

label for Luff slope 'degrees'

Definition at line 97 of file widgetprofile.h.

Referenced by CWidgetProfile(), and languageChange().

label for max depth position

Definition at line 99 of file widgetprofile.h.

Referenced by CWidgetProfile(), and slotChanged().

label for max depth 'cord'

Definition at line 101 of file widgetprofile.h.

Referenced by CWidgetProfile(), and languageChange().

label for leech slope value

Definition at line 103 of file widgetprofile.h.

Referenced by CWidgetProfile(), and slotChanged().

label for leech slope 'degrees'

Definition at line 105 of file widgetprofile.h.

Referenced by CWidgetProfile(), and languageChange().

spinbox for luff

Definition at line 108 of file widgetprofile.h.

Referenced by CWidgetProfile(), and slotChanged().

spinbox for depth

Definition at line 110 of file widgetprofile.h.

Referenced by CFormMould::CFormMould(), CWidgetProfile(), and slotChanged().

spinbox for leech

Definition at line 112 of file widgetprofile.h.

Referenced by CWidgetProfile(), and slotChanged().

drawing area for the profile

Definition at line 116 of file widgetprofile.h.

Referenced by CWidgetProfile(), and slotChanged().

widget for the vertical repartition

Definition at line 118 of file widgetprofile.h.

Referenced by slotChanged().

the profile we are displaying

Definition at line 121 of file widgetprofile.h.

Referenced by CWidgetProfile(), and slotChanged().

bool CWidgetProfile::active [protected]

active flag to disable slotChanged

Definition at line 123 of file widgetprofile.h.

Referenced by CWidgetProfile(), and slotChanged().


The documentation for this class was generated from the following files:

Generated on Sun Mar 22 21:38:32 2009 for Sailcut CAD by  doxygen 1.5.6