UltraScan III
List of all members | Signals | Public Member Functions | Private Attributes
US_ProjectGuiMolecules Class Reference

This class forms the content of the molecules tab in the US_Project GUI. More...

#include "us_project_gui.h"

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

Signals

void moleculesTabChanged (void)
 Emitted when the text in the molecules tab changes. More...
 

Public Member Functions

 US_ProjectGuiMolecules (void)
 Generic constructor for the US_ProjectGuiMolecules class. More...
 
QString getMolecules (void)
 Returns the content entered by the user. More...
 
void setMolecules (QString)
 Loads the content of this tab. More...
 
- Public Member Functions inherited from US_Widgets
 US_Widgets (bool=true, QWidget *p=0, Qt::WindowFlags f=0)
 
 ~US_Widgets (void)
 
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=-1, 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)
 
void write_plot (const QString &, const QwtPlot *)
 Write a plot file (PNG or SVG+PNG) from a plot. More...
 
int clean_etc_dir (bool=false)
 Clean install and work ./etc directories. More...
 

Private Attributes

QTextEdit * te_molecules
 

Additional Inherited Members

- Static Public Member Functions inherited from US_Widgets
static QFont fixedFont (void)
 
- Public Attributes inherited from US_Widgets
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

This class forms the content of the molecules tab in the US_Project GUI.

Definition at line 120 of file us_project_gui.h.

Constructor & Destructor Documentation

US_ProjectGuiMolecules::US_ProjectGuiMolecules ( void  )

Generic constructor for the US_ProjectGuiMolecules class.

Definition at line 851 of file us_project_gui.cpp.

Member Function Documentation

QString US_ProjectGuiMolecules::getMolecules ( void  )

Returns the content entered by the user.

Definition at line 876 of file us_project_gui.cpp.

void US_ProjectGuiMolecules::moleculesTabChanged ( void  )
signal

Emitted when the text in the molecules tab changes.

void US_ProjectGuiMolecules::setMolecules ( QString  newMolecules)

Loads the content of this tab.

Parameters
newMoleculesThe text to load into the text widget

Definition at line 871 of file us_project_gui.cpp.

Member Data Documentation

QTextEdit* US_ProjectGuiMolecules::te_molecules
private

Definition at line 140 of file us_project_gui.h.


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