SymbolBox Class Reference

#include <SymbolBox.h>

List of all members.


Detailed Description

A modified QComboBox allowing to choose a QwtSmbol style.

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

symbol_box.png


Public Member Functions

QwtSymbol::Style selectedSymbol () const
void setStyle (const QwtSymbol::Style &c)
 SymbolBox (QWidget *parent)
 Constructor.

Static Public Member Functions

static QwtSymbol::Style style (int index)
static int symbolIndex (const QwtSymbol::Style &style)

Protected Member Functions

void init ()

Static Private Attributes

static const QwtSymbol::Style symbols []


Constructor & Destructor Documentation

SymbolBox::SymbolBox QWidget *  parent  ) 
 

Constructor.

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


Member Function Documentation

void SymbolBox::init  )  [protected]
 

QwtSymbol::Style SymbolBox::selectedSymbol  )  const
 

void SymbolBox::setStyle const QwtSymbol::Style &  c  ) 
 

QwtSymbol::Style SymbolBox::style int  index  )  [static]
 

int SymbolBox::symbolIndex const QwtSymbol::Style &  style  )  [static]
 


Member Data Documentation

const QwtSymbol::Style SymbolBox::symbols [static, private]
 

Initial value:

 {
  QwtSymbol::NoSymbol,
  QwtSymbol::Ellipse,
  QwtSymbol::Rect,
  QwtSymbol::Diamond,
  QwtSymbol::Triangle,
  QwtSymbol::DTriangle,
  QwtSymbol::UTriangle,
  QwtSymbol::LTriangle,
  QwtSymbol::RTriangle,
  QwtSymbol::Cross,
  QwtSymbol::XCross,
  QwtSymbol::HLine,
  QwtSymbol::VLine,
  QwtSymbol::Star1,
  QwtSymbol::Star2,
  QwtSymbol::Hexagon
}


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