# HG changeset patch # User lbajardsilogic # Date 1179125992 0 # Node ID 7a9e35f51c7a7684468144080bb8ecbdc256692b # Parent e612e4012ca885c00865094b304bc553ae84ee42 add easaier tab widgets, style and pass the layer characteristics in the main window (remove from panestack) diff -r e612e4012ca8 -r 7a9e35f51c7a view/PaneStack.cpp --- a/view/PaneStack.cpp Fri May 11 15:42:57 2007 +0000 +++ b/view/PaneStack.cpp Mon May 14 06:59:52 2007 +0000 @@ -75,29 +75,9 @@ layout->addWidget(pane); layout->setStretchFactor(pane, 10); - QWidget *properties = 0; - if (suppressPropertyBox) { - properties = new QFrame(); - } else { - properties = new PropertyStack(frame, pane); - connect(properties, SIGNAL(propertyContainerSelected(View *, PropertyContainer *)), - this, SLOT(propertyContainerSelected(View *, PropertyContainer *))); - connect(properties, SIGNAL(viewSelected(View *)), - this, SLOT(viewSelected(View *))); - connect(properties, SIGNAL(contextHelpChanged(const QString &)), - this, SIGNAL(contextHelpChanged(const QString &))); - } - if (m_layoutStyle == PropertyStackPerPaneLayout) { - layout->addWidget(properties); - } else { - properties->setParent(m_propertyStackStack); - m_propertyStackStack->addWidget(properties); - } - layout->setStretchFactor(properties, 1); - PaneRec rec; rec.pane = pane; - rec.propertyStack = properties; + rec.propertyStack = 0; rec.currentIndicator = currentIndicator; rec.frame = frame; rec.layout = layout;