Results 1 to 6 of 6

Thread: Problem with design interface

  1. #1
    Join Date
    Mar 2010
    Location
    ~/
    Posts
    4
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Problem with design interface

    I designed this form. The second column I wrote the words that I am not able to do a great location to place it occurs Full text
    Text column two is : FULL: Name & Family
    I have photo attachment.






    ------------------------------------
    debian forums
    Attached Images Attached Images
    Last edited by tux-world; 10th March 2010 at 13:02.

  2. #2
    Join Date
    Mar 2008
    Location
    France
    Posts
    149
    Thanks
    2
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problem with design interface

    Which widget are you using? It looks like A QTableWidget.
    If so QTableView::resizeColumnToContents ( int column ) may be of some help.

  3. The following user says thank you to toutarrive for this useful post:

    tux-world (10th March 2010)

  4. #3
    Join Date
    Mar 2010
    Location
    ~/
    Posts
    4
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Problem with design interface

    Thanks. Did that answer. How to automatically do this work?

  5. #4
    Join Date
    Mar 2008
    Location
    France
    Posts
    149
    Thanks
    2
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problem with design interface

    What do you mean?

  6. #5
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problem with design interface

    May be you can try for QTableView::horizontalHeader ()->setResizeMode(QHeaderView::ResizeToContents);

  7. The following user says thank you to aamer4yu for this useful post:

    tux-world (10th March 2010)

  8. #6
    Join Date
    Mar 2008
    Location
    France
    Posts
    149
    Thanks
    2
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problem with design interface

    I got the point... thanks aamer4yu

Similar Threads

  1. a design problem in multithread programming
    By ryen in forum Qt Programming
    Replies: 4
    Last Post: 4th April 2009, 13:46
  2. Opengl/Qt Design Problem!
    By IcePic in forum Qt Programming
    Replies: 0
    Last Post: 3rd March 2009, 07:18
  3. Replies: 3
    Last Post: 5th October 2008, 23:41
  4. how to do interface for gdb
    By misiak in forum Qt Programming
    Replies: 2
    Last Post: 13th November 2006, 21:19
  5. Design problem/question
    By Valheru in forum Qt Programming
    Replies: 2
    Last Post: 27th September 2006, 21:45

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.