Manage a user's UltraScan license. More...
#include "us_license.h"
Public Member Functions | |
US_License (QWidget *parent=0, Qt::WindowFlags flags=0) | |
Set up Gui page for license import. More... | |
~US_License () | |
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) |
void | update (void) |
void | update_response (const QString &) |
void | request_response (const QString &) |
QString | trim (const QString &) |
void | update_firstname (const QString &s) |
void | update_lastname (const QString &s) |
void | update_institution (const QString &s) |
void | update_address (const QString &s) |
void | update_city (const QString &s) |
void | update_state (const QString &s) |
void | update_zip (const QString &s) |
void | update_phone (const QString &s) |
void | update_email (const QString &s) |
void | update_licensetype (const QString &s) |
Private Member Functions | |
void | update_screen (void) |
void | load_current (void) |
QString | titleCase (const QString &) |
void | request (void) |
bool | save (void) |
Private Attributes | |
QPushButton * | pb_cancel |
QPushButton * | pb_save |
QPushButton * | pb_help |
QPushButton * | pb_load |
QPushButton * | pb_request |
QPushButton * | pb_import |
QString | firstname |
QString | lastname |
QString | institution |
QString | address |
QString | city |
QString | state |
QString | zip |
QString | phone |
QString | |
QString | os |
QString | platform |
QString | version |
QString | licensetype |
QString | validation |
QString | expiration |
QLineEdit * | le_firstname |
QLineEdit * | le_lastname |
QLineEdit * | le_institution |
QLineEdit * | le_address |
QLineEdit * | le_city |
QLineEdit * | le_zip |
QLineEdit * | le_phone |
QLineEdit * | le_email |
QLineEdit * | le_platform |
QLineEdit * | le_expiration |
QLineEdit * | le_registration |
QLabel * | lbl_version |
QLabel * | lbl_platform |
QLabel * | lbl_expiration |
QLabel * | lbl_valid |
QComboBox * | cbb_state |
QComboBox * | cbb_os1 |
QComboBox * | cbb_version |
QComboBox * | cbb_licensetype |
US_Help | online_help |
QStringList | states |
QStringList | types |
bool | updating_email |
QPushButton * | pb_update |
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... | |
Manage a user's UltraScan license.
This class allows a user to set license data either manually or via import of a mail message.
Definition at line 31 of file us_license.h.
US_License::US_License | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | flags = 0 |
||
) |
Set up Gui page for license import.
The constructor creates all needed widgets and provides appropriate connections to save the license via US_Settings.
parent | A pointer to the parent widget. This normally can be left as NULL. |
flags | An enum value that describes the window properties. This normally can be left as 0 (Qt::Widget). |
Definition at line 10 of file gui/us_license.cpp.
|
inline |
A null destructor.
Definition at line 48 of file us_license.h.
|
privateslot |
Definition at line 283 of file gui/us_license.cpp.
|
private |
Definition at line 311 of file gui/us_license.cpp.
|
private |
Definition at line 532 of file gui/us_license.cpp.
|
privateslot |
Definition at line 569 of file gui/us_license.cpp.
|
private |
Definition at line 596 of file gui/us_license.cpp.
|
private |
Definition at line 288 of file gui/us_license.cpp.
|
privateslot |
Definition at line 650 of file gui/us_license.cpp.
|
privateslot |
Definition at line 427 of file gui/us_license.cpp.
|
inlineprivateslot |
Definition at line 119 of file us_license.h.
|
inlineprivateslot |
Definition at line 120 of file us_license.h.
|
inlineprivateslot |
Definition at line 124 of file us_license.h.
|
inlineprivateslot |
Definition at line 116 of file us_license.h.
|
inlineprivateslot |
Definition at line 118 of file us_license.h.
|
inlineprivateslot |
Definition at line 117 of file us_license.h.
|
inlineprivateslot |
Definition at line 125 of file us_license.h.
|
inlineprivateslot |
Definition at line 123 of file us_license.h.
|
privateslot |
Definition at line 502 of file gui/us_license.cpp.
|
private |
Definition at line 356 of file gui/us_license.cpp.
|
inlineprivateslot |
Definition at line 121 of file us_license.h.
|
inlineprivateslot |
Definition at line 122 of file us_license.h.
|
private |
Definition at line 61 of file us_license.h.
|
private |
Definition at line 94 of file us_license.h.
|
private |
Definition at line 92 of file us_license.h.
|
private |
Definition at line 91 of file us_license.h.
|
private |
Definition at line 93 of file us_license.h.
|
private |
Definition at line 62 of file us_license.h.
|
private |
Definition at line 66 of file us_license.h.
|
private |
Definition at line 72 of file us_license.h.
|
private |
Definition at line 58 of file us_license.h.
|
private |
Definition at line 60 of file us_license.h.
|
private |
Definition at line 59 of file us_license.h.
|
private |
Definition at line 88 of file us_license.h.
|
private |
Definition at line 87 of file us_license.h.
|
private |
Definition at line 89 of file us_license.h.
|
private |
Definition at line 86 of file us_license.h.
|
private |
Definition at line 77 of file us_license.h.
|
private |
Definition at line 78 of file us_license.h.
|
private |
Definition at line 81 of file us_license.h.
|
private |
Definition at line 83 of file us_license.h.
|
private |
Definition at line 74 of file us_license.h.
|
private |
Definition at line 76 of file us_license.h.
|
private |
Definition at line 75 of file us_license.h.
|
private |
Definition at line 80 of file us_license.h.
|
private |
Definition at line 82 of file us_license.h.
|
private |
Definition at line 84 of file us_license.h.
|
private |
Definition at line 79 of file us_license.h.
|
private |
Definition at line 70 of file us_license.h.
|
private |
Definition at line 96 of file us_license.h.
|
private |
Definition at line 67 of file us_license.h.
|
private |
Definition at line 48 of file us_license.h.
|
private |
Definition at line 53 of file us_license.h.
|
private |
Definition at line 56 of file us_license.h.
|
private |
Definition at line 54 of file us_license.h.
|
private |
Definition at line 55 of file us_license.h.
|
private |
Definition at line 52 of file us_license.h.
|
private |
Definition at line 101 of file us_license.h.
|
private |
Definition at line 65 of file us_license.h.
|
private |
Definition at line 68 of file us_license.h.
|
private |
Definition at line 63 of file us_license.h.
|
private |
Definition at line 98 of file us_license.h.
|
private |
Definition at line 99 of file us_license.h.
|
private |
Definition at line 100 of file us_license.h.
|
private |
Definition at line 71 of file us_license.h.
|
private |
Definition at line 69 of file us_license.h.
|
private |
Definition at line 64 of file us_license.h.