PenStyleBox Class Reference

#include <PenStyleBox.h>

List of all members.


Detailed Description

A modified QComboBox allowing to choose a Qt::PenStyle.

This is a simple hack on top of the QComboBox class.


Public Member Functions

 PenStyleBox (QWidget *parent=0)
 Constructor.
void setStyle (const Qt::PenStyle &style)
Qt::PenStyle style () const

Static Public Member Functions

static Qt::PenStyle penStyle (int index)
static int styleIndex (const Qt::PenStyle &style)

Static Private Attributes

static const Qt::PenStyle patterns []


Constructor & Destructor Documentation

PenStyleBox::PenStyleBox QWidget *  parent = 0  ) 
 

Constructor.

Parameters:
parent parent widget (only affects placement of the widget)


Member Function Documentation

Qt::PenStyle PenStyleBox::penStyle int  index  )  [static]
 

void PenStyleBox::setStyle const Qt::PenStyle &  style  ) 
 

Qt::PenStyle PenStyleBox::style  )  const
 

int PenStyleBox::styleIndex const Qt::PenStyle &  style  )  [static]
 


Member Data Documentation

const Qt::PenStyle PenStyleBox::patterns [static, private]
 

Initial value:

 {
    Qt::SolidLine,
    Qt::DashLine,
    Qt::DotLine,
    Qt::DashDotLine,
    Qt::DashDotDotLine
}


The documentation for this class was generated from the following files:
Generated on Tue Nov 4 10:49:53 2008 for Qti by  doxygen 1.4.6