I have designed a dialog in Qt designer and I want to use the name of each child widget for some coding in cpp file. But the names I have given to buttons etc in Qt designer are not working as pointer.More over their names in ui_mydialogname.h are not the one i gave them in Designer. Even when I use the name assigned to them the suggestion window won't popup. What do I do?
C++ programmer
0
Light Poster
Recommended Answers
Jump to PostDo you have a simple example of the problem that you have? Post some of your code. It's hard to suggest anything when no-one can see how you're using things...
Jump to PostEy mate... I use QT myself... how do you compile your program into a VCproject?
I personally use qmake command in command prompt, if this is how you do it as well just run it again with the application closed and it should update all the ui changes into …
Jump to PostSo my question is this true and if this definition also goes for a function's local pointers.
No, you still have to call
delete
on anything that you choose tonew
in a function. In fact, I think that Qt only deletes certain pointers and only if you have the …
Jump to PostCan i do like this
QString ch=first; // where first is also QStringI don't think so, since the
ch=ch.unicode()+1
line probably won't work as expected for aQString
, compared to aQChar
. It's also possible that yourch
could be changed later in the code to be …
All 16 Replies
ravenous
266
Posting Pro in Training
Eagletalon
34
Junior Poster in Training
C++ programmer
0
Light Poster
Eagletalon
34
Junior Poster in Training
C++ programmer
0
Light Poster
C++ programmer
0
Light Poster
ravenous
266
Posting Pro in Training
Eagletalon
34
Junior Poster in Training
C++ programmer
0
Light Poster
Eagletalon
34
Junior Poster in Training
C++ programmer
0
Light Poster
C++ programmer
0
Light Poster
ravenous
266
Posting Pro in Training
C++ programmer
0
Light Poster
ravenous
266
Posting Pro in Training
C++ programmer
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.