mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
small fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5709 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
205aeb8d73
commit
97dedd97de
@ -1,3 +1,11 @@
|
||||
2002-11-25 John Levon <levon@movementarian.org>
|
||||
|
||||
* qscreen.C: use LColor::cursor properly
|
||||
|
||||
* QPrefs.C:
|
||||
* ui/QPrefKeyboardModule.ui:
|
||||
* ui/QPrefUIModule.ui: UI fixes
|
||||
|
||||
2002-11-25 Herbert Voss <Herbert.Voss@alumni.TU-Berlin.DE>
|
||||
|
||||
* QVCLog.C (update_contents): fix USE_BOOST_FORMAT
|
||||
|
@ -47,6 +47,7 @@
|
||||
#include <qspinbox.h>
|
||||
#include <qcombobox.h>
|
||||
#include <qlistbox.h>
|
||||
#include <qlabel.h>
|
||||
#include "qcoloritem.h"
|
||||
|
||||
using std::vector;
|
||||
@ -339,6 +340,13 @@ void QPrefs::update_contents()
|
||||
|
||||
// FIXME: can derive CB from the two EDs
|
||||
keymod->keymapCB->setChecked(rc.use_kbmap);
|
||||
// no idea why we need these. Fscking Qt.
|
||||
keymod->firstKeymapED->setEnabled(rc.use_kbmap);
|
||||
keymod->firstKeymapPB->setEnabled(rc.use_kbmap);
|
||||
keymod->firstKeymapLA->setEnabled(rc.use_kbmap);
|
||||
keymod->secondKeymapED->setEnabled(rc.use_kbmap);
|
||||
keymod->secondKeymapPB->setEnabled(rc.use_kbmap);
|
||||
keymod->secondKeymapLA->setEnabled(rc.use_kbmap);
|
||||
keymod->firstKeymapED->setText(rc.primary_kbmap.c_str());
|
||||
keymod->secondKeymapED->setText(rc.secondary_kbmap.c_str());
|
||||
|
||||
|
@ -99,7 +99,7 @@ void QScreen::showManualCursor(LyXText const * text, int x, int y,
|
||||
bitBlt(nocursor_pixmap_.get(), 0, 0, owner_.getPixmap(),
|
||||
cursor_x_, cursor_y_, cursor_w_, cursor_h_);
|
||||
|
||||
owner_.getPainter().line(x, y1, x, y2);
|
||||
owner_.getPainter().line(x, y1, x, y2, LColor::cursor);
|
||||
switch (shape) {
|
||||
case BAR_SHAPE:
|
||||
break;
|
||||
|
@ -13,7 +13,7 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>342</width>
|
||||
<width>338</width>
|
||||
<height>253</height>
|
||||
</rect>
|
||||
</property>
|
||||
@ -138,6 +138,44 @@
|
||||
</widget>
|
||||
</grid>
|
||||
</widget>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>keymapCB</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>firstKeymapLA</receiver>
|
||||
<slot>setEnabled(bool)</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>keymapCB</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>secondKeymapLA</receiver>
|
||||
<slot>setEnabled(bool)</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>keymapCB</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>firstKeymapED</receiver>
|
||||
<slot>setEnabled(bool)</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>keymapCB</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>secondKeymapED</receiver>
|
||||
<slot>setEnabled(bool)</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>keymapCB</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>firstKeymapPB</receiver>
|
||||
<slot>setEnabled(bool)</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>keymapCB</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>secondKeymapPB</receiver>
|
||||
<slot>setEnabled(bool)</slot>
|
||||
</connection>
|
||||
</connections>
|
||||
<tabstops>
|
||||
<tabstop>keymapCB</tabstop>
|
||||
<tabstop>firstKeymapED</tabstop>
|
||||
|
@ -13,13 +13,13 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>329</width>
|
||||
<height>250</height>
|
||||
<width>436</width>
|
||||
<height>213</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>caption</name>
|
||||
<string>Screen Fonts</string>
|
||||
<string>UI</string>
|
||||
</property>
|
||||
<vbox>
|
||||
<property stdset="1">
|
||||
@ -117,7 +117,7 @@
|
||||
<class>QLayoutWidget</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>Layout15</cstring>
|
||||
<cstring>Layout16</cstring>
|
||||
</property>
|
||||
<hbox>
|
||||
<property stdset="1">
|
||||
@ -151,7 +151,7 @@
|
||||
<class>QLayoutWidget</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>Layout14</cstring>
|
||||
<cstring>Layout9</cstring>
|
||||
</property>
|
||||
<hbox>
|
||||
<property stdset="1">
|
||||
@ -203,84 +203,20 @@
|
||||
</widget>
|
||||
</vbox>
|
||||
</widget>
|
||||
<spacer>
|
||||
<property>
|
||||
<name>name</name>
|
||||
<cstring>Spacer30</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>orientation</name>
|
||||
<enum>Horizontal</enum>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>sizeType</name>
|
||||
<enum>Expanding</enum>
|
||||
</property>
|
||||
<property>
|
||||
<name>sizeHint</name>
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</hbox>
|
||||
</widget>
|
||||
<widget>
|
||||
<class>QLayoutWidget</class>
|
||||
<class>QGroupBox</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>Layout17</cstring>
|
||||
</property>
|
||||
<hbox>
|
||||
<property stdset="1">
|
||||
<name>margin</name>
|
||||
<number>0</number>
|
||||
<cstring>documentsGB</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>spacing</name>
|
||||
<number>6</number>
|
||||
</property>
|
||||
<widget>
|
||||
<class>QLayoutWidget</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>Layout12</cstring>
|
||||
<name>title</name>
|
||||
<string>Documents</string>
|
||||
</property>
|
||||
<vbox>
|
||||
<property stdset="1">
|
||||
<name>margin</name>
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>spacing</name>
|
||||
<number>6</number>
|
||||
</property>
|
||||
<widget>
|
||||
<class>QLayoutWidget</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>Layout10</cstring>
|
||||
</property>
|
||||
<hbox>
|
||||
<property stdset="1">
|
||||
<name>margin</name>
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>spacing</name>
|
||||
<number>6</number>
|
||||
</property>
|
||||
<widget>
|
||||
<class>QLayoutWidget</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>Layout9</cstring>
|
||||
</property>
|
||||
<hbox>
|
||||
<property stdset="1">
|
||||
<name>margin</name>
|
||||
<number>0</number>
|
||||
<number>11</number>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>spacing</name>
|
||||
@ -297,6 +233,42 @@
|
||||
<string>B&ackup documents </string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget>
|
||||
<class>QLayoutWidget</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>Layout11</cstring>
|
||||
</property>
|
||||
<hbox>
|
||||
<property stdset="1">
|
||||
<name>margin</name>
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>spacing</name>
|
||||
<number>6</number>
|
||||
</property>
|
||||
<spacer>
|
||||
<property>
|
||||
<name>name</name>
|
||||
<cstring>Spacer6</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>orientation</name>
|
||||
<enum>Horizontal</enum>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>sizeType</name>
|
||||
<enum>Fixed</enum>
|
||||
</property>
|
||||
<property>
|
||||
<name>sizeHint</name>
|
||||
<size>
|
||||
<width>21</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
<widget>
|
||||
<class>QLabel</class>
|
||||
<property stdset="1">
|
||||
@ -340,34 +312,11 @@
|
||||
</widget>
|
||||
</hbox>
|
||||
</widget>
|
||||
<spacer>
|
||||
<property>
|
||||
<name>name</name>
|
||||
<cstring>Spacer4</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>orientation</name>
|
||||
<enum>Horizontal</enum>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>sizeType</name>
|
||||
<enum>Expanding</enum>
|
||||
</property>
|
||||
<property>
|
||||
<name>sizeHint</name>
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</hbox>
|
||||
</widget>
|
||||
<widget>
|
||||
<class>QLayoutWidget</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>Layout1</cstring>
|
||||
<cstring>Layout12</cstring>
|
||||
</property>
|
||||
<hbox>
|
||||
<property stdset="1">
|
||||
@ -404,27 +353,6 @@
|
||||
<number>20</number>
|
||||
</property>
|
||||
</widget>
|
||||
<spacer>
|
||||
<property>
|
||||
<name>name</name>
|
||||
<cstring>Spacer9</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>orientation</name>
|
||||
<enum>Horizontal</enum>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>sizeType</name>
|
||||
<enum>Expanding</enum>
|
||||
</property>
|
||||
<property>
|
||||
<name>sizeHint</name>
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</hbox>
|
||||
</widget>
|
||||
</vbox>
|
||||
@ -432,7 +360,7 @@
|
||||
<spacer>
|
||||
<property>
|
||||
<name>name</name>
|
||||
<cstring>Spacer31</cstring>
|
||||
<cstring>Spacer8</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>orientation</name>
|
||||
@ -455,7 +383,7 @@
|
||||
<spacer>
|
||||
<property>
|
||||
<name>name</name>
|
||||
<cstring>Spacer2</cstring>
|
||||
<cstring>Spacer7</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>orientation</name>
|
||||
|
Loading…
Reference in New Issue
Block a user