src/qt3support/widgets/q3dockarea.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
  1017         Q3DockWindow *dw = dockWindows.at(i);
  1017         Q3DockWindow *dw = dockWindows.at(i);
  1018         dw->setOffset(0);
  1018         dw->setOffset(0);
  1019         if (!keepNewLines)
  1019         if (!keepNewLines)
  1020             dw->setNewLine(false);
  1020             dw->setNewLine(false);
  1021     }
  1021     }
       
  1022     layout->invalidate();
  1022     layout->activate();
  1023     layout->activate();
  1023 }
  1024 }
  1024 
  1025 
  1025 Q3DockArea::DockWindowData *Q3DockArea::dockWindowData(Q3DockWindow *w)
  1026 Q3DockArea::DockWindowData *Q3DockArea::dockWindowData(Q3DockWindow *w)
  1026 {
  1027 {
  1136 
  1137 
  1137 void Q3DockArea::setAcceptDockWindow(Q3DockWindow *dw, bool accept)
  1138 void Q3DockArea::setAcceptDockWindow(Q3DockWindow *dw, bool accept)
  1138 {
  1139 {
  1139     if (accept)
  1140     if (accept)
  1140         forbiddenWidgets.removeAll(dw);
  1141         forbiddenWidgets.removeAll(dw);
  1141     else if (forbiddenWidgets.contains(dw))
  1142     else if (!forbiddenWidgets.contains(dw))
  1142         forbiddenWidgets.append(dw);
  1143         forbiddenWidgets.append(dw);
  1143 }
  1144 }
  1144 
  1145 
  1145 void Q3DockArea::invalidateFixedSizes()
  1146 void Q3DockArea::invalidateFixedSizes()
  1146 {
  1147 {