473,387 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

some stuff about Qt + urgent help

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.

Jul 23 '05 #1
2 1186
maadhuu wrote:
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.

Jul 23 '05 #2
On 2005-05-21, Rolf Magnus <ra******@t-online.de> wrote:
maadhuu wrote:
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?


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,
--
Donovan Rebbechi
http://pegasus.rutgers.edu/~elflord/
Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Vibhajha | last post by:
Hi friends, My sister is in great problem , she has this exam of C++ and she is stuck up with some questions, if friends like this group provides some help to her, she will be very grateful....
2
by: Dimitri | last post by:
PLEASE HELP,I HAVE A DATABSE WITH MULTIPLE RECORDS AS OUTLINED BELOW EMP NO LEVEL NEXTINCREASE WAGETYPE UNIT 1000 1 0 1000 1000 1 0 1002 ...
26
by: Michael A. Covington | last post by:
Suppose class X has some public properties, and class Y inherits from X. Is there a way that some of the public properties of X can be private (hidden) in Y (but still usable by the methods...
0
by: Joey Martin | last post by:
This is urgent, so any quick help is much appreciated!!!! I have an ASP page that pulls data from a SQL table and puts it into a basic html table. This is basic stuff. I moved my pages from a...
2
by: Max Power | last post by:
Hi All I am coding a small app in that swaps specific files between a client and server. All files and locations are set at both sides. I want my app to show a file list, based on the file...
17
by: Saps | last post by:
Hi all. Can anyone help me here. I have loads of .sql files and i need a way to call these from my asp page so the user can run them from the browser. Meaning i have a page with a list of all...
1
by: AnanthaMarella | last post by:
Dear Friends, Hi Getting problem when i try to keep one of my VB DLL object in ASP Sessions. here is the sample code, i am creating object for Rational Clear Quest Bug Tracking tool (IBM tool) ...
3
by: | last post by:
Can someone point me to some good info on how to do somoe simple animation on a form. Specifically, I want to have some tiles that when they are clicked, they flip over in place and reveal a...
4
by: Michael | last post by:
I have a repeater web control. Currently I want to change some row's color based on defined condition. Is there any code sample demonstrating how to accomplish it? Thanks.
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.