- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
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 … | |
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 … | |
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 … | |
Re: Holy cow kid. Can you give us a little more to work on then that? What error are you getting? | |
Re: 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 … | |
Re: Eclipse is nice. I really like the plugin system. It made developing for QT really easy. | |
Re: Valkyrie is a pretty nice front-end for ValGrind. and its free. [url]http://www.open-works.net/projects/valkyrie.html[/url] | |
Re: 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] | |
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 … | |
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 … | |
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 … | |
All this regex stuff has me really confused. How could I just replace all the occurrences of "\\" in a string with "\n"? | |
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? | |
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); … | |
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 … | |
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 … | |
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 … | |
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. … | |
Re: 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, … | |
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 … | |
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 … |