Mercurial > hg > easaier-soundaccess
changeset 13:7a9e35f51c7a
add easaier tab widgets, style and pass the layer characteristics in the main window (remove from panestack)
author | lbajardsilogic |
---|---|
date | Mon, 14 May 2007 06:59:52 +0000 |
parents | e612e4012ca8 |
children | 819ad579459f |
files | view/PaneStack.cpp |
diffstat | 1 files changed, 1 insertions(+), 21 deletions(-) [+] |
line wrap: on
line diff
--- 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;