Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #4K
~10K People Reached
Favorite Tags
Member Avatar for Kob0724

I'm not sure if this is the best place for this thread, but it's the best I could come up with. I'm using a QT Style Sheet to style a radio button like this: [CODE] QRadioButton{ background:#5F7536; color:#CBF57D; font:bold; } [/CODE] It works fine except that in addition to changing …

Member Avatar for naresh4230
0
3K
Member Avatar for Kob0724

Hey guys, I have what I would consider a fairly unique problem. I'm not even sure where to start looking for a solution. I have template class that uses a typedef to define a map. But when I go to make an iterator for that map, I get a compile …

Member Avatar for siddhant3s
0
170
Member Avatar for Kob0724

I've been trying to compile a program I wrote with QT on a Mac for about a week now and I can't get it to work for the life of me. I'm very confused because the code compiles just fine on a linux machine using a core 2 duo, and …

Member Avatar for kmote
0
244
Member Avatar for sidatra79

Holy cow kid. Can you give us a little more to work on then that? What error are you getting?

Member Avatar for ivailosp
0
83
Member Avatar for Ccrobinson001
Member Avatar for adelsin

Well, you're going to need some functions and classes that obviously allow you to do network type things. C++ by default comes with none of these, (although I bet you could find some libraries or something out there). I suggest checking out Java. It's got tons of really hand stuff …

Member Avatar for adelsin
0
134
Member Avatar for Quarck

Eclipse is nice. I really like the plugin system. It made developing for QT really easy.

Member Avatar for Tigran
0
177
Member Avatar for kux

Valkyrie is a pretty nice front-end for ValGrind. and its free. [url]http://www.open-works.net/projects/valkyrie.html[/url]

Member Avatar for Kob0724
0
184
Member Avatar for xtr.eme

I think I may have exactly the cure for what ails ya'. If you're using QT, QT offers an excellent feature called QT Style Sheets. They're basically like CSS style sheets for QT Widgets. [URL="http://doc.trolltech.com/4.4/stylesheet.html"]Check this out[/URL]

Member Avatar for Kob0724
0
82
Member Avatar for Kob0724

I can not understand why I am getting this memory leak. First, here is the ouput from valgrind. [code] ==27078== 24 bytes in 1 blocks are definitely lost in loss record 45 of 827 ==27078== at 0x4A061A5: operator new(unsigned long) (vg_replace_malloc.c:167) ==27078== by 0x434B8F: ETArray::ETArray(QString const&, QWidget*) (etutils.cpp:343) ==27078== by …

Member Avatar for Ancient Dragon
0
185
Member Avatar for Kob0724

I keep getting this error: [QUOTE] debug/moc_funccntrlparams.o: In function `qt_noop()': /home/f07/xxx/QT/include/QtCore/qglobal.h:1425: multiple definition of `FuncCntrlParams::type_pairPotList' debug/interpotcntrlparams.o:/net/home/f07/xxx/workspace/tramontoGUI/interpotcntrlparams.cpp:95: first defined here [/QUOTE] But I'm not defining type_pairPotList any where in the interpotcntrlparams.cpp file. This is what my code looks like at line 95 in interpotcntrlparams.cpp. [CODE] #include "funccntrlparams.h" . . //line 91 …

Member Avatar for Kob0724
0
2K
Member Avatar for Kob0724

I"ll preface this with the fact I'm pretty new to C++ (my background is in Java, so having to deal with these pointers is proving to be a little confusing). I'm trying to iterate through a vector that I passed to a function. I can't get this code to work …

Member Avatar for Kob0724
0
262
Member Avatar for Kob0724

All this regex stuff has me really confused. How could I just replace all the occurrences of "\\" in a string with "\n"?

Member Avatar for Kob0724
0
130
Member Avatar for Kob0724

So for some reason I can't seem to set the background color of a JTabbedPane. This code: [code] metaTabPane = new JTabbedPane(); metaTabPane.setOpaque(true); metaTabPane.setBackground(Color.green); [/code] does nothing. The JTabbedPane stays the same grayish-blue default color. What am I doing wrong?

Member Avatar for Ezzaral
0
725
Member Avatar for Kob0724

I'm adding a few JLabels to a Box like this: [code] actor1=new JLabel(""); actor2=new JLabel(""); actor3=new JLabel(""); actor4=new JLabel(""); actor5=new JLabel(""); actor6=new JLabel(""); actor7=new JLabel(""); movie1=new JLabel(""); movie2=new JLabel(""); movie3=new JLabel(""); movie4=new JLabel(""); movie5=new JLabel(""); movie6=new JLabel(""); baconPath = Box.createVerticalBox(); baconPath.add(actor1); baconPath.add(movie1); baconPath.add(actor2); baconPath.add(movie2); baconPath.add(actor3); baconPath.add(movie3); baconPath.add(actor4); baconPath.add(movie4); baconPath.add(actor5); baconPath.add(movie5); …

Member Avatar for jwenting
0
178
Member Avatar for Kob0724

So I've got this jtable set up that displays the contents of an arraylist by use of the handy dandy table model (see code below). you'll notice it calls a method makeTableArray() (see code below) in order to figure out what the array that its going to use is. In …

Member Avatar for Ezzaral
0
239
Member Avatar for Kob0724

I was talking with someone and the subject of Image editing/creating came up. Photoshop came up within this conversation ofcourse, but this person also mentioned a program named GIMP. They said it was a good and free solution. Where can I get GIMP? Is it really a good program? I …

Member Avatar for dojo
0
325
Member Avatar for Kob0724

I gotta tell ya, I really like this program. I used it to make an 11 minute long school project and Iit was very easy to use. Drag and drop, crop the segment, add music, put in titles, its all very nice. I'm trying my hand at some more movie …

Member Avatar for Catweazle
0
126
Member Avatar for Kob0724

So I'm making this video in windows movie maker. I can save my movie maker file just fine but when ever I go to save it as a movie, you know compile everything I've done, the problems occur. It just can't do it. It gets stuck and doesn't do anything. …

0
146
Member Avatar for brycegordon

From what I know, if your looking to do full blown windows programs you probably wanna look into the Visual .NET framework. Thats what my C++ book said. Let me quote it: "Dev-C++ (the particular complier i'm using and one of the more popular ones) does generate Windows-compatiable 32-bit programs, …

Member Avatar for vegaseat
0
384
Member Avatar for Kob0724

So I had this nifty program on my calculator that I wrote that sloves quadratic equations for me. I decided it would be good practice to try and write it in C++. I've actually had 4 different versions, each one (atleast in my opinon) getting better than the last. When …

Member Avatar for Kob0724
0
331
Member Avatar for Kob0724

With school out and summer in full swing I decided to learn C++ in order to keep myself busy. I've been playing around and learning a lot. So far I've been able to make a program that solves quadratic equations! Alas, I've encountered a problem I can't figure out for …

Member Avatar for Narue
0
174