HistoPlot Class Reference

[libkorigin Index] [libkorigin Heirarchy]


1D Histogram class More...

#include </home/mh/korigin/korigin/doc/tmp/histo.h>

Inherits: Plot

Public Members

Public Slots


Detailed Description

1D Histogram class.

This class represents a simple 1D Histogram. Also you can use it for simple analysis, itīs more a demonstration of how to write plots rather than a "real" plot.

However, it shows how to implement your own plots.

Functions required by the PageObject and Plot abstract base classes are only briefly commented. Functions special to HistoPlot are commented more verbosely.


HistoPlot()

Constructor. Builds a HistoPlot "hull" which is filled by instantiate().

~HistoPlot()

Destructor. Shuts down a HistoPlot.

void instantiate(Page*, QWidget* parent=0, const char* name=0, WFlags f=0)

Actually instantiates a HistoPlot on a Page, as required by Plot.

Plot* clone()

Clones itself, as required by Plot.

const char* name() const

Return name of the plot, as required by Plot.

const char* description() const

Return description of the plot, as required by PageObject.

QPopupMenu* menu(QPopupMenu* predefined = 0)

Return menu of the plot, as required by PageObject.

QPixmap* icon()

Return icon of the plot, as required by PageObject.

void storeOptions()

Stores options of the plot, as required by Plot.

void restoreOptions()

Restores options of the plot, as required by Plot.

bool store(QFile& file)

Stores the plot, as required by PageObject.

bool restore(QFile& file)

Restores the plot, as required by PageObject.

int paramCount()

Return no. of parameters of the plot, as required by Plot.

const char* paramName(int i) const

Return parameter names of the plot, as required by Plot.

void paint(QPainter*)

Paints the plot, as required by PageObject.

void mousePressEvent(QMouseEvent*)

Handles a mouse event, as required by PageObject.

void datasetDialog()

Execute Dataset Dialog. The dataset dialog lets you select the color of the single datasets. With X/Y plots, it would also allow you to select the marker type (diamonds, circles, points, none etc).

void optionsDialog()

Executes the options dialog, as required by Plot.

void plotSelectedColumns()

Plots the selected columns of the active worksheet, as required by Plot.


  • Author: Patrick Schemitz
  • Documentation generated by mh@jeff_clever on Thu Feb 5 14:15:25 MET 1998
Kdoc