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 DumpDialog EditDialog ExplorerDialog FileInfoDialog FunctionDialog GRASSDialog ImageMagickDialog ImportDialog InfoDialog LabPlotDialog LegendDialog ListDialog ObjectDialog PlotDialog PlotSettingsDialog ProjectDialog PstoEditDialog SpreadsheetPropertiesDialog SpreadsheetValuesDialog TitleDialog VTKDialog WorksheetDialog List of all members.

Public Member Functions

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

QVBox * simpleStyle (QTabWidget *tw, Graph *graph, 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)
double getBinaryValue (QDataStream *d, int type)

Protected Attributes

QGroupBox * vbox
QGroupBox * gbox
MainWin * mw
Worksheet * p
Spreadsheet * s
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
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 (  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
)  [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.

QVBox * Dialog::simpleStyle (  QTabWidget *  tw,
Graph *  graph,
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]
 

Reimplemented in GRASSDialog.

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::meshcb [protected]
 

MainWin* Dialog::mw [protected]
 

Reimplemented in EditDialog, ExplorerDialog, and ProjectDialog.

KLineEdit* Dialog::numberle [protected]
 

Reimplemented in RegressionListDialog.

KPushButton* Dialog::ok [protected]
 

Worksheet* Dialog::p [protected]
 

Reimplemented in InfoDialog.

KComboBox* Dialog::pcb [protected]
 

KComboBox * Dialog::pencb [protected]
 

KComboBox * Dialog::positioncb [protected]
 

QCheckBox * Dialog::relativecb [protected]
 

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 GRASSDialog, ImageListDialog, InterpolationListDialog, and SpreadsheetPropertiesDialog.

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 Mar 25 19:47:04 2005 for LabPlot by doxygen 1.3.6