UltraScan III
List of all members | Public Member Functions | Protected Attributes | Private Slots | Private Attributes
US_MLinesPlot Class Reference

A class to provide a window with a model lines plot. More...

#include "us_mlplot.h"

Inheritance diagram for US_MLinesPlot:
Inheritance graph
[legend]
Collaboration diagram for US_MLinesPlot:
Collaboration graph
[legend]

Public Member Functions

 US_MLinesPlot (double &, double &, double &, double &, int &, int &, int &, int &)
 Model Lines Plot constructor. More...
 
void setModel (US_Model *, QVector< US_ModelRecord > &)
 
void plot_data (void)
 
- Public Member Functions inherited from US_WidgetsDialog
 US_WidgetsDialog (QWidget *, Qt::WindowFlags)
 
QLabel * us_label (const QString &, int=0, int=QFont::Bold)
 
QLabel * us_textlabel (const QString &, int=-1, int=QFont::Bold)
 
QLabel * us_banner (const QString &, int=0, int=QFont::Bold)
 
QPushButton * us_pushbutton (const QString &, bool=true, int=0)
 
QTextEdit * us_textedit (void)
 
QLineEdit * us_lineedit (const QString &=0, int=0, bool=false)
 
void us_setReadOnly (QLineEdit *, bool=true)
 
void us_setReadOnly (QTextEdit *, bool=true)
 
QListWidget * us_listwidget (int=0)
 
QGridLayout * us_checkbox (const QString &, QCheckBox *&, bool=false)
 
QGridLayout * us_radiobutton (const QString &text, QRadioButton *&rb, bool state=false)
 
QProgressBar * us_progressBar (int, int, int=0)
 
QComboBox * us_comboBox (void)
 
QLCDNumber * us_lcd (int, int=0)
 
QwtCounter * us_counter (int, double, double, double=0.0)
 
QwtPlot * us_plot (const QString &, const QString &=QString(), const QString &=QString())
 
QwtPlotGrid * us_grid (QwtPlot *)
 
QwtPlotCurve * us_curve (QwtPlot *, const QString &)
 
QwtPlotPicker * us_picker (QwtPlot *)
 
QTabWidget * us_tabwidget (int=0, int=QFont::Bold)
 

Protected Attributes

US_Help showHelp
 

Private Slots

void close_all (void)
 
void updateElite (double)
 
void updateSolutes (double)
 
void updateVisible (double)
 
void defaultColorMap (void)
 
void selectColorMap (void)
 
void showColorItems (bool)
 
QColor positionColor (double)
 
QwtLinearColorMap reverseColorMap (void)
 
void help (void)
 

Private Attributes

double & ymin
 
double & ymax
 
double & xmin
 
double & xmax
 
int & ctype
 
int & nkpts
 
int & nlpts
 
int & bmndx
 
US_PlotplotLayout1
 
QwtPlot * data_plot1
 
QHBoxLayout * mainLayout
 
QVBoxLayout * leftLayout
 
QVBoxLayout * rightLayout
 
QGridLayout * pltctrlsLayout
 
QHBoxLayout * buttonsLayout
 
QLabel * lb_ltypeh
 
QLabel * lb_counth
 
QLabel * lb_rmsdhd
 
QLabel * lb_rmsdb
 
QLabel * lb_rmsdw
 
QLabel * lb_neline
 
QLabel * lb_nsline
 
QLabel * lb_nvline
 
QwtCounter * ct_neline
 
QwtCounter * ct_nsline
 
QwtCounter * ct_nvline
 
QLineEdit * le_mtype
 
QLineEdit * le_nlines
 
QLineEdit * le_npoints
 
QLineEdit * le_varcount
 
QLineEdit * le_rmsdb
 
QLineEdit * le_rmsdw
 
QLineEdit * le_rmsde
 
QLineEdit * le_rmsds
 
QLineEdit * le_rmsdv
 
QLineEdit * le_colmap
 
QPushButton * pb_colmap
 
QVector< US_ModelRecordmrecs
 
QVector< QColor > cs_colors
 
QwtLinearColorMap * colormap
 
QString cmapname
 
US_Modelmodel
 
int dbg_level
 
int nmodel
 
int neline
 
int nsline
 
int nvline
 
double rmsd_best
 
double rmsd_worst
 
double rmsd_elite
 
double rmsd_solut
 
double rmsd_visib
 

Additional Inherited Members

- Public Attributes inherited from US_WidgetsDialog
US_Global g
 Connect to global memory and make the values accessible. More...
 
QPalette vlgray
 Very light gray palette for read-only line edits. More...
 

Detailed Description

A class to provide a window with a model lines plot.

Definition at line 20 of file us_mlplot.h.

Constructor & Destructor Documentation

US_MLinesPlot::US_MLinesPlot ( double &  ylo,
double &  yhi,
double &  xlo,
double &  xhi,
int &  typ,
int &  nkp,
int &  nlp,
int &  bmx 
)

Model Lines Plot constructor.

Parameters
yloy low value
yhiy high value
xlox low value
xhix high value
typcurve type flag (0-3 -> SL,IS,DS,HL)
nkpnumber of k points (variations)
nlpnumber of line curve points (model solutes)
bmxbest model index

Definition at line 18 of file us_mlplot.cpp.

Member Function Documentation

void US_MLinesPlot::close_all ( void  )
privateslot

Definition at line 207 of file us_mlplot.cpp.

void US_MLinesPlot::defaultColorMap ( void  )
privateslot

Definition at line 530 of file us_mlplot.cpp.

void US_MLinesPlot::help ( void  )
inlineprivateslot

Definition at line 120 of file us_mlplot.h.

void US_MLinesPlot::plot_data ( void  )

Definition at line 213 of file us_mlplot.cpp.

QColor US_MLinesPlot::positionColor ( double  pos)
privateslot

Definition at line 546 of file us_mlplot.cpp.

QwtLinearColorMap US_MLinesPlot::reverseColorMap ( void  )
privateslot

Definition at line 554 of file us_mlplot.cpp.

void US_MLinesPlot::selectColorMap ( void  )
privateslot

Definition at line 601 of file us_mlplot.cpp.

void US_MLinesPlot::setModel ( US_Model a_model,
QVector< US_ModelRecord > &  mrs 
)

Definition at line 479 of file us_mlplot.cpp.

void US_MLinesPlot::showColorItems ( bool  visible)
privateslot

Definition at line 578 of file us_mlplot.cpp.

void US_MLinesPlot::updateElite ( double  value)
privateslot

Definition at line 491 of file us_mlplot.cpp.

void US_MLinesPlot::updateSolutes ( double  value)
privateslot

Definition at line 504 of file us_mlplot.cpp.

void US_MLinesPlot::updateVisible ( double  value)
privateslot

Definition at line 517 of file us_mlplot.cpp.

Member Data Documentation

int& US_MLinesPlot::bmndx
private

Definition at line 49 of file us_mlplot.h.

QHBoxLayout* US_MLinesPlot::buttonsLayout
private

Definition at line 59 of file us_mlplot.h.

QString US_MLinesPlot::cmapname
private

Definition at line 90 of file us_mlplot.h.

QwtLinearColorMap* US_MLinesPlot::colormap
private

Definition at line 89 of file us_mlplot.h.

QVector< QColor > US_MLinesPlot::cs_colors
private

Definition at line 88 of file us_mlplot.h.

QwtCounter* US_MLinesPlot::ct_neline
private

Definition at line 70 of file us_mlplot.h.

QwtCounter* US_MLinesPlot::ct_nsline
private

Definition at line 71 of file us_mlplot.h.

QwtCounter* US_MLinesPlot::ct_nvline
private

Definition at line 72 of file us_mlplot.h.

int& US_MLinesPlot::ctype
private

Definition at line 46 of file us_mlplot.h.

QwtPlot* US_MLinesPlot::data_plot1
private

Definition at line 53 of file us_mlplot.h.

int US_MLinesPlot::dbg_level
private

Definition at line 94 of file us_mlplot.h.

QLabel* US_MLinesPlot::lb_counth
private

Definition at line 62 of file us_mlplot.h.

QLabel* US_MLinesPlot::lb_ltypeh
private

Definition at line 61 of file us_mlplot.h.

QLabel* US_MLinesPlot::lb_neline
private

Definition at line 66 of file us_mlplot.h.

QLabel* US_MLinesPlot::lb_nsline
private

Definition at line 67 of file us_mlplot.h.

QLabel* US_MLinesPlot::lb_nvline
private

Definition at line 68 of file us_mlplot.h.

QLabel* US_MLinesPlot::lb_rmsdb
private

Definition at line 64 of file us_mlplot.h.

QLabel* US_MLinesPlot::lb_rmsdhd
private

Definition at line 63 of file us_mlplot.h.

QLabel* US_MLinesPlot::lb_rmsdw
private

Definition at line 65 of file us_mlplot.h.

QLineEdit* US_MLinesPlot::le_colmap
private

Definition at line 83 of file us_mlplot.h.

QLineEdit* US_MLinesPlot::le_mtype
private

Definition at line 74 of file us_mlplot.h.

QLineEdit* US_MLinesPlot::le_nlines
private

Definition at line 75 of file us_mlplot.h.

QLineEdit* US_MLinesPlot::le_npoints
private

Definition at line 76 of file us_mlplot.h.

QLineEdit* US_MLinesPlot::le_rmsdb
private

Definition at line 78 of file us_mlplot.h.

QLineEdit* US_MLinesPlot::le_rmsde
private

Definition at line 80 of file us_mlplot.h.

QLineEdit* US_MLinesPlot::le_rmsds
private

Definition at line 81 of file us_mlplot.h.

QLineEdit* US_MLinesPlot::le_rmsdv
private

Definition at line 82 of file us_mlplot.h.

QLineEdit* US_MLinesPlot::le_rmsdw
private

Definition at line 79 of file us_mlplot.h.

QLineEdit* US_MLinesPlot::le_varcount
private

Definition at line 77 of file us_mlplot.h.

QVBoxLayout* US_MLinesPlot::leftLayout
private

Definition at line 56 of file us_mlplot.h.

QHBoxLayout* US_MLinesPlot::mainLayout
private

Definition at line 55 of file us_mlplot.h.

US_Model* US_MLinesPlot::model
private

Definition at line 92 of file us_mlplot.h.

QVector< US_ModelRecord > US_MLinesPlot::mrecs
private

Definition at line 87 of file us_mlplot.h.

int US_MLinesPlot::neline
private

Definition at line 96 of file us_mlplot.h.

int& US_MLinesPlot::nkpts
private

Definition at line 47 of file us_mlplot.h.

int& US_MLinesPlot::nlpts
private

Definition at line 48 of file us_mlplot.h.

int US_MLinesPlot::nmodel
private

Definition at line 95 of file us_mlplot.h.

int US_MLinesPlot::nsline
private

Definition at line 97 of file us_mlplot.h.

int US_MLinesPlot::nvline
private

Definition at line 98 of file us_mlplot.h.

QPushButton* US_MLinesPlot::pb_colmap
private

Definition at line 85 of file us_mlplot.h.

US_Plot* US_MLinesPlot::plotLayout1
private

Definition at line 51 of file us_mlplot.h.

QGridLayout* US_MLinesPlot::pltctrlsLayout
private

Definition at line 58 of file us_mlplot.h.

QVBoxLayout* US_MLinesPlot::rightLayout
private

Definition at line 57 of file us_mlplot.h.

double US_MLinesPlot::rmsd_best
private

Definition at line 100 of file us_mlplot.h.

double US_MLinesPlot::rmsd_elite
private

Definition at line 102 of file us_mlplot.h.

double US_MLinesPlot::rmsd_solut
private

Definition at line 103 of file us_mlplot.h.

double US_MLinesPlot::rmsd_visib
private

Definition at line 104 of file us_mlplot.h.

double US_MLinesPlot::rmsd_worst
private

Definition at line 101 of file us_mlplot.h.

US_Help US_MLinesPlot::showHelp
protected

Definition at line 107 of file us_mlplot.h.

double& US_MLinesPlot::xmax
private

Definition at line 44 of file us_mlplot.h.

double& US_MLinesPlot::xmin
private

Definition at line 43 of file us_mlplot.h.

double& US_MLinesPlot::ymax
private

Definition at line 42 of file us_mlplot.h.

double& US_MLinesPlot::ymin
private

Definition at line 41 of file us_mlplot.h.


The documentation for this class was generated from the following files: