pcp
[Top] [All Lists]

pcp-gui updates: global-font & saved-host preferences

To: PCP Mailing List <pcp@xxxxxxxxxxx>
Subject: pcp-gui updates: global-font & saved-host preferences
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon, 3 Mar 2014 00:12:16 -0500 (EST)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <158296369.19409515.1393823444511.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: knueeJou65l4Rq/jz8qqQhigvf+wLA==
Thread-topic: pcp-gui updates: global-font & saved-host preferences
Changes committed to git://oss.sgi.com/pcp/pcp-gui.git dev

 src/chart/chart.cpp          |   32 +-
 src/chart/chart.h            |    2 
 src/chart/gadget.h           |    1 
 src/chart/hostdialog.cpp     |   16 +
 src/chart/hostdialog.h       |    3 
 src/chart/main.cpp           |  115 ++++++++--
 src/chart/main.h             |   16 +
 src/chart/pmchart.cpp        |   17 +
 src/chart/pmchart.h          |    1 
 src/chart/settingsdialog.cpp |  483 +++++++++++++++++++++++++++++++++----------
 src/chart/settingsdialog.h   |   29 ++
 src/chart/settingsdialog.ui  |  445 +++++++++++++++++++++++++++++++++++++--
 src/chart/statusbar.cpp      |   15 -
 src/chart/statusbar.h        |    1 
 src/chart/timeaxis.cpp       |    5 
 src/chart/timeaxis.h         |    1 
 16 files changed, 1011 insertions(+), 171 deletions(-)

commit 7fdde427947c94ee51947eb25e96727adf6e98aa
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon Mar 3 16:09:34 2014 +1100

    Add support for a global font preference setting
    
    The Font preference tab is now fully functional - this
    tab allows one to modify font family, style and size on
    the fly and to remember that setting for future pmchart
    invocations.  It has immediate effect.
    
    Some additional work is done in preference save/restore
    code to clear settings if the match the defaults.  We
    should do this kind of thing for the other preferences
    also, but that is left as an exercise for another day.
    
    Resolves Red Hat bugzilla #1069943.

commit 8268b91bee6d1b2e4f5c5539519b4190f06bfae0
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Sat Mar 1 08:05:44 2014 +1100

    Add preference setting save/restore for saved hosts and fonts
    
    The concept of a "Saved Hosts" list is introduced into pmchart.
    This list is intended to be useful for remembering an oft-used
    set of hosts (perhaps a local cluster) such that the hostnames
    to not need to be added via command line or interaction every
    time pmchart is invoked.
    
    This list can be interactively modified (hosts added & culled)
    using the Hosts tab on the preference dialog.  A new -H option
    (using pmstat convention) is added to allow the list to be set
    using the command line too.
    
    Some work for remembering the users prefered font setting is
    also included in this commit, bit too intertwined to extract.
    
    Resolves Red Hat bugzilla #1069947.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp-gui updates: global-font & saved-host preferences, Nathan Scott <=