Results 1 to 4 of 4

Thread: How to disable individual members of a QHash and QList?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2011
    Posts
    22
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Maemo/MeeGo

    Default How to disable individual members of a QHash and QList?

    In my project i have a widget which have a QHash vector table and QList on it.I want to access each individual members of the QHash and QList and then disable the members.But i don't get any function to disable the members.

    Code:

    Qt Code:
    1. for(index=0;index<screen.children.count;index++)
    2. {
    3.  
    4. screen.children.at(index).?
    5.  
    6. }
    To copy to clipboard, switch view to plain text mode 

    Here screen is a QWidget. In Qwidget class we have a function called setdisabled which can be used to disable the whole widget but how to disable the individual members?
    Last edited by Lykurg; 21st July 2011 at 08:12. Reason: missing [code] tags

Similar Threads

  1. Replies: 6
    Last Post: 22nd March 2011, 15:17
  2. QList < QHash < int, QString> > ... clear() is slow
    By JoZCaVaLLo in forum Qt Programming
    Replies: 8
    Last Post: 15th March 2011, 11:07
  3. Replies: 4
    Last Post: 20th August 2010, 13:54
  4. Can QHash::capacity() be smaller than QHash::size()?!?
    By iw2nhl in forum Qt Programming
    Replies: 2
    Last Post: 24th August 2007, 01:17
  5. Query about QHash , QList
    By aamer4yu in forum Qt Programming
    Replies: 3
    Last Post: 14th December 2006, 09:04

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.