#4430 still not fixed. try better one.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27606 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2008-11-17 12:30:28 +00:00
parent 7d561f91a6
commit 174a4fb8f6
2 changed files with 12 additions and 7 deletions

View File

@ -57,7 +57,6 @@ ViewSourceWidget::ViewSourceWidget()
// so we disable the signals here:
document_->blockSignals(true);
viewSourceTV->setDocument(document_);
viewSourceTV->setSizePolicy(QSizePolicy::Ignored, QSizePolicy::Ignored);
document_->blockSignals(false);
viewSourceTV->setReadOnly(true);
///dialog_->viewSourceTV->setAcceptRichText(false);

View File

@ -6,7 +6,7 @@
<x>0</x>
<y>0</y>
<width>446</width>
<height>93</height>
<height>94</height>
</rect>
</property>
<property name="windowTitle" >
@ -21,16 +21,16 @@
</property>
<item row="0" column="1" >
<layout class="QVBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<property name="margin" >
<number>0</number>
</property>
<item>
<widget class="QCheckBox" name="viewFullSourceCB" >
<property name="cursor" >
<cursor>0</cursor>
<cursorShape>ArrowCursor</cursorShape>
</property>
<property name="text" >
<string>Complete source</string>
@ -62,7 +62,7 @@
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>1</height>
@ -74,6 +74,12 @@
</item>
<item row="0" column="0" >
<widget class="QTextEdit" name="viewSourceTV" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Ignored" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis" >
<string/>
</property>