Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK Beginning Linux Programming, 3rd Edition
This is the forum to discuss the Wrox book Beginning Linux Programming, 2nd Edition by Richard Stones, Neil Matthew, Alan Cox; ISBN: 9780764543739
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK Beginning Linux Programming, 3rd Edition section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 4th, 2006, 02:43 AM
Registered User
Join Date: Jan 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default how do i design items in QIconView

hi all,

I am a beginner in qt programming. I have come across a problem while
developing a chat server.

I want to get different functions called by clicking different items
in qiconview. Example : one click on the item in the qiconview a new
window has to be opened

My code is:

QIconViewItem *item=new QIconViewItem(iv,result,QPixmap("/home/sindhu/BuddyList/offline.gif" ) );
connect(iv,SIGNAL(clicked(QIconViewItem*)),this,SL OT(itemDoubleClicked(QIconViewItem*)));
void BList::itemDoubleClicked(QIconViewItem *item)
   QMessageBox::warning( this,"check","hi");

During qmake of the project i am getting the following messages:
.ui/Blist.h:31:`QIconViewItem' was not declared in this scope
.ui/Blist.h:31: `item' was not declared in this scope
.ui/Blist.h:31: invalid data member initialization
.ui/Blist.h:31: (use `=' to initialize static data members)
.ui/Blist.h:31: variable or field `itemDoubleClicked' declared void
.ui/Blist.h:31: `itemDoubleClicked' declared as a `virtual' field

I request you to solve the problem.

Thanking you,
With warm regards,

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add Items Chacko Visual C++ 0 April 5th, 2007 12:42 PM
Design patterns for web design ceadge HTML Code Clinic 0 June 19th, 2006 11:26 AM
Appointment Items tucker Access VBA 0 March 23rd, 2005 09:09 AM
Java Design issue with UML and Design Patterns the_logical_way Apache Tomcat 0 May 31st, 2004 04:02 AM
displaying 6 items only having 20 items Lakshmi KS VB Components 1 February 17th, 2004 10:34 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.