SciDAVis  1.D4
Public Types | Public Slots | Public Member Functions | Private Attributes
LineDialog Class Reference

Line options dialog. More...

#include <LineDialog.h>

List of all members.

Public Types

enum  Unit { ScaleCoordinates, Pixels }

Public Slots

void accept ()
void apply ()
void displayCoordinates (int unit)
void enableButtonDefault (QWidget *w)
void pickColor ()
void setDefaultValues ()
void setLineStyle (Qt::PenStyle style)

Public Member Functions

void enableHeadTab ()
void initGeometryTab ()
 LineDialog (ArrowMarker *line, QWidget *parent=0, Qt::WFlags fl=0)
void setCoordinates (int unit)

Private Attributes

QSpinBox * boxHeadAngle
QSpinBox * boxHeadLength
QPushButton * btnApply
QPushButton * btnOk
QPushButton * buttonDefault
ColorButtoncolorBox
QCheckBox * endBox
QCheckBox * filledBox
QWidget * geometry
QWidget * head
ArrowMarkerlm
QWidget * options
QCheckBox * startBox
QComboBox * styleBox
QTabWidget * tw
QComboBox * unitBox
QComboBox * widthBox
QLineEdit * xEndBox
QLineEdit * xStartBox
QLineEdit * yEndBox
QLineEdit * yStartBox

Detailed Description

Line options dialog.


Member Enumeration Documentation

Enumerator:
ScaleCoordinates 
Pixels 

Constructor & Destructor Documentation

LineDialog::LineDialog ( ArrowMarker line,
QWidget *  parent = 0,
Qt::WFlags  fl = 0 
)

Member Function Documentation

void LineDialog::accept ( )
slot

References apply().

Referenced by LineDialog().

void LineDialog::apply ( )
slot
void LineDialog::displayCoordinates ( int  unit)
slot
void LineDialog::enableButtonDefault ( QWidget *  w)
slot

References buttonDefault, and geometry.

Referenced by LineDialog().

void LineDialog::enableHeadTab ( )

References endBox, head, startBox, and tw.

Referenced by apply(), and LineDialog().

void LineDialog::initGeometryTab ( )
void LineDialog::pickColor ( )
slot
void LineDialog::setCoordinates ( int  unit)
void LineDialog::setDefaultValues ( )
slot
void LineDialog::setLineStyle ( Qt::PenStyle  style)
slot

References styleBox.

Referenced by LineDialog().


Member Data Documentation

QSpinBox* LineDialog::boxHeadAngle
private

Referenced by apply(), LineDialog(), and setDefaultValues().

QSpinBox * LineDialog::boxHeadLength
private

Referenced by apply(), LineDialog(), and setDefaultValues().

QPushButton* LineDialog::btnApply
private

Referenced by LineDialog().

QPushButton* LineDialog::btnOk
private

Referenced by LineDialog().

QPushButton* LineDialog::buttonDefault
private

Referenced by enableButtonDefault(), and LineDialog().

ColorButton* LineDialog::colorBox
private
QCheckBox* LineDialog::endBox
private

Referenced by apply(), enableHeadTab(), and LineDialog().

QCheckBox * LineDialog::filledBox
private

Referenced by apply(), LineDialog(), and setDefaultValues().

QWidget * LineDialog::geometry
private
QWidget * LineDialog::head
private

Referenced by apply(), enableHeadTab(), and LineDialog().

ArrowMarker* LineDialog::lm
private
QWidget* LineDialog::options
private

Referenced by apply(), and LineDialog().

QCheckBox* LineDialog::startBox
private

Referenced by apply(), enableHeadTab(), and LineDialog().

QComboBox* LineDialog::styleBox
private
QTabWidget* LineDialog::tw
private
QComboBox* LineDialog::unitBox
private

Referenced by apply(), and initGeometryTab().

QComboBox* LineDialog::widthBox
private

Referenced by apply(), LineDialog(), and setDefaultValues().

QLineEdit * LineDialog::xEndBox
private
QLineEdit* LineDialog::xStartBox
private
QLineEdit * LineDialog::yEndBox
private
QLineEdit * LineDialog::yStartBox
private

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