Results 1 to 2 of 2

Thread: QCheckbox

  1. #1
    Join Date
    Feb 2008
    Posts
    47
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Post QCheckbox

    Hi,
    How to replace the below MFC function in Qt?

    QCheckbox ctrCheckbox;

    CDataExchange pDX;

    DDX_Control(pDX, IDC_B,ctrCheckbox)

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: QCheckbox

    It makes no sense to try porting an MFC app line by line to Qt. They are very much different toolkits so you have to port functionality instead. You have to find out yourself what does CDataExchange do and then start thinking what's the corresponding technique in Qt.
    J-P Nurmi

Similar Threads

  1. QItemDelegate and QCheckBox
    By KShots in forum Qt Programming
    Replies: 5
    Last Post: 19th November 2008, 01:49
  2. How QCheckBox into QListWidgetItem?
    By Teuniz in forum Qt Programming
    Replies: 3
    Last Post: 23rd July 2007, 21:31
  3. Replies: 1
    Last Post: 21st March 2007, 15:13
  4. qCheckbox back ground color
    By sreedhar in forum Qt Programming
    Replies: 1
    Last Post: 20th December 2006, 19:44
  5. Insert QCheckBox into QTableView
    By wind in forum Qt Programming
    Replies: 3
    Last Post: 8th October 2006, 17:15

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.