Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

BorderEditor Class Reference

#include </home/clem/local/src/opie/noncore/apps/opie-sheet/cellformat.h>

List of all members.

Public Types

enum  BorderArea {
  None, Top, Bottom, Left,
  Right, Horz, Vert
}

Signals

void clicked (BorderEditor::BorderArea)

Public Member Functions

 BorderEditor (QWidget *parent=0)
 ~BorderEditor ()
void setPen (const QPen &pen, BorderArea area)
QPen getPen (BorderArea area)
QPen getDefaultPen ()

Private Member Functions

void drawContents (QPainter *p)
void mouseReleaseEvent (QMouseEvent *e)

Private Attributes

QPen penTop
QPen penBottom
QPen penLeft
QPen penRight
QPen penHorz
QPen penVert


Member Enumeration Documentation

enum BorderEditor::BorderArea
 

Enumeration values:
None 
Top 
Bottom 
Left 
Right 
Horz 
Vert 

Definition at line 65 of file cellformat.h.


Constructor & Destructor Documentation

BorderEditor::BorderEditor QWidget *  parent = 0  ) 
 

Definition at line 544 of file cellformat.cpp.

BorderEditor::~BorderEditor  ) 
 

Definition at line 550 of file cellformat.cpp.


Member Function Documentation

void BorderEditor::clicked BorderEditor::BorderArea   )  [signal]
 

Referenced by mouseReleaseEvent().

void BorderEditor::drawContents QPainter *  p  )  [private]
 

Definition at line 553 of file cellformat.cpp.

References Qt::gray, height, penBottom, penHorz, penLeft, penRight, penTop, penVert, Qt::white, width, Opie::MM::x, and Opie::MM::y.

QPen BorderEditor::getDefaultPen  )  [inline]
 

Definition at line 72 of file cellformat.h.

References Qt::black, and Qt::DotLine.

Referenced by CellFormat::exec(), and getPen().

QPen BorderEditor::getPen BorderArea  area  ) 
 

Definition at line 632 of file cellformat.cpp.

References Bottom, getDefaultPen(), Horz, Left, penBottom, penHorz, penLeft, penRight, penTop, penVert, Right, Top, and Vert.

Referenced by CellFormat::borderClicked(), and CellFormat::exec().

void BorderEditor::mouseReleaseEvent QMouseEvent *  e  )  [private]
 

Definition at line 613 of file cellformat.cpp.

References Bottom, clicked(), height, Horz, Left, None, Right, Top, Vert, width, Opie::MM::x, and Opie::MM::y.

void BorderEditor::setPen const QPen &  pen,
BorderArea  area
 

Definition at line 599 of file cellformat.cpp.

References Bottom, Horz, Left, penBottom, penHorz, penLeft, penRight, penTop, penVert, Right, Top, and Vert.

Referenced by CellFormat::borderClicked(), CellFormat::exec(), and CellFormat::slotBordersDefaults().


Member Data Documentation

QPen BorderEditor::penBottom [private]
 

Definition at line 52 of file cellformat.h.

Referenced by drawContents(), getPen(), and setPen().

QPen BorderEditor::penHorz [private]
 

Definition at line 52 of file cellformat.h.

Referenced by drawContents(), getPen(), and setPen().

QPen BorderEditor::penLeft [private]
 

Definition at line 52 of file cellformat.h.

Referenced by drawContents(), getPen(), and setPen().

QPen BorderEditor::penRight [private]
 

Definition at line 52 of file cellformat.h.

Referenced by drawContents(), getPen(), and setPen().

QPen BorderEditor::penTop [private]
 

Definition at line 52 of file cellformat.h.

Referenced by drawContents(), getPen(), and setPen().

QPen BorderEditor::penVert [private]
 

Definition at line 52 of file cellformat.h.

Referenced by drawContents(), getPen(), and setPen().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:27:27 2005 for OPIE by  doxygen 1.4.2