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

A class to allow the user to set or change the user's Master Password. More...

#include "us_admin.h"

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

Public Member Functions

 US_Admin (QWidget *=0, Qt::WindowFlags=0)
 
 ~US_Admin ()
 A null destructor. 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 Slots

void help ()
 
void save ()
 

Private Attributes

QLineEdit * le_oldPasswd
 
QLineEdit * le_passwd1
 
QLineEdit * le_passwd2
 
QPushButton * pb_help
 
QPushButton * pb_save
 
QPushButton * pb_cancel
 
QString password1
 
QString password2
 

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

A class to allow the user to set or change the user's Master Password.

Definition at line 10 of file us_admin.h.

Constructor & Destructor Documentation

US_Admin::US_Admin ( QWidget *  w = 0,
Qt::WindowFlags  flags = 0 
)

Construct the window to manage the user's Master Password When setting the password, it is saved in global memory. See US_Global. A cryptographic hash of the password is saved in the user's settings. See US_Settings.

Definition at line 9 of file us_admin.cpp.

US_Admin::~US_Admin ( )
inline

A null destructor.

Definition at line 21 of file us_admin.h.

Member Function Documentation

void US_Admin::help ( void  )
privateslot

Definition at line 189 of file us_admin.cpp.

void US_Admin::save ( void  )
privateslot

Use settings

Definition at line 93 of file us_admin.cpp.

Member Data Documentation

QLineEdit* US_Admin::le_oldPasswd
private

Definition at line 21 of file us_admin.h.

QLineEdit* US_Admin::le_passwd1
private

Definition at line 25 of file us_admin.h.

QLineEdit* US_Admin::le_passwd2
private

Definition at line 26 of file us_admin.h.

QString US_Admin::password1
private

Definition at line 32 of file us_admin.h.

QString US_Admin::password2
private

Definition at line 33 of file us_admin.h.

QPushButton* US_Admin::pb_cancel
private

Definition at line 30 of file us_admin.h.

QPushButton* US_Admin::pb_help
private

Definition at line 28 of file us_admin.h.

QPushButton* US_Admin::pb_save
private

Definition at line 29 of file us_admin.h.


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