A class to allow the user to set, modify or delete parameters for database access. More...
#include "us_database.h"
Public Member Functions | |
US_Database (QWidget *w=0, Qt::WindowFlags flags=0) | |
Construct the window to manage database parameters. 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) |
void | select_db (QListWidgetItem *) |
void | check_add (void) |
void | reset (void) |
void | save_default (void) |
void | deleteDB (void) |
bool | test_connect (void) |
void | update_inv (void) |
Private Member Functions | |
void | update_lw (const QString &=0) |
Private Attributes | |
QList< QStringList > | dblist |
QString | uuid |
QPushButton * | pb_add |
QPushButton * | pb_delete |
QPushButton * | pb_save |
QPushButton * | pb_reset |
QPushButton * | pb_testConnect |
QLineEdit * | le_description |
QLineEdit * | le_username |
QLineEdit * | le_password |
QLineEdit * | le_dbname |
QLineEdit * | le_host |
QLineEdit * | le_investigator_email |
QLineEdit * | le_investigator_pw |
QListWidget * | lw_entries |
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... | |
A class to allow the user to set, modify or delete parameters for database access.
Definition at line 12 of file us_database.h.
US_Database::US_Database | ( | QWidget * | w = 0 , |
Qt::WindowFlags | flags = 0 |
||
) |
Construct the window to manage database parameters.
Definition at line 10 of file us_database.cpp.
|
privateslot |
Definition at line 238 of file us_database.cpp.
|
privateslot |
Definition at line 457 of file us_database.cpp.
|
privateslot |
Definition at line 413 of file us_database.cpp.
|
privateslot |
Definition at line 393 of file us_database.cpp.
|
privateslot |
Definition at line 419 of file us_database.cpp.
|
privateslot |
Definition at line 158 of file us_database.cpp.
|
privateslot |
Definition at line 493 of file us_database.cpp.
|
privateslot |
Definition at line 210 of file us_database.cpp.
|
private |
Definition at line 368 of file us_database.cpp.
|
private |
Definition at line 22 of file us_database.h.
|
private |
Definition at line 34 of file us_database.h.
|
private |
Definition at line 31 of file us_database.h.
|
private |
Definition at line 35 of file us_database.h.
|
private |
Definition at line 36 of file us_database.h.
|
private |
Definition at line 37 of file us_database.h.
|
private |
Definition at line 33 of file us_database.h.
|
private |
Definition at line 32 of file us_database.h.
|
private |
Definition at line 39 of file us_database.h.
|
private |
Definition at line 25 of file us_database.h.
|
private |
Definition at line 26 of file us_database.h.
|
private |
Definition at line 28 of file us_database.h.
|
private |
Definition at line 27 of file us_database.h.
|
private |
Definition at line 29 of file us_database.h.
|
private |
Definition at line 23 of file us_database.h.