Yes @wysota.. is there some way to do so? If yes, please help me out....
Yes @wysota.. is there some way to do so? If yes, please help me out....
The toolbar filling the whole width of the main window is a standard Qt behaviour. You can probably override it by not using QMainWindow but rather placing the toolbar manually on the widget but that's not very convenient. What do you need such behaviour for?
@wysota, i just want to keep the size of toolbox till the place where the last icon is finished. Just like I posted in my first thread. If it is possible, Can you please help me out??
@wysota, because the entire right hand side of toolbox will remain empty .. So I want to remove that blank space rather than displaying it. Is there a way possible? Please help me out if yes..
Yes. You just need to implement your own toolbar positioning. And you still didn't tell me why you want that.
@wysota, the space to the right hand size of the last icon is entirely vacant, I want to remove that vacant space because it is just occupying the screen without displaying anything. Can any code help out instead of toolbar positioning? I tried playing with the geometry of it but no change is visible.
If you remove the toolbar from there, the space will still be "vacant", it will just look ugly. So I don't see the point of the whole operation. If you don't want a toolbar then don't use a toolbar, put a row of buttons on your form. It will look less ugly than a broken toolbar.
aaditya190 (20th December 2013)
Thanks a lot @wysota... I am stuck at a problem. I have a plaintextedit on the left hand side. I wish to pass the text written in the PlainTextEdit to the compiler. Is it possible ? If yes, please help me out. I have posted this problem no. of times but didn't get a fruitful reply....Please help me out if there is some way to do this.
Last edited by aaditya190; 20th December 2013 at 07:30.
Bookmarks