Results 1 to 2 of 2

Thread: Problem with doubleClicked in QListView with Qt 4.2.2

  1. #1
    Join Date
    May 2007
    Posts
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Red face Problem with doubleClicked in QListView with Qt 4.2.2

    Hi,

    I am programming in C++ on WinXP, using Qt4.2.2

    What I am trying to do is open another form after a QListView item has been double clicked.

    I am using model and delegates. When i am trying to use this signal
    void QAbstractItemView::doubleClicked ( const QModelIndex & index )
    it seems it does not works.

    Earlier with Qt 4.1.4 it is working and from then i haven't changed my code.
    Can someone help me?

    Regards
    Gaurav Agarwal

  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: Problem with doubleClicked in QListView with Qt 4.2.2

    Does connect() output any warning? Mind showing relevant code?
    J-P Nurmi

Similar Threads

  1. problem after Qt 4.2.2 static build
    By npc in forum Newbie
    Replies: 2
    Last Post: 23rd February 2007, 12:28
  2. My Mysql 5 and Qt 4.2.2 Problem (Driver not loaded)
    By fengtian.we in forum Qt Programming
    Replies: 4
    Last Post: 9th February 2007, 08:11
  3. qt desginer 4.2.2 problem on win_xp_sp2
    By eemil in forum Installation and Deployment
    Replies: 2
    Last Post: 28th December 2006, 12:57
  4. Problem with drag&drop in qlistview
    By mambo in forum Qt Programming
    Replies: 2
    Last Post: 11th September 2006, 16:14
  5. QListView & backgroundBrush -> Houston we hv a problem
    By travis in forum Qt Programming
    Replies: 3
    Last Post: 31st July 2006, 07:13

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.