#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: // so we disable the signals here:
document_->blockSignals(true); document_->blockSignals(true);
viewSourceTV->setDocument(document_); viewSourceTV->setDocument(document_);
viewSourceTV->setSizePolicy(QSizePolicy::Ignored, QSizePolicy::Ignored);
document_->blockSignals(false); document_->blockSignals(false);
viewSourceTV->setReadOnly(true); viewSourceTV->setReadOnly(true);
///dialog_->viewSourceTV->setAcceptRichText(false); ///dialog_->viewSourceTV->setAcceptRichText(false);

View File

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