PDA

View Full Version : QDockWidget and more



Carlsberg
1st June 2009, 19:59
Hello,

I have 2 probably silly questions:

1) I have a fixed width QDockWidget placed on the left or on the right of the main window. The problem is that the dock widgets has a splitter like control on the side, which being useless I want to have it removed. How do I remove it? :O

2) This is unrelated with the first question. I add dinamically buttons and widgets, which I keep in some lists. I want to press on the buttons and do some actions on the corresponding widgets. How can I do that?

Thanks a lot

Edit: the version is Qt4

Carlsberg
2nd June 2009, 09:47
Ok, the no.2 problem was solved with QSignalMapper, but I still don't have any ideea how I can hide a QMainWindow::separator. Instead I changed its hover color to match the background color and I'll live with it...