
Color gradient generator; output is color steps XML file. More...
#include "us_colorgradient.h"


Public Slots | |
| void | show_gradient (void) |
Public Member Functions | |
| US_ColorGradient (QWidget *=0, Qt::WindowFlags=0) | |
| The constructor creates various controls for the main window. 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 | c_click (int) |
| void | c_cnt_change (double) |
| void | update_steps (double) |
| void | load_gradient (void) |
| void | save_gradient (void) |
| void | safe_close (void) |
| void | update_banner (void) |
| void | reset (void) |
| void | help (void) |
Private Attributes | |
| bool | have_load |
| bool | have_save |
| bool | new_mods |
| bool | is_reset |
| int | width_lb |
| int | height_lb |
| int | margin |
| US_Help | showHelp |
| QLabel * | lb_banner1 |
| QLabel * | lb_nsteps |
| QLabel * | lb_gradient |
| QPushButton * | pb_help |
| QPushButton * | pb_reset |
| QPushButton * | pb_load |
| QPushButton * | pb_show |
| QPushButton * | pb_save |
| QPushButton * | pb_close |
| MyButton * | pb_c [11] |
| QwtCounter * | ct_c [11] |
| QwtCounter * | ct_nsteps |
| QwtCounter * | ct_stindex |
| QPixmap * | pm_gradient |
| QString | in_filename |
| QString | out_filename |
| QString | img_filename |
| QString | grad_dir |
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... | |
Color gradient generator; output is color steps XML file.
This class provides the top level window for creating a color gradient file. It allows specifying color steps, each one with a number of points and an end color. A start color is also specified. Output is an XML file that specifies color step parameters, from which a full color gradient can be derived.
Definition at line 41 of file us_colorgradient.h.
| US_ColorGradient::US_ColorGradient | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | flags = 0 |
||
| ) |
The constructor creates various controls for the main window.
| 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 44 of file us_colorgradient.cpp.
|
privateslot |
Definition at line 171 of file us_colorgradient.cpp.
|
privateslot |
Definition at line 187 of file us_colorgradient.cpp.
|
inlineprivateslot |
Definition at line 106 of file us_colorgradient.h.
|
privateslot |
Definition at line 365 of file us_colorgradient.cpp.
|
privateslot |
Definition at line 195 of file us_colorgradient.cpp.
|
privateslot |
Definition at line 332 of file us_colorgradient.cpp.
|
privateslot |
Definition at line 212 of file us_colorgradient.cpp.
|
slot |
Definition at line 495 of file us_colorgradient.cpp.
|
privateslot |
Definition at line 624 of file us_colorgradient.cpp.
|
privateslot |
Definition at line 477 of file us_colorgradient.cpp.
|
private |
Definition at line 80 of file us_colorgradient.h.
|
private |
Definition at line 82 of file us_colorgradient.h.
|
private |
Definition at line 83 of file us_colorgradient.h.
|
private |
Definition at line 90 of file us_colorgradient.h.
|
private |
Definition at line 56 of file us_colorgradient.h.
|
private |
Definition at line 57 of file us_colorgradient.h.
|
private |
Definition at line 62 of file us_colorgradient.h.
|
private |
Definition at line 89 of file us_colorgradient.h.
|
private |
Definition at line 87 of file us_colorgradient.h.
|
private |
Definition at line 59 of file us_colorgradient.h.
|
private |
Definition at line 67 of file us_colorgradient.h.
|
private |
Definition at line 69 of file us_colorgradient.h.
|
private |
Definition at line 68 of file us_colorgradient.h.
|
private |
Definition at line 63 of file us_colorgradient.h.
|
private |
Definition at line 58 of file us_colorgradient.h.
|
private |
Definition at line 88 of file us_colorgradient.h.
|
private |
Definition at line 78 of file us_colorgradient.h.
|
private |
Definition at line 76 of file us_colorgradient.h.
|
private |
Definition at line 71 of file us_colorgradient.h.
|
private |
Definition at line 73 of file us_colorgradient.h.
|
private |
Definition at line 72 of file us_colorgradient.h.
|
private |
Definition at line 75 of file us_colorgradient.h.
|
private |
Definition at line 74 of file us_colorgradient.h.
|
private |
Definition at line 85 of file us_colorgradient.h.
|
private |
Definition at line 65 of file us_colorgradient.h.
|
private |
Definition at line 61 of file us_colorgradient.h.
1.8.3.1-20130324