Results 1 to 10 of 10

Thread: Use of same widget for display and edit in model-view

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2011
    Posts
    4
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Use of same widget for display and edit in model-view

    Hey, thanks for the reply.
    I understand the problem you described.

    However, I have a problem in hand to solve it where in I thought of using the QTableView.

    (see the attachment)

    Can you provide me some input how this can be achived in Qt?
    Attached Images Attached Images

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

    Default Re: Use of same widget for display and edit in model-view

    Qt Code:
    1. <Vertical Layout >
    2. < Horizontal layout >
    3. <line edit>
    4. < check box >
    5. < Horizontal layout >
    6. <line edit>
    7. < check box >
    To copy to clipboard, switch view to plain text mode 
    Get the idea ?
    Use above layout in QScrollArea...
    Last edited by aamer4yu; 12th February 2011 at 07:17.

Similar Threads

  1. Replies: 8
    Last Post: 6th May 2010, 11:17
  2. QTableView - model / view pattern - layout, edit
    By vlastagf in forum Qt Programming
    Replies: 4
    Last Post: 1st August 2009, 22:42
  3. Problems to display a QFont in a View/Model correctly
    By NoRulez in forum Qt Programming
    Replies: 0
    Last Post: 8th July 2009, 12:26
  4. Replies: 1
    Last Post: 16th January 2008, 11:48
  5. Model-view: Display items in different ways
    By taboom in forum Qt Programming
    Replies: 3
    Last Post: 13th August 2007, 19:05

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.