some stuff about Qt + urgent help

M

maadhuu

i am really sorry to ask another question regarding Qt.last time, 2 people
actually put up very helpful links...so this time , i seriously hope i
will get some help....plssssssssssss.
the problem is this:
i have a toolbar (using QToolBar) at the bottom, which has a set of colors
on them(been added thru QAction.)now, i am unable to detect which color is
being pressed...as of now,there are 16 colors there and one of the
solutions is to write 16 functions,which aree absolutely pointless i think
and hopeless programming coz' each one of them will have abs similar
functionality.
someone plssssssssssss help.
THANX A TON
ranjan.
 
R

Rolf Magnus

maadhuu said:
i am really sorry to ask another question regarding Qt.last time, 2 people
actually put up very helpful links...so this time , i seriously hope i
will get some help....plssssssssssss.

I would redirect you to another newsgroup if there was one in Usenet.
However, you also got some references to other forums/newsgroups at
trolltech. Did you try those?
the problem is this:
i have a toolbar (using QToolBar) at the bottom, which has a set of colors
on them(been added thru QAction.)now, i am unable to detect which color is
being pressed...as of now,there are 16 colors there and one of the
solutions is to write 16 functions,which aree absolutely pointless i think
and hopeless programming coz' each one of them will have abs similar
functionality.

Have a look at the QSignalMapper class.
 
D

Donovan Rebbechi

I would redirect you to another newsgroup if there was one in Usenet.
However, you also got some references to other forums/newsgroups at
trolltech. Did you try those?

His best bet on usenet would probably be the linux programming newsgroups.

But his best bet overall, especially since he seems to get stuck frequently, and
want to go for help, would be the Qt interest mailing list.

http://lists.trolltech.com/qt-interest/

I might also recommend the online documentation (-;

Cheers,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top