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

Dialog Class Reference

#include <Dialog.h>

Inheritance diagram for Dialog:

AddGraphDialog AxesDialog DataDialog DestinationDialog ExplorerDialog ExportDialog 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 setSameXColumn (bool b=true)
 import x column from first file only
void setSeparator (int v)
 set separating character
void setSeparator (QChar v)
 set separating character
void setComment (int v)
 set comment character
void setComment (QChar v)
 set comment character
void setDataRange (int v, int e)
 set range for importing data
void setStart (int v)
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 selectColormap ()
void adaptDataColors (const QString &)
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)
void saveImportSettings ()
double getBinaryValue (QDataStream *d, int type)
bool openColorMap (QString fn)

Protected Attributes

QGroupBox * vbox
QGroupBox * gbox
MainWinmw
Worksheetp
Spreadsheets
KPushButton * ok
KPushButton * apply
KPushButton * save
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
QCheckBox * sortpointscb
KIntNumInput * boxwidth
KIntNumInput * width
KIntNumInput * ssize
QCheckBox * autobox
QCheckBox * ccb
QCheckBox * dcb
QCheckBox * coloredcb
QCheckBox * meshcb
QCheckBox * relativecb
KLineEdit * numberle
KLineEdit * thresholdle
KComboBox * dbrushcb
KColorButton * contourcolor
KComboBox * typecb
KComboBox * positioncb
KIntNumInput * distance
QCheckBox * simplifycb
QCheckBox * emptycb
QCheckBox * headercb
QCheckBox * samexcb
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

void Dialog::adaptDataColors const QString &   )  [protected, slot]
 

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]
 

bool Dialog::openColorMap QString  fn  )  [protected]
 

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

void Dialog::saveImportSettings  )  [protected]
 

void Dialog::saveSimpleStyle  ) 
 

void Dialog::saveSurfaceStyle  ) 
 

void Dialog::selectColormap  )  [protected, slot]
 

void Dialog::selectFile  )  [protected, slot]
 

Reimplemented in ExportDialog, ImageMagickDialog, ObjectDialog, and PstoEditDialog.

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

set type for binary data

Reimplemented in ExportDialog.

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

set comment character

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

set comment character

void Dialog::setDataRange int  v,
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 ExportDialog.

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::setSameXColumn bool  b = true  )  [inline, slot]
 

import x column from first file only

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

set separating character

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

set separating character

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

set simplify whitespaces

void Dialog::setStart int  v  )  [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 ExportDialog.

QLabel * Dialog::binarytypelabel [protected]
 

KIntNumInput* Dialog::boxwidth [protected]
 

KComboBox * Dialog::brushcb [protected]
 

KPushButton * Dialog::cancel [protected]
 

KComboBox* Dialog::cb2 [protected]
 

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]
 

KIntNumInput* Dialog::distance [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 ExportDialog.

QCheckBox * Dialog::meshcb [protected]
 

class MainWin* Dialog::mw [protected]
 

KLineEdit* Dialog::numberle [protected]
 

Reimplemented in RegressionListDialog.

KPushButton* Dialog::ok [protected]
 

class Worksheet* Dialog::p [protected]
 

Reimplemented in InfoDialog.

KComboBox * Dialog::pencb [protected]
 

KComboBox * Dialog::positioncb [protected]
 

Reimplemented in AxesDialog.

QCheckBox * Dialog::relativecb [protected]
 

class Spreadsheet* Dialog::s [protected]
 

QCheckBox * Dialog::samexcb [protected]
 

KPushButton * Dialog::save [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]
 

QCheckBox * Dialog::sortpointscb [protected]
 

KIntNumInput * 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 CorrelationListDialog, FilterListDialog, ImageListDialog, InterpolationListDialog, NoiseListDialog, SpreadsheetPropertiesDialog, and WaveletListDialog.

QLabel* Dialog::varlabel [protected]
 

Reimplemented in FileInfoDialog.

KLineEdit* Dialog::varle [protected]
 

QGroupBox* Dialog::vbox [protected]
 

KIntNumInput * Dialog::width [protected]
 


The documentation for this class was generated from the following files:
Generated on Sun Apr 2 02:05:10 2006 for LabPlot by  doxygen 1.4.4