Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Nov 2008

    Which view should I use?

    Here I am again.
    This time I want to write a program like the Note program in nokia phone. Below it is the picture of the Note program. I want to write a program with the check-mark. However, I donot know which view I should use. Is the QListView or the QTableView more suitable? And how shall I do to program the check-mark?
    Thanks and here is the picture.

  2. #2
    Super Contributor
    Join Date
    Oct 2009

    Re: Which view should I use?

    You can use QListWidgetItem::setCheckState(Qt::CheckState state) with QListWidget. In case you are using QListView, then you need to set Qt::CheckStateRole for the item using QAbstractItemModel::setData(const QModelIndex & index, const QVariant & value, int role).

  3. #3
    Registered User
    Join Date
    Nov 2008

    Re: Which view should I use?

    Thank you.

Similar Threads

  1. Multi View problem
    By hendrawan.ashari in forum Symbian
    Replies: 3
    Last Post: 2008-02-27, 06:02
  2. Go back to caller view...
    By VinodRaut in forum Symbian User Interface
    Replies: 4
    Last Post: 2007-05-11, 14:22
  3. View changing
    By ckt in forum Symbian
    Replies: 7
    Last Post: 2007-02-22, 13:02
  4. Trigger event after view is Activated?
    By inc0gn1t007 in forum Symbian
    Replies: 0
    Last Post: 2006-03-29, 02:55
  5. Replies: 1
    Last Post: 2005-10-17, 04:23

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts