Results 1 to 5 of 5

Thread: Which data grid control to use in QT?

  1. #1
    Join Date
    Jan 2011
    Posts
    32
    Thanks
    11
    Thanked 2 Times in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Which data grid control to use in QT?

    Hi all,

    I am C++ programmer, using MFC for developing application. I used my own data grid control in applications.
    I have a need to develop application using QT and I need some information.

    * Which "Data grid control" do you think is better for me to use leading by your expirience ?
    * What software to use to design and generate reports from a data sources(something like crystal reports) ?

    Could you please help me?
    Thanks.

    Kind Regards

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Which data grid control to use in QT?

    * Which "Data grid control" do you think is better for me to use leading by your expirience ?
    Depends on your needs.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Jan 2011
    Posts
    32
    Thanks
    11
    Thanked 2 Times in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Which data grid control to use in QT?

    I am developing application that works with postgresql db. I need grid that will do db manipulation(reading and updating database) and shows tabels. I also need some printing class that will do print out of this grid(and other information by need).

  4. #4
    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: Which data grid control to use in QT?

    Widgets don't do database manipulation. Use QTableView.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Which data grid control to use in QT?

    I am developing application that works with postgresql db. I need grid that will do db manipulation(reading and updating database) and shows tabels.
    See the ModelView classes for that.
    It is a bit long if this is your first time looking at it, but you can't avoid reading it if you want to use it correctly.

    I also need some printing class that will do print out of this grid(and other information by need).
    See QPrinter for that.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. Grid control
    By sagirahmed in forum Newbie
    Replies: 1
    Last Post: 8th October 2010, 13:24
  2. Grid Minor Major and gap before the data
    By huseyinkozan in forum Qwt
    Replies: 3
    Last Post: 3rd August 2010, 12:13
  3. Replies: 1
    Last Post: 18th July 2010, 19:13
  4. slider control and combo box in grid view
    By steg90 in forum Qt Programming
    Replies: 13
    Last Post: 21st November 2007, 10:45
  5. IO Control Mechanism (Hardware Data Access)
    By rud_1023 in forum General Programming
    Replies: 2
    Last Post: 23rd October 2006, 12:50

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.