QToolButton & QPushButton
hi!
how can i remove the & in the QPushButoon and QToolButton name?
everytime i add new QToolButton or QPushButton, & is automatically added in its name.. i edited the buttons name and remove the & but after pressing ok, the & returns..
is way a to remove this?
im using qt 3.3 on linux..
thnks..:)
Re: QToolButton & QPushButton
Can you explain this a little more or provide some screen shots explaining , what's exactly is happening?
Re: QToolButton & QPushButton
for instance, i will insert new QPushButton in the designer (im using KDevelop Designer), then the default button text is p&ushButton1. then i'm trying to remove the & in the buttons text. the problem is i cant remove & in the buttons text..
thks...
Re: QToolButton & QPushButton
May be this is an issue with KDevelop designer (not sure). But you can do this.
Open the UI file in some text pad, search for your pushbutton name, remove the '&' and save the file. Now compile your code and see if you still have the problem.
Re: QToolButton & QPushButton
i did it but still the same problem...
the '&' stil returning...
niwei thanks...
Re: QToolButton & QPushButton
Did you check for all occurrences of the string in the ui file? I dont use designer myself but i remember seeing a section for translations which sets all the ui text.