Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

Dialog Class Reference

#include <Dialog.h>

Inheritance diagram for Dialog:

AxesDialog DataDialog DestinationDialog DumpDialog ExplorerDialog FileInfoDialog FunctionDialog ImageMagickDialog ImportDialog InfoDialog LabPlotDialog LegendDialog ListDialog ObjectDialog PlotDialog PlotSettingsDialog ProjectDialog PstoEditDialog SpreadsheetPropertiesDialog SpreadsheetValuesDialog TitleDialog WorksheetDialog List of all members.

Public Slots

void setDestination (int d)
 set current destination for new functions

void setFilename (QString f)
 set filename for import widget

void setFilter (int f)
 set filter for importing

void setSimplify (bool b=true)
 set simplify whitespaces

void setEmpty (bool b=true)
 allow empty entries in data file

void setImportHeader (bool b=true)
 import header from data file

void setSeparator (int s)
 set separating character

void setSeparator (QChar s)
 set separating character

void setComment (int s)
 set comment character

void setComment (QChar s)
 set comment character

void setDataRange (int s, int e)
 set range for importing data

void setStart (int s)
void setEnd (int e)
void setVars (int v)
 number of vars for binary data

void setBinaryType (int t)
 set type for binary data

void setStyle (Style *s)
 set Style

void setSymbol (Symbol *s)
 set Symbol


Public Member Functions

 Dialog (class MainWin *mw, const char *name)
QVBox * surfaceStyle (QTabWidget *tw, bool fresh)
 used from dialogs for surface plots

QVBox * simpleStyle (QTabWidget *tw, Style *style, Symbol *symbol)
 used from dialogs for simple plots

void saveSimpleStyle ()
void saveSurfaceStyle ()

Protected Slots

void selectFile ()
void fileInfo ()
void updateFilter (int item)
QStringList splitLine (QString line, QString sep, bool empty)

Protected Member Functions

void resizeEvent (QResizeEvent *e)
QVBox * annotateValuesTab (QTabWidget *tw, Graph *graph)
void importWidget (QVBox *vb, QString filename, InputFilter filter)
double getBinaryValue (QDataStream *d, int type)

Protected Attributes

QGroupBox * vbox
QGroupBox * gbox
MainWinmw
Worksheetp
Spreadsheets
KPushButton * ok
KPushButton * apply
KPushButton * cancel
KLineEdit * filele
KComboBox * cb2
KComboBox * pencb
KComboBox * brushcb
KComboBox * sbrushcb
KComboBox * symbolcb
KComboBox * symbolfillcb
KColorButton * color
KColorButton * fcolor
KColorButton * scolor
KColorButton * sfcolor
QCheckBox * filled
KLineEdit * boxwidthle
KLineEdit * ssize
KLineEdit * widthle
QCheckBox * autobox
QCheckBox * ccb
QCheckBox * dcb
QCheckBox * coloredcb
QCheckBox * meshcb
QCheckBox * relativecb
KLineEdit * numberle
KLineEdit * thresholdle
KComboBox * pcb
KComboBox * dbrushcb
KColorButton * contourcolor
KComboBox * typecb
KComboBox * positioncb
KLineEdit * distancele
QCheckBox * simplifycb
QCheckBox * emptycb
QCheckBox * headercb
QLabel * seplabel
QLabel * commlabel
QLabel * startlabel
QLabel * endlabel
KLineEdit * startle
KLineEdit * endle
KComboBox * filtercb
KComboBox * sccb
KComboBox * commcb
QLabel * varlabel
QLabel * binarytypelabel
KLineEdit * varle
KComboBox * binarytypecb
KComboBox * sheetcb

Private Slots

void styleChanged ()
 any style properties changed

void symbolChanged ()
 any symbol properties changed


Private Member Functions

void fillBrushBox (KComboBox *cb, SType t, QColor c, FType f, QColor s)
void fillSymbolBox (QColor c, FType f, QColor s, int b)
 fill the symbol combo box with all symbols

void fillSymbolFillBox (SType t, QColor c, QColor s, int b)
 fill the symbol combo box with all symbols


Constructor & Destructor Documentation

Dialog::Dialog class MainWin mw,
const char *  name
 


Member Function Documentation

QVBox * Dialog::annotateValuesTab QTabWidget *  tw,
Graph graph
[protected]
 

void Dialog::fileInfo  )  [protected, slot]
 

void Dialog::fillBrushBox KComboBox *  cb,
SType  t,
QColor  c,
FType  f,
QColor  s
[private]
 

void Dialog::fillSymbolBox QColor  c,
FType  f,
QColor  s,
int  b
[private]
 

fill the symbol combo box with all symbols

void Dialog::fillSymbolFillBox SType  t,
QColor  c,
QColor  s,
int  b
[private]
 

fill the symbol combo box with all symbols

double Dialog::getBinaryValue QDataStream *  d,
int  type
[protected]
 

void Dialog::importWidget QVBox *  vb,
QString  filename,
InputFilter  filter
[protected]
 

void Dialog::resizeEvent QResizeEvent *  e  )  [protected]
 

void Dialog::saveSimpleStyle  ) 
 

void Dialog::saveSurfaceStyle  ) 
 

void Dialog::selectFile  )  [protected, slot]
 

Reimplemented in DumpDialog, ImageMagickDialog, ObjectDialog, and PstoEditDialog.

void Dialog::setBinaryType int  t  )  [inline, slot]
 

set type for binary data

Reimplemented in DumpDialog.

void Dialog::setComment QChar  s  )  [inline, slot]
 

set comment character

void Dialog::setComment int  s  )  [inline, slot]
 

set comment character

void Dialog::setDataRange int  s,
int  e
[inline, slot]
 

set range for importing data

void Dialog::setDestination int  d  )  [inline, slot]
 

set current destination for new functions

void Dialog::setEmpty bool  b = true  )  [inline, slot]
 

allow empty entries in data file

void Dialog::setEnd int  e  )  [inline, slot]
 

void Dialog::setFilename QString  f  )  [inline, slot]
 

set filename for import widget

Reimplemented in DumpDialog.

void Dialog::setFilter int  f  )  [inline, slot]
 

set filter for importing

void Dialog::setImportHeader bool  b = true  )  [inline, slot]
 

import header from data file

void Dialog::setSeparator QChar  s  )  [inline, slot]
 

set separating character

void Dialog::setSeparator int  s  )  [inline, slot]
 

set separating character

void Dialog::setSimplify bool  b = true  )  [inline, slot]
 

set simplify whitespaces

void Dialog::setStart int  s  )  [inline, slot]
 

void Dialog::setStyle Style s  )  [slot]
 

set Style

void Dialog::setSymbol Symbol s  )  [slot]
 

set Symbol

void Dialog::setVars int  v  )  [inline, slot]
 

number of vars for binary data

QVBox * Dialog::simpleStyle QTabWidget *  tw,
Style style,
Symbol symbol
 

used from dialogs for simple plots

QStringList Dialog::splitLine QString  line,
QString  sep,
bool  empty
[protected, slot]
 

void Dialog::styleChanged  )  [private, slot]
 

any style properties changed

QVBox * Dialog::surfaceStyle QTabWidget *  tw,
bool  fresh
 

used from dialogs for surface plots

void Dialog::symbolChanged  )  [private, slot]
 

any symbol properties changed

void Dialog::updateFilter int  item  )  [protected, slot]
 


Member Data Documentation

KPushButton * Dialog::apply [protected]
 

QCheckBox* Dialog::autobox [protected]
 

KComboBox* Dialog::binarytypecb [protected]
 

Reimplemented in DumpDialog.

QLabel * Dialog::binarytypelabel [protected]
 

KLineEdit* Dialog::boxwidthle [protected]
 

KComboBox * Dialog::brushcb [protected]
 

KPushButton * Dialog::cancel [protected]
 

KComboBox* Dialog::cb2 [protected]
 

Reimplemented in AxesDialog, and LegendDialog.

QCheckBox * Dialog::ccb [protected]
 

KColorButton* Dialog::color [protected]
 

QCheckBox * Dialog::coloredcb [protected]
 

KComboBox * Dialog::commcb [protected]
 

QLabel * Dialog::commlabel [protected]
 

KColorButton* Dialog::contourcolor [protected]
 

KComboBox * Dialog::dbrushcb [protected]
 

QCheckBox * Dialog::dcb [protected]
 

KLineEdit* Dialog::distancele [protected]
 

QCheckBox * Dialog::emptycb [protected]
 

QLabel * Dialog::endlabel [protected]
 

KLineEdit * Dialog::endle [protected]
 

KColorButton * Dialog::fcolor [protected]
 

KLineEdit* Dialog::filele [protected]
 

Reimplemented in ImageMagickDialog, and PstoEditDialog.

QCheckBox* Dialog::filled [protected]
 

KComboBox* Dialog::filtercb [protected]
 

QGroupBox * Dialog::gbox [protected]
 

QCheckBox * Dialog::headercb [protected]
 

Reimplemented in DumpDialog.

QCheckBox * Dialog::meshcb [protected]
 

class MainWin* Dialog::mw [protected]
 

Reimplemented in ExplorerDialog, and ProjectDialog.

KLineEdit* Dialog::numberle [protected]
 

Reimplemented in RegressionListDialog.

KPushButton* Dialog::ok [protected]
 

class Worksheet* Dialog::p [protected]
 

Reimplemented in InfoDialog.

KComboBox* Dialog::pcb [protected]
 

KComboBox * Dialog::pencb [protected]
 

KComboBox * Dialog::positioncb [protected]
 

QCheckBox * Dialog::relativecb [protected]
 

class Spreadsheet* Dialog::s [protected]
 

KComboBox * Dialog::sbrushcb [protected]
 

KComboBox * Dialog::sccb [protected]
 

KColorButton * Dialog::scolor [protected]
 

QLabel* Dialog::seplabel [protected]
 

KColorButton * Dialog::sfcolor [protected]
 

KComboBox* Dialog::sheetcb [protected]
 

QCheckBox* Dialog::simplifycb [protected]
 

KLineEdit * Dialog::ssize [protected]
 

QLabel * Dialog::startlabel [protected]
 

KLineEdit* Dialog::startle [protected]
 

KComboBox* Dialog::symbolcb [protected]
 

KComboBox * Dialog::symbolfillcb [protected]
 

KLineEdit * Dialog::thresholdle [protected]
 

Reimplemented in PeakListDialog.

KComboBox* Dialog::typecb [protected]
 

Reimplemented in ImageListDialog, InterpolationListDialog, SpreadsheetPropertiesDialog, and WaveletListDialog.

QLabel* Dialog::varlabel [protected]
 

Reimplemented in FileInfoDialog.

KLineEdit* Dialog::varle [protected]
 

QGroupBox* Dialog::vbox [protected]
 

KLineEdit * Dialog::widthle [protected]
 


The documentation for this class was generated from the following files:
Generated on Fri Aug 19 21:34:45 2005 for LabPlot by doxygen 1.3.6