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 v)
 set current destination for new functions
void setFilename (QString v)
 set filename for import widget
void setFilter (int v)
 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 v)
void setVars (int v)
 number of vars for binary data
void setBinaryType (int t)
 set type for binary data
void setByteOrder (int b)
 set byte order of 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 ()
void saveErrorbarSettings ()

Protected Slots

void updateFileInfo ()
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)
QVBox * errorbarTab (QTabWidget *tw, Symbol *symbol)
void importWidget (QVBox *vb, QString filename, InputFilter filter)
void saveImportSettings ()
double getBinaryValue (QDataStream *d, BinaryType type)
bool openColorMap (QString fn)
void fillBrushBox (KComboBox *cb, SType t, QColor c, FType f, QColor s)

Protected Attributes

QGroupBox * vbox
QGroupBox * gbox
MainWin * mw
Worksheet * p
Spreadsheet * s
KPushButton * ok
KPushButton * apply
KPushButton * save
KPushButton * cancel
KLineEdit * filele
QLabel * fileinfo
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
KLineEdit * contourwidthle
KComboBox * typecb
KComboBox * positioncb
KIntNumInput * distance
KColorButton * ebarcolor
KColorButton * ebarbcolor
KIntNumInput * ebarxsize
KIntNumInput * ebarysize
KIntNumInput * ebarwidth
KIntNumInput * ebarbwidth
KComboBox * ebarstylecb
KComboBox * ebarbstylecb
KComboBox * ebarxtypecb
KComboBox * ebarytypecb
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
QLabel * byteorderlabel
KComboBox * binarytypecb
KComboBox * byteordercb
KLineEdit * varle
KComboBox * sheetcb

Private Slots

void styleChanged ()
 any style properties changed
void symbolChanged ()
 any symbol properties changed

Private Member Functions

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]
 

QVBox * Dialog::errorbarTab (  QTabWidget *  tw,
Symbol *  symbol
)  [protected]
 

void Dialog::fileInfo (   )  [protected, slot]
 

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

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,
BinaryType  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::saveErrorbarSettings (   ) 
 

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::setByteOrder (  int  b  )  [inline, slot]
 

set byte order of binary data

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  v  )  [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  v  )  [inline, slot]
 

void Dialog::setFilename (  QString  v  )  [inline, slot]
 

set filename for import widget

Reimplemented in ExportDialog.

void Dialog::setFilter (  int  v  )  [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::updateFileInfo (   )  [protected, slot]
 

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]
 

KComboBox * Dialog::byteordercb [protected]
 

QLabel * Dialog::byteorderlabel [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]
 

KLineEdit* Dialog::contourwidthle [protected]
 

KComboBox* Dialog::dbrushcb [protected]
 

QCheckBox * Dialog::dcb [protected]
 

KIntNumInput* Dialog::distance [protected]
 

KColorButton * Dialog::ebarbcolor [protected]
 

KComboBox * Dialog::ebarbstylecb [protected]
 

KIntNumInput * Dialog::ebarbwidth [protected]
 

KColorButton* Dialog::ebarcolor [protected]
 

KComboBox* Dialog::ebarstylecb [protected]
 

KIntNumInput * Dialog::ebarwidth [protected]
 

KIntNumInput* Dialog::ebarxsize [protected]
 

KComboBox * Dialog::ebarxtypecb [protected]
 

KIntNumInput * Dialog::ebarysize [protected]
 

KComboBox * Dialog::ebarytypecb [protected]
 

QCheckBox * Dialog::emptycb [protected]
 

QLabel * Dialog::endlabel [protected]
 

KLineEdit * Dialog::endle [protected]
 

KColorButton * Dialog::fcolor [protected]
 

QLabel* Dialog::fileinfo [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]
 

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 Sat Oct 13 21:55:02 2007 for LabPlot by  doxygen 1.4.4