Results 1 to 5 of 5

Thread: qt binding?

  1. #1
    Join Date
    Nov 2012
    Posts
    38
    Thanks
    3

    Default qt binding?

    hello.
    Is possible in qt bind a textedit control or other single value control to a model?
    also if the model have only a row ?

    And if the model have more than one row is possible navigate between the record of the model(row 1,row 2,row 3 have different content).
    Thanks.

    ps.
    there are some examples of dialog with master/detail , is useful specially in db application,
    thanks

  2. #2
    Join Date
    Nov 2012
    Posts
    38
    Thanks
    3

    Default Re: qt binding?

    qt don't support control binding to model for one field control(like editbox)?
    and a cursor for model for change runtime binding the editbox to the next record(next row)?

    thanks.

  3. #3
    Join Date
    Nov 2012
    Posts
    38
    Thanks
    3

    Default Re: qt binding?

    is not possible?
    thanks.

  4. #4
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: qt binding?

    qt model/view framework
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  5. #5
    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: qt binding?

    Quote Originally Posted by giugio View Post
    qt don't support control binding to model for one field control(like editbox)?
    and a cursor for model for change runtime binding the editbox to the next record(next row)?

    thanks.
    Have a look at QDataWidgetMapper.
    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.


Similar Threads

  1. binding text in QMl to c++
    By rajeshk.ict in forum Newbie
    Replies: 1
    Last Post: 16th March 2012, 08:40
  2. simple data binding
    By Midek in forum Newbie
    Replies: 1
    Last Post: 14th July 2011, 03:23
  3. Using binding to select on null or value
    By Mookie in forum Qt Programming
    Replies: 4
    Last Post: 26th June 2011, 14:05
  4. QUdpSocket binding
    By db in forum Qt Programming
    Replies: 0
    Last Post: 13th March 2008, 11:24
  5. binding
    By mickey in forum General Discussion
    Replies: 9
    Last Post: 26th September 2006, 21:54

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.