Results 1 to 4 of 4

Thread: Graphic evaluation

  1. #1
    Join Date
    Feb 2008
    Posts
    21
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Graphic evaluation

    Hello @all,
    Iam a new here and greet all.

    Problem:
    I calculate the free / used disk space on linux systems by parsing df -h, now i'll show these data in graphic bars.

    I've created two frames in the Qt-Designer, a "master"-frame and an inner frame.
    The master-frame has a fix size. The inner frame has a variable size.

    Example:
    master-frame size = 400px.
    inner-frame size = 200px with background-color.

    These looks, the hdd is 50% used.

    Iam searching for another method to display the graphic overview as QFrames,
    have someone an idea?

    so long
    jd

    PS: sorry for my bad english

  2. #2
    Join Date
    Aug 2007
    Location
    Gorakhpur, India
    Posts
    254
    Thanks
    8
    Thanked 14 Times in 14 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Graphic evaluation

    You can use QProcess for this
    Anurag Shukla
    A man who never makes mistake is the man who never does anything! Theodre Rosvelt!

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Graphic evaluation

    Quote Originally Posted by jd View Post
    Iam searching for another method to display the graphic overview as QFrames,
    have someone an idea?
    How about using a QProgressBar? You can even style it using stylesheets to get the desired look.

  4. #4
    Join Date
    Feb 2008
    Posts
    21
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Graphic evaluation

    Thanks,

    it works fine and looks very nice.

    so long jd

Similar Threads

  1. QWinWidget and evaluation version
    By KoenTanghe in forum Installation and Deployment
    Replies: 4
    Last Post: 20th November 2007, 09:41
  2. QGraphicItem with vector graphic
    By jobrandt in forum Qt Programming
    Replies: 3
    Last Post: 3rd September 2007, 14:52
  3. QT 4.2.3 evaluation
    By steg90 in forum Qt-based Software
    Replies: 5
    Last Post: 30th May 2007, 14:47
  4. license key for evaluation version of Qt4.2
    By nimmyj in forum Installation and Deployment
    Replies: 2
    Last Post: 5th December 2006, 12:12
  5. How to restrict graphic items in view
    By aamer4yu in forum Qt Programming
    Replies: 4
    Last Post: 13th November 2006, 07:46

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.