--===============3549209205660690330== Content-Type: multipart/alternative; boundary="===============5997733602848555233==" --===============5997733602848555233== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable > On Feb. 19, 2012, 9:26 a.m., Aaron J. Seigo wrote: > > ... oh, and it needs a better name. :) Actually I used "multiload" internally just before submitting the diff, but= "load" is a bit misleading. Multigraph? Oldschool-graph? Vintage-monitor? I'll be fine with any name really :) - rhn ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/104015/#review10740 ----------------------------------------------------------- On Feb. 18, 2012, 6:16 p.m., rhn rhn wrote: > = > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://git.reviewboard.kde.org/r/104015/ > ----------------------------------------------------------- > = > (Updated Feb. 18, 2012, 6:16 p.m.) > = > = > Review request for Plasma. > = > = > Description > ------- > = > A plasmoid intended to be used on a panel. Inspired by gnome-multiload-ap= plet and gkrellm. > = > Before I decided to write this plasmoid, I considered other monitors. Her= e's what I found: > - system-monitor: > * not pixel-perfect: it uses antialiasing and Bezier curves > * in stacking mode, it adds a few pixels to all values, so a 0 network= throughput still shows 2 belts. > * impossible to read at a glance due to low contrast and no custom col= ors > * shows only basic properties > * graphs change features depending on size > * deal-breaker: impossible to set custom height or width > - system-load-viewer: almost there, but no history display > - The Only Right RAM Monitor: too slow and RAM only > = > This plasmoid attempts to solve all those problems while introducing new = ones :) > What's fixed in this one: > - many graphs in one applet > - graphs laid out on a grid > - forces graph width or height (depending on mode) > - can force row or column number (depending on mode) > - arbitrary colors for all graph types > - pixel-perfect > - handles runtime CPU/network addition/removal (CPU untested) > = > Other stuff: > - labels only for network interfaces > - resizable labels > - network transmit graph stacks on top > - C++, a monitor should measure resources, not use them > - no way to disable graphs :) > - no way to reorder graphs > - network interfaces are not sorted > - all CPUs are displayed > - can't change colors for a distinct graph > - will not fit in container if the wrong layout params are selected (forc= ing a dimension to be more than available) > - the original idea was to synchronize all readings, but it seems impossi= ble with plasma data engines > = > It's my first project in Qt, so the code will not be as nice as it could = be. I rewrote the plotter and the layout, so those are the most likely to c= ontain errors/memory leaks. Also, I don't know which of the above problems = need to be solved and which decisions are acceptable, but I'll happily appl= y all fixes to make this accepted. > = > = > Diffs > ----- > = > applets/CMakeLists.txt 1e1ef75 = > applets/graphmon/CMakeLists.txt PRE-CREATION = > applets/graphmon/color-config.ui PRE-CREATION = > applets/graphmon/cpuload.h PRE-CREATION = > applets/graphmon/cpuload.cpp PRE-CREATION = > applets/graphmon/general-config.ui PRE-CREATION = > applets/graphmon/graphmon.h PRE-CREATION = > applets/graphmon/graphmon.cpp PRE-CREATION = > applets/graphmon/netthroughput.h PRE-CREATION = > applets/graphmon/netthroughput.cpp PRE-CREATION = > applets/graphmon/plasma-applet-graphmon.desktop PRE-CREATION = > applets/graphmon/ramusage.h PRE-CREATION = > applets/graphmon/ramusage.cpp PRE-CREATION = > applets/graphmon/rigidgridlayout.h PRE-CREATION = > applets/graphmon/rigidgridlayout.cpp PRE-CREATION = > applets/graphmon/simpleplotter.h PRE-CREATION = > applets/graphmon/simpleplotter.cpp PRE-CREATION = > applets/graphmon/swapusage.h PRE-CREATION = > applets/graphmon/swapusage.cpp PRE-CREATION = > = > Diff: http://git.reviewboard.kde.org/r/104015/diff/ > = > = > Testing > ------- > = > Display, layout, configuration, persistence. > = > = > Screenshots > ----------- > = > Graph on panel and general config section > http://git.reviewboard.kde.org/r/104015/s/437/ > = > = > Thanks, > = > rhn rhn > = > --===============5997733602848555233== Content-Type: text/html; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable
This is an automatically generated e-mail. To reply, visit: http://git.revie= wboard.kde.org/r/104015/

On February 19th, 2012, 9:26 a.m., Aaron J.= Seigo wrote:

... oh, a=
nd it needs a better name. :)
Actually I =
used "multiload" internally just before submitting the diff, but =
"load" is a bit misleading. Multigraph? Oldschool-graph? Vintage-=
monitor?
I'll be fine with any name really :)

- rhn


On February 18th, 2012, 6:16 p.m., rhn rhn wrote:

Review request for Plasma.
By rhn rhn.

Updated Feb. 18, 2012, 6:16 p.m.

Descripti= on

A plasmoid intended to be used on a panel. Inspired by gnome=
-multiload-applet and gkrellm.

Before I decided to write this plasmoid, I considered other monitors. Here&=
#39;s what I found:
- system-monitor:
   * not pixel-perfect: it uses antialiasing and Bezier curves
   * in stacking mode, it adds a few pixels to all values, so a 0 network t=
hroughput still shows 2 belts.
   * impossible to read at a glance due to low contrast and no custom colors
   * shows only basic properties
   * graphs change features depending on size
   * deal-breaker: impossible to set custom height or width
- system-load-viewer: almost there, but no history display
- The Only Right RAM Monitor: too slow and RAM only

This plasmoid attempts to solve all those problems while introducing new on=
es :)
What's fixed in this one:
- many graphs in one applet
- graphs laid out on a grid
- forces graph width or height (depending on mode)
- can force row or column number (depending on mode)
- arbitrary colors for all graph types
- pixel-perfect
- handles runtime CPU/network addition/removal (CPU untested)

Other stuff:
- labels only for network interfaces
- resizable labels
- network transmit graph stacks on top
- C++, a monitor should measure resources, not use them
- no way to disable graphs :)
- no way to reorder graphs
- network interfaces are not sorted
- all CPUs are displayed
- can't change colors for a distinct graph
- will not fit in container if the wrong layout params are selected (forcin=
g a dimension to be more than available)
- the original idea was to synchronize all readings, but it seems impossibl=
e with plasma data engines

It's my first project in Qt, so the code will not be as nice as it coul=
d be. I rewrote the plotter and the layout, so those are the most likely to=
 contain errors/memory leaks. Also, I don't know which of the above pro=
blems need to be solved and which decisions are acceptable, but I'll ha=
ppily apply all fixes to make this accepted.

Testing <= /h1>
Display, layout, configuration, persistence.

Diffs=

  • applets/CMakeLists.txt (1e1ef75)
  • applets/graphmon/CMakeLists.txt (PRE-CREAT= ION)
  • applets/graphmon/color-config.ui (PRE-CREA= TION)
  • applets/graphmon/cpuload.h (PRE-CREATION)<= /span>
  • applets/graphmon/cpuload.cpp (PRE-CREATION= )
  • applets/graphmon/general-config.ui (PRE-CR= EATION)
  • applets/graphmon/graphmon.h (PRE-CREATION)=
  • applets/graphmon/graphmon.cpp (PRE-CREATIO= N)
  • applets/graphmon/netthroughput.h (PRE-CREA= TION)
  • applets/graphmon/netthroughput.cpp (PRE-CR= EATION)
  • applets/graphmon/plasma-applet-graphmon.desktop (PRE-CREATION)
  • applets/graphmon/ramusage.h (PRE-CREATION)=
  • applets/graphmon/ramusage.cpp (PRE-CREATIO= N)
  • applets/graphmon/rigidgridlayout.h (PRE-CR= EATION)
  • applets/graphmon/rigidgridlayout.cpp (PRE-= CREATION)
  • applets/graphmon/simpleplotter.h (PRE-CREA= TION)
  • applets/graphmon/simpleplotter.cpp (PRE-CR= EATION)
  • applets/graphmon/swapusage.h (PRE-CREATION= )
  • applets/graphmon/swapusage.cpp (PRE-CREATI= ON)

View Diff

Screensho= ts

3D"Graph
--===============5997733602848555233==-- --===============3549209205660690330== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --===============3549209205660690330==--