Results 1 to 1 of 1

Thread: Need advice: want to create a "data table" where each row consists of several differe

  1. #1
    Join Date
    Nov 2010
    Posts
    1
    Qt products
    Qt3

    Default Need advice: want to create a "data table" where each row consists of several differe

    Hi all

    First: I'm not very experienced with Qt, and the version I'm (stuck) using is Qt3.

    I want to create a form containing a grid. The columns should have headings, and each "normal" row will be equal (widget wise). Then the user is supposed to press a button to add a new row, and then fill out and chose the values in the row. Also worth mentioning is that the "state" of the table should only be persisted when pressing an apply-button, saving all rows.

    Each row should contain a checkbox (enabled/disabled), a label, a combobox, and two text fields. Also there should be a button for deleting the row.

    I'm not sure how to attack this problem. I've started out creating the row as a hbox containing the wanted widgets, and adding each row to a vbox. Now I'm unsure if this is wise to do as I'm about to add the headings.

    I hope this makes at least a little sense. I would really appreciate some advice regarding choice of widgets and structure/hierarchy of the composition.
    Last edited by l3dx; 12th November 2010 at 11:54.

Similar Threads

  1. Replies: 1
    Last Post: 7th April 2010, 21:46
  2. Replies: 3
    Last Post: 25th August 2009, 13:03
  3. Replies: 1
    Last Post: 16th July 2009, 02:25
  4. Translation QFileDialog standart buttons ("Open"/"Save"/"Cancel")
    By victor.yacovlev in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2008, 19:05
  5. Replies: 11
    Last Post: 10th July 2007, 15:58

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.