hide the pointless header for the panel stack

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6714 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2003-04-04 03:37:42 +00:00
parent 4d6c6daf4e
commit 4d7aa161c3
4 changed files with 25 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2003-04-04 John Levon <levon@movementarian.org>
* panelstack.C: hide the pointless header
2003-04-04 John Levon <levon@movementarian.org>
* QCitation.C:

View File

@ -38,6 +38,9 @@ PanelStack::PanelStack(QWidget * parent, const char * name)
list_->setResizeMode(QListView::AllColumns);
#endif
list_->setRootIsDecorated(true);
QWidget * w = static_cast<QWidget*>(list_->child("list view header"));
if (w)
w->hide();
connect(list_, SIGNAL(currentChanged(QListViewItem*)),
this, SLOT(switchPanel(QListViewItem *)));

View File

@ -13,10 +13,17 @@
<rect>
<x>0</x>
<y>0</y>
<width>464</width>
<height>492</height>
<width>414</width>
<height>491</height>
</rect>
</property>
<property stdset="1">
<name>sizePolicy</name>
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>1</vsizetype>
</sizepolicy>
</property>
<property stdset="1">
<name>caption</name>
<string>Form1</string>

View File

@ -13,10 +13,17 @@
<rect>
<x>0</x>
<y>0</y>
<width>273</width>
<height>366</height>
<width>420</width>
<height>441</height>
</rect>
</property>
<property stdset="1">
<name>sizePolicy</name>
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>1</vsizetype>
</sizepolicy>
</property>
<property stdset="1">
<name>caption</name>
<string>UI</string>