Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages

PeakIcon Class Reference
[Visual]

#include <OpenMS/VISUAL/PeakIcon.h>

List of all members.


Detailed Description

Class for drawing icons with a QPainter.

Public Types

enum  Icon {
  IT_NOICON, IT_ELLIPSE, IT_TRIANGLE, IT_ASTERIX,
  IT_SQUARE
}
 Icon names. More...

Static Public Member Functions

static void drawIcon (Icon icon, QPainter &painter, const QRect &r)
 Draws an icon into a boundingbox.
static void drawEllipse (QPainter &painter, const QRect &r)
 Draws an ellipse into a boundingbox.
static void drawTriangle (QPainter &painter, const QRect &r)
 Draws a triangle into a boundingbox.
static void drawAsterix (QPainter &painter, const QRect &r)
 Draws an asterix into a boundingbox.
static void drawRectangle (QPainter &painter, const QRect &r)
 Draws a rectangle into a boundingbox.

Protected Member Functions

 PeakIcon ()
 Constructor is protexcted as all methods are static.

Member Enumeration Documentation

enum Icon

Icon names.

Enumerator:
IT_NOICON 
IT_ELLIPSE 
IT_TRIANGLE 
IT_ASTERIX 
IT_SQUARE 


Constructor & Destructor Documentation

PeakIcon (  )  [protected]

Constructor is protexcted as all methods are static.


Member Function Documentation

static void drawIcon ( Icon  icon,
QPainter &  painter,
const QRect &  r 
) [static]

Draws an icon into a boundingbox.

static void drawEllipse ( QPainter &  painter,
const QRect &  r 
) [static]

Draws an ellipse into a boundingbox.

static void drawTriangle ( QPainter &  painter,
const QRect &  r 
) [static]

Draws a triangle into a boundingbox.

static void drawAsterix ( QPainter &  painter,
const QRect &  r 
) [static]

Draws an asterix into a boundingbox.

static void drawRectangle ( QPainter &  painter,
const QRect &  r 
) [static]

Draws a rectangle into a boundingbox.


The documentation for this class was generated from the following file:
Generated Tue Apr 1 15:36:48 2008 -- using doxygen 1.5.4 OpenMS / TOPP 1.1