John Spray
35948be234
Changes to External controller for GTK implementation
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13693 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-19 09:11:25 +00:00
Abdelrazak Younes
9db70c5346
* ControlToc.[Ch]
...
- bool ControlToc::canOutline(): new method to test if outline is possible.
* TocModel: new class
* QToc is now the controller (inheriting ControlToc directly) and the model (using TocModel)
* QTocDialog is now only the view (inheriting Dialogs::View directly)
* Dialogs.C: updated toc controller and view correspondingly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13692 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-18 09:57:47 +00:00
Georg Baum
4700431096
* src/frontends/qt2/QWorkArea.C: fix compilation on OS X
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13690 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-17 16:44:37 +00:00
Abdelrazak Younes
f6bcac7285
* src/buffer_funcs.[Ch]
...
- updateCounters renamed to updateLabels
- void updateLabels(Buffer const & buf,
ParIterator & it): new convenience function
- void updateLabels(Buffer const & buf,
ParIterator & from, ParIterator & to): new convenience function
- setCounter renamed to setLabel
- bool tryToUpdateCurrentLabel(Buffer const & buf,
ParIterator & it): new method
- needsUpdateCounters: deleted
* src/BufferView_pimpl.C
* src/CutAndPaste.C
* src/frontends/controllers/ControlDocument.C
* src/lyxfunc.C
* src/text.C
* src/text2.C
* src/text3.C
- fixed the calls to updateLabels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13689 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-16 14:19:25 +00:00
Jürgen Spitzmüller
a90ee19486
* src/frontends/qt4/QTocDialog.C: Hide the pointless QHeader
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13688 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-16 08:33:30 +00:00
Jürgen Spitzmüller
9d8aadcc64
* src/frontends/qt4/QTocDialog.C
...
(updateToc, populateItem): fix the logic of depth calculation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13687 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-15 17:56:20 +00:00
Jürgen Spitzmüller
436adb1605
* src/frontends/qt4/ui/QTocUi.ui: lay out in a grid.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13685 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-15 15:50:13 +00:00
Bo Peng
2f3ac2d20f
Initial Qt4 support for view-source feature (r13610), from Bo Peng (ben.bob@gmail.com)
...
* add src/frontend/qt4/QViewSource.h/C, QViewSourceDialog.h/C, ui/QViewSourceUi.ui
* modify corresponding qt4/Makefile.am Makefile.dialogs, Dialogs.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13682 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-15 14:13:41 +00:00
Abdelrazak Younes
e2ddbdca5c
use const_cast<QWorkArea*> instead of C-style cast
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13673 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 20:44:38 +00:00
Abdelrazak Younes
544d542c7d
compilation fixes following rev 13671
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13672 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 20:39:42 +00:00
Lars Gullik Bjønnes
67d576f75e
* frontends/WorkArea.h(workAreaResize, scrollDocView, workAreaKeyPress,
...
dispatch, selectionReuqested, selectionLost): remove signals
* BufferView.[Ch] (selectionRequested, selectionLost, workAreaResize,
workAreaKeyPress, workAreaDispatch): add forwarding functions to the pimpl
* BufferView_pimpl.C (Pimpl): Remove the setup of the now deleted signals,
also remove corresponding connection objects.
* frontends/xforms/XWorkArea.h:
* frontends/qt2/QWorkArea.h:
* frontends/qt4/QWorkArea.h:
* frontends/gtk/GWorkArea.h: add LyXView as class variable view_ (qt
classes also get view() medthod)
* frontends/qt2/QWorkArea.C:
* frontends/qt2/QContentPane.C:
* frontends/qt4/QWorkArea.C:
* frontends/xforms/XWorkArea.C:
* frontends/gtk/GWorkArea.C: Change from calling signals to call
the functions directly through view_.view()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13671 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 18:58:48 +00:00
Lars Gullik Bjønnes
3b44c08e43
* lyxfunc.h:
...
* BufferView_pimpl.h: delete LyXKeySymPtr typedef
* kbmap.h: include LyXKeysym.h and remove forward declaration of LyXKeySym,
and delete LyXKeySymPtr typedef
* kbsequence.h:
* frontends/WorkArea.h: delete LyXKeySymPtr typedef, include LyXKeySym.h
and don't include boost/shared_ptr.hpp, remove forward declaration of
LyXKeySym.
* frontends/LyXKeySym.h: include boost/shared_ptr.hpp, and add typedef
for LyXKeySymPtr
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13663 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 12:18:42 +00:00
Jean-Marc Lasgouttes
637a28fe60
Compilation fix: Replace MakeAbsPath with makeAbsPath
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13657 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-12 14:02:23 +00:00
Abdelrazak Younes
5b66bd5d4c
Compilation fix: Replace MakeAbsPath with makeAbsPath
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13656 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-12 13:53:01 +00:00
Abdelrazak Younes
5b448e549e
Fix enableCustom
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13645 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-11 10:51:59 +00:00
Abdelrazak Younes
9960bf9278
Fix related to r13635
...
closePB renamed to cancelPB
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13644 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-11 10:13:17 +00:00
Abdelrazak Younes
1ddacf35e0
added "none" color special case.
...
TODO: see how to get rid of these special cases...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13642 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-11 09:59:56 +00:00
Abdelrazak Younes
107356b439
Transfered closePB handlling (GUI code) from QToc.C to QTocDialog.C
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13641 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-11 09:56:56 +00:00
Abdelrazak Younes
31d7f2ed30
I have continued a bit on my track to do a real model view separation for the Citation Dialog. In this new scheme, QCitation is the controller and the model at the same time, it inherits ControlCitation and it doesn't know about the view. QCitationDialog is the view, it is using QCitation to get its model and for communication with the core; it is inheriting Dialog::View directly.
...
In frontend/qt4/Dialog.C, we use these class like this:
} else if (name == "citation") {
QCitation * ci = new QCitation(*dialog);
dialog->setController(ci);
dialog->setView(new QCitationDialog(*dialog, ci));
dialog->bc().bp(new NoRepeatedApplyReadOnlyPolicy);
Now, it should be possible to define another view like this:
} else if (name == "citation-inline") {
QCitation * ci = new QCitation(*dialog);
dialog->setController(ci);
dialog->setView(new QCitationInline(*dialog, ci));
All the citation functionalities are not there yet but the basic ones are there. There are still a few "intelligence" still to be transfered from the view to the dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13635 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-11 08:26:43 +00:00
Bo Peng
d7bccc5f88
Update on view-source feature (r13610), from Bo Peng (ben.bob@gmail.com)
...
* src/text3.C, src/lyxfunc.C: no special treatment of view-source dialog now.
* src/frontends/controllers/ControlViewSource.h, .C:
handle everything (get source type, code) in the controller.
* src/insets/insetbibtex.C, insetexternal.C insetinclude.C:
add dryrun mode to file copying etc.
* src/frontends/qt2/QViewSource.C: small changes when calling the controller.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13627 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 16:27:59 +00:00
Abdelrazak Younes
c7511f4cab
clean up the function renaming cleanup (libFileSearch instead of LibFileSearch)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13615 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 21:24:01 +00:00
Abdelrazak Younes
9dfa853d2c
lib/Makefile.am: move math icons from no-install
...
QMathDialog.C: set icon paths
QMathUi.ui: set icon paths to lib/images/math for visual feedback in designer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13614 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 21:14:58 +00:00
Georg Baum
6170926512
clean up the function renaming cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13613 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 08:42:58 +00:00
Bo Peng
eb485caa96
view-source feature, from Bo Peng <ben.bob@gmail.com>
...
* src/buffer.h buffer.C - getSourceCode()
* src/lyxfunc.C - open view-source dialog
* src/text3.C - change LFUN_MOUSE_RELEASE
* src/output_linuxdoc.C, src/output_docbook.C, src/output_latex.C
- intercept output
* src/outputparams.h, outputparams.C - add par_begin, par_end, dryrun
* src/insets/insetgraphics.C - add dryrun mode of file conversion
* lib/ui/stdmenus.ui - add view-source menu item under view
* Add view-source dialog, add
src/frontends/qt2/QViewSourceDialog.h, QViewSource.C, QViewSource.h, QViewSourceDialog.C
src/frontends/qt2/ui/QViewSourceDialogBase.ui
src/frontends/controllers/ControlViewSource.h ControlViewSource.C
modify
src/frontends/qt2/Makefile.dialogs, Makefile.am, Dialogs.C,
src/frontends/controllers/Makefile.am, po.POTFILES.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13610 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 02:48:54 +00:00
Lars Gullik Bjønnes
618ca28af6
* support/types.h: introduce the char_type type
...
* paragraph.h: make value_type point at char_type
* other files: change some bald 'char' to 'char_type'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13609 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 02:30:40 +00:00
Lars Gullik Bjønnes
cf4293824f
* Change several freestanding and class methods with first letter
...
capitalized to have first letter lowercased.
* Adjust all affected files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13605 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 00:26:19 +00:00
Lars Gullik Bjønnes
8c93f63b48
* filetools.[Ch]: Make functions that start with a capital
...
letter start with a lower letter.
* All other .C and .h in the cs: adjust for above change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13603 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-08 22:31:11 +00:00
Martin Vermeer
2c300dd10d
* ControlMath.C
...
(ControlMath::dispatchInsert): fix broken GUI for sub/superscript
insertion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13602 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-08 19:32:52 +00:00
Georg Baum
6b753c5d97
Remove the images directory
...
* Makefile.am: remove image files
* images/ChangeLog: delete
* images/smallcaps.xpm: move to lib/images/font-smallcaps.xpm
* lib/Makefile.am: add images to noinst files
Move the following files to lib/images/math:
* images/README
* images/delim.xbm
* images/ams_misc.xbm
* images/equation.xpm
* images/delim.xpm
* images/arrows.xbm
* images/bop.xbm
* images/matrix.xpm
* images/delim0.xpm
* images/delim1.xpm
* images/misc.xbm
* images/greek.xbm
* images/ams_nrel.xbm
* images/style.xbm
* images/ams_ops.xbm
* images/varsz.xbm
* images/font.xbm
* images/sub.xpm
* images/sqrt.xpm
* images/dots.xbm
* images/space.xpm
* images/deco.xbm
* images/super.xpm
* images/ams_arrows.xbm
* images/style.xpm
* images/ams_rel.xbm
* images/brel.xbm
* images/font.xpm
* images/deco.xpm
* images/frac.xpm
Adjust the following files to the moved images:
* src/frontends/gtk/GMathPanel.C
* src/frontends/gtk/Makefile.am
* src/frontends/qt4/ui/QMathUi.ui
* src/frontends/xforms/Makefile.am
* src/frontends/xforms/FormMathsPanel.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13598 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-08 11:33:26 +00:00
André Pönitz
1f5c5a06ee
support/textutils.h:
...
support/filetools.h: rename IsDirWriteable IsFileReadable IsLyXFilename
IsSGMLFilename IsLineSeparatorChar IsLetterChar IsPrintable
IsPrintableNonspace IsDigit to lower case initial
lyxvc.C:
LaTeXFeatures.C:
lyx_cb.C:
insets/insetbibtex.C:
insets/insetexternal.C:
insets/insetgraphics.C:
insets/ExternalSupport.C:
insets/insetinclude.C:
BufferView_pimpl.C:
graphics/GraphicsCacheItem.C:
text2.C:
converter.C:
buffer.C:
lyxfunc.C:
frontends/gtk/ghelpers.C:
frontends/controllers/ControlGraphics.C:
frontends/controllers/ControlInclude.C:
frontends/controllers/ControlSpellchecker.C:
support/filetools.C:
support/filetools.h: adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13595 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-08 09:09:57 +00:00
Edwin Leuven
bfce1347ad
compile fixes + update in pref dialog
...
QtView.C: typo in include
QPrefsDialog.C: update after changing color
QPrefsDialog.h: default parent in constructor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13580 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-07 12:01:11 +00:00
Abdelrazak Younes
8a2a78ddf3
Fix: The modules' parent is not QPrefsDialog but the widget inside PanelStack.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13575 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-06 21:16:54 +00:00
Edwin Leuven
e3630e4076
clean up of the graphics dialog:
...
-layout
-enabling/disabling widgets
-tab order
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13574 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-06 21:04:27 +00:00
Abdelrazak Younes
e03298bb36
compilation fix: session.h and support/convert.h were missing
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13573 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-06 20:19:51 +00:00
Abdelrazak Younes
bcb89509b3
* QMathUi.ui:
...
- replaced the sqrt etc QPushButton with QToolButton
- modified the layout
* QMathDialog::QMathDialog
- got rid of the fixed width for function QWidgetList
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13571 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-06 15:08:48 +00:00
Martin Vermeer
9e6c3bd7c2
The nicefrac patch
...
* LaTeXFeatures.C
(simplefeatures[]: add nicefrac
* mathed/math_factory.C
(createMathInset): change frac semantics
* mathed/math_fracinset.[Ch]
(MathFracInset::metrics):
(MathFracInset::draw):
(MathFracInset::drawT):
(MathFracInset::write):
(MathFracInset::mathmlize): add nicefrac stuff
* mathed/math_dfracinset.C:
* mathed/math_tfracinset.C: adapt semantics
* frontends/qt2/ui/QMathDialogBase.ui
* frontends/qt2/QMathDialog.[Ch]
(QMathDialog::symbol_clicked): provide GUI
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13566 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-06 09:46:01 +00:00
Lars Gullik Bjønnes
3b9338a3a8
Whitespace cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13565 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 23:56:29 +00:00
Lars Gullik Bjønnes
b2effebe20
2006-04-06 Bo Peng <ben.bob@gmail.com>
...
session support that
* handle recent opened files (previously lastfile)
* save/load bookmarks when quit lyx
* save/load buffer cursor location whan a file is closed
* save/load windows position and size when a file is closed
* add rc entries load_session, use_lastfilepos,
screen_geometry_height, screen_geometry_width,
screen_geometry_xysaved.
* trigger LFUN_QUIT when Alt-F4 or close-button is used to close lyx.
* remove lastfile.h lastfile.C (merged in session.h, session.C)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13561 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 22:56:18 +00:00
Georg Baum
0dcc1e0cce
Fix mess up of internal/external paths (from Enrico Forestieri)
...
* src/frontends/qt2/QPrefs.C:
(internal_path_list, external_path_list): Handle the PATH prefix
style according to the user-prefs style.
(QPrefs::apply, QPrefs::update_contents): fix inverted logic of
rc.cygwin_path_fix
* src/support/os.h: New declarations to deal with PATH lists.
* src/support/os_cygwin.C: Major rewrite to account for path style
problems.
* src/support/os_unix.C:
* src/support/os_win32.C: Stub functions for PATH lists.
* src/support/environment.C: fix bug 2344: Wrong path_prefix handling
in cygwin
* src/support/filetools.C (ChangeExtension): fix for the path
style to be written in .tex files (cygwin related).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13558 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 19:26:08 +00:00
Abdelrazak Younes
ed6eb3e4f2
Porting work from Edwin Leuven:
...
* QMathUi.ui: Port to Qt4, icons paths are hacked to point to ../lib/images/
* QMathDialog: Port to qt4
* iconpalette.C: fix cols calculation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13557 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 15:10:34 +00:00
Abdelrazak Younes
dd69416f11
Fix from Edwin Leuven:
...
BulletsModule is a widget not a dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13553 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 14:02:37 +00:00
Abdelrazak Younes
ca474cf0d5
Resize the dialog so that the delimiters appears by couple on screen.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13552 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 13:16:52 +00:00
Abdelrazak Younes
2fcb3d9b18
Log:
...
* convert to automatic slot connections
* fix TOC navigation
* delete non useful commented out code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13536 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-31 13:17:44 +00:00
Martin Vermeer
ce1170d887
* QToc.C
...
(QToc::updateToc): Better scroll behaviour
* ui/QTocDialogBase.ui: Keyboard shortcuts, Dn -> Down
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13534 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-30 12:34:49 +00:00
Abdelrazak Younes
5a4d33d97e
Add outlining functionality to the Qt4 TOC dialog.
...
The Toc dialog is not finished yet, there's some clean-up to do especially in select_adapdator which doesn't seem to work. This makes lyx crash when clicking on the Up, Down, In or Out buttons.
* frontends/qt4/QTocDialog.[Ch]: add automatic slots
* frontends/qt4/QTocDialog.[Ch]: add "enableButtons(bool)"
* frontends/qt4/ui/QTocUi.ui: add pushbuttons
* frontends/qt4/QToc.[Ch]: add move* methods.
The following Qt4 equivalent changes to revision r13521 are not done yet:
* frontends/qt2/QToc.[Ch]: add move* method.
(QToc::updateToc):
(QToc::select): add code for TOC window positioning, and
outlining methods
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13530 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-29 16:57:47 +00:00
Martin Vermeer
c0b204c0a8
Add outlining functionality to the TOC dialog.
...
* LyXAction.C
(LyXAction::init): define command
* BufferView_pimpl.C
(BufferView::Pimpl::getStatus):
(BufferView::Pimpl::dispatch): add handling code
* frontends/qt2/QTocDialog.C: add connections, adapters
* frontends/qt2/ui/QTocDialogBase.ui: add pushbuttons
* frontends/qt2/QTocDialog.h: add adapters
* frontends/qt2/QToc.[Ch]
(QToc::updateToc):
(QToc::select): add code for TOC window positioning, and
outlining methods
* frontends/controllers/ControlToc.[Ch]: implement methods
* lfuns.h
(kb_action {): define LFUN
* toc.[Ch]: implement up, down, in and out operations in Outline
method
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13521 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-29 05:08:42 +00:00
Jürgen Spitzmüller
7b81bf1108
* frontends/{qt2,qt4}/QPrefsDialog.C (remove_format):
...
Prevent deletion of file formats if they are used by a converter
and warn the user accordingly.
Fixes crash (bug 2431).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13514 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 12:01:31 +00:00
Abdelrazak Younes
b9ff894f8b
* QCitation::findKey() use QRegExp but find still doesn't work
...
* QCitationDialog::on_applyPB_clicked(): calls form_->apply
* QCitationDialog::on_oKPB_clicked(): calls form_->apply
TBDone: extract the code from controller&co in order to update the view with a new citation inset (or a modified one).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13499 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-26 18:35:15 +00:00
John Spray
107d32b49f
Revert patch from bug 1954, to fix bug 2421
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13498 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-26 10:18:52 +00:00
Abdelrazak Younes
2f415cfbb1
This new citation dialog follows a new design similar to lyx-1.3:
...
- two panes for Selected/Available keys
- find as you search (Regular expression are supported)
- advanced search button
There are a lot of work still:
- selected citations are not inserted in the document
- find does not select the found key
- the graying/un-graying of buttons does not work properly
- the Advanced Search Dialog (which will search inside the citation) is not done yet
- ...
But the good news is that I have used the Model/View separation of Qt4. QCitation contains the list models and QCitationDialog contains the list views. The idea would be to reuse the model for a new dialog, I am thinking of a simple combo box placed on the toolbar which insert citations with default style, etc. Or a context menu insert->citation...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13496 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-25 21:26:09 +00:00
Abdelrazak Younes
299a19c3c0
- The layout combox box has now a maximum number of 30 visible items. In the future it would be better to calculate the optimal value based on the work area height.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13491 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 20:53:40 +00:00
Abdelrazak Younes
6b354a2230
Oups, compilation fix (missing a '{')
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13488 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 17:37:44 +00:00
Abdelrazak Younes
cf9417bb2d
* src/frontends/qt4/QDocumentDialog.C
...
(void QDocumentDialog::apply):
(void QDocumentDialog::update_contents): only take action when there is a ToC structure
* port of preampleUi from Q3MultilineEdit to QTextEdit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13485 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 16:37:06 +00:00
Abdelrazak Younes
87c311f815
Compilation Fix: Appended "Ui" to main objectName so that it is the same as the ui file.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13484 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 15:59:11 +00:00
Jean-Marc Lasgouttes
a9b0afd3b5
Partial fix to bug 2355.
...
* src/bufferparams.C
(bool BufferParams::writeLaTeX):
(void BufferParams::useClassDefaults): only take action when there is
a ToC structure
* src/frontends/qt2/QDocument.C
(void QDocument::apply):
(void QDocument::update_contents): only take action when there is
a ToC structure
* src/frontends/xforms/FormDocument.C
(bool FormDocument::language_apply):
(bool FormDocument::options_apply):
(void FormDocument::options_update): only take action when there is
a ToC structure; disable
(void FormDocument::UpdateClassParams): disable the secnumdepth and
tocdepth widgets when there is no ToC structure
* src/frontends/xforms/FormDocument.h
(options_apply): do not return a bool (was not used)
* src/lyxtextclass.C
(hasTocLevels): new method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13471 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 11:57:19 +00:00
Georg Baum
399e6e788c
Store colors as rgb values in branches.
...
* src/frontends/xforms/Color.[Ch]: move to src
* src/Color.[Ch] (getRGBColor): move to src/frontends/*/lyx_gui.C
* src/BranchList.h
(Branch::color_): change type to lyx::RGBColor
* src/BranchList.[Ch]
(Branch): new constrcutor, set color_ to LColor::background
(getColor, setColor): adapt to type change of color_
* src/bufferparams.C
(BufferParams::writeFile): adapt to type change of branch color
* src/frontends/lyx_gui.h
* src/frontends/gtk/lyx_gui.C
* src/frontends/qt2/lyx_gui.C
* src/frontends/qt4/lyx_gui.C
* src/frontends/xforms/lyx_gui.C
(getRGBColor): move from src/Color.[Ch] here
* src/frontends/gtk/lyx_gui.C
* src/frontends/xforms/lyx_gui.C
(hexname): use getRGBColor
* src/frontends/gtk/GDocument.C
(update): adapt to type change of branch color
(apply): add comment about color chooser
* src/frontends/qt2/QDocumentDialog.C
(updateBranchView): adapt to type change of branch color
(toggleBranchColor): ditto
* src/frontends/qt2/lcolorcache.[Ch]
* src/frontends/qt4/lcolorcache.[Ch]
(rgb2qcolor): new utility function
* src/frontends/qt4/QBranches.C
(QBranches::update): adapt to type change of branch color
(QBranches::on_colorPB_clicked): ditto
* src/frontends/xforms/FormDocument.C
(get_current_color): adapt to type change of branch color
(FormDocument::branch_update):
* src/frontends/xforms/FormPreferences.C
(FormPreferences::Colors::LoadBrowse): adapt to RGBColor changes
* src/frontends/xforms/FormPreferences.h: remove unneeded RGBColor
forward declaration
* src/frontends/xforms/XWorkArea.C
(XWorkArea::XWorkArea): adapt to RGBColor changes
* src/frontends/xforms/Makefile.am: remove Color.[Ch]
* src/frontends/xforms/FormColorpicker.[Ch]: adapt to RGBColor changes
* src/frontends/xforms/xformsImage.C: adapt to RGBColor changes
* src/frontends/controllers/ControlDocument.C
(ControlDocument::dispatchParams): adapt to type change of branch color
* src/Makefile.am: add Color.[Ch]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13466 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-23 20:04:05 +00:00
Abdelrazak Younes
f44bd092bc
* src/frontends/qt4/QPrefsDialog.C
...
(QPrefsDialog::QPrefsDialog):
(void QPrefsDialog::apply):
(void QPrefsDialog::update):
* src/frontends/qt4/ui/QPrefUI.ui: remove wheel mouse spin box (bug 783).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13464 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-23 16:38:46 +00:00
Jean-Marc Lasgouttes
4fd5c07875
* src/frontends/qt2/qscreen.C
...
(void QScreen::showCursor):
(void QScreen::removeCursor): use update instead of repaint.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13459 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-23 11:15:00 +00:00
Jean-Marc Lasgouttes
556da959ae
Add the tests/ subdirectory
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13458 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-23 11:11:19 +00:00
Jürgen Spitzmüller
e951788e37
* src/frontends/qt2/QPrefs.C
...
(void QPrefs::apply):
(void QPrefs::update_contents):
* src/frontends/qt2/QPrefsDialog.C
(QPrefsDialog::QPrefsDialog):
* src/frontends/qt2/ui/QPrefUIModule.ui:
remove wheel mouse spin box (bug 783).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13457 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-23 09:37:05 +00:00
Georg Baum
f68868707d
compile fix from Ling Li: remove superflous class name of members
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13454 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-22 21:38:40 +00:00
Abdelrazak Younes
29564e5f54
Changelog:
...
* QDialogView.h: interface methods and slots are now public instead of protected. This allow to avoid making friend classes.
* QPrefs.[Ch]: removed everything GUI related. The controller does not know anything about what the Dialog is doing, it is here only to transfer request one way or the other.
* QPrefsDialogs.[Ch]: transfered everything GUI related here. Things are gathered per module in contructor, apply() and update() methods so that it will be easy to transfer code to separate class afterward
- QPrefsDialogs::apply(LyXRC & rc): fill in rc parameters from GUI.
- QPrefsDialogs::update(LyXRC const & rc): update GUI from rc parameters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13453 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-22 18:59:17 +00:00
Georg Baum
bdcfe69b98
set svn:eol-style to native in qt4 frontend
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13447 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-21 19:56:57 +00:00
Georg Baum
f7bbfca3a0
remove qgridview.[Ch] (these files were only needed for qt2)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13446 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-21 19:15:31 +00:00
Abdelrazak Younes
6c2e78e128
* QPrefsDialog::QPrefsDialog():
...
- fix from Edwin Leuven: colorsModule did not recognize colornames grey40, etc.
- delete unused variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13445 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-21 12:49:43 +00:00
Abdelrazak Younes
4213d1851a
clean up dos style line ending.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13442 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 17:25:02 +00:00
Jean-Marc Lasgouttes
13c546c460
* src/frontends/qt2/QWorkArea.C
...
(QWorkArea::QWorkArea): do not set background of the workarea (bug 2197)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13433 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 15:33:24 +00:00
Martin Vermeer
a193ea09f9
Selective expose patch
...
* metricsinfo.h
(ViewMetricsInfo): add size parameter
* BufferView_pimpl.C
(BufferView::Pimpl::metrics): return size
* frontends/screen.C
(LyXScreen::redraw): expose selectively, using y1, y2 in vi, and
exposing lower grey at end using size test
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13432 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 15:05:07 +00:00
Abdelrazak Younes
812b5ebfa9
When I created the Branches dialog class, I forgot to connect it to the Document settings panel dialog.
...
* QDocumentDialog.C: added connection to QBranches::changed signal.
* QBranches.h: added changed signal
* QBranches::update() added changed signal emission.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13430 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 14:40:27 +00:00
Abdelrazak Younes
967d3e3cd6
QBranches::on_colorPB_clicked() one-line bug fix:
...
When you click the "Alter button" on a added branch in "Document Settings/Branches" Dialog, clicking on the palette on the right to select a color won't work (selected color stays black). After selecting a color from the "Basic Colors" or the "Custon colors"
(which works fine), the color selection from the palette will work correctly. The problems lies in that the QColor() constructor produces an invalid color (RGB 0,0,0). "lightskyblue" is now the default color for a branch when you click the alter button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13429 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 14:10:31 +00:00
Abdelrazak Younes
4a5053d34e
* qscreen.[Ch]:
...
- Cursor handing is done on the server -> *cursor are
QPixmap
- Use new drawScreen and copyScreen methods.
* QWorkArea.[Ch]:
- Pixel manipulation is done on the client -> paint_device_ is a
QImage
- an intermediate Screen device is updated whenever expose is called
-> sreen_device_ is a QPixmap. This screen_device is the one that is
painted on screen in QWorkArea::repaintEvent().
- new update, drawScreen and copyScreen methods.
* QLPainter.C: use the new paintDevice interface.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13428 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 10:43:21 +00:00
Jürgen Spitzmüller
4c4b3e3cff
frontends/controllers/ControlBibtex.[Ch]: new members bibtotoc(), getStylefile(),
...
which hold functionality that has been moved from the frontends
and implement a method to use a default stylefile for new bibtex
insets (bug 2322).
frontends/gtk/GBibtex.C:
frontends/qt2/QBibtex.C:
frontends/qt4/QBibtex.C:
frontends/xforms/FormBibTex.C: Move parsing of Options (stylefile, bibtotoc) to the
controller (bug 2322).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13427 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 10:24:23 +00:00
Georg Baum
3626d1ce04
Remove qt2 support in the following files:
...
* src/frontends/qt2/qt_helpers.C
(makeFontName):
* src/frontends/qt2/QWorkArea.C
(QWorkArea::haveSelection):
(QWorkArea::haveSelection):
(QWorkArea::getClipboard):
* src/frontends/qt2/panelstack.C
(PanelStack::PanelStack):
* src/frontends/qt4/qt_helpers.C
(makeFontName):
* README: remove notice about qt2
* config/qt.m4: make 3.0 the minimum required qt version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13414 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-17 19:02:43 +00:00
Georg Baum
c9c37cab4e
* src/frontends/qt4/QWorkArea.C
...
(QWorkArea::mouseMoveEvent): Use qt wide scroll wheel setting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13409 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 20:34:20 +00:00
Georg Baum
4c772b2376
QContentPane::mouseMoveEvent: Use qt wide scroll wheel setting
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13401 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 15:26:44 +00:00
Abdelrazak Younes
937d6d1111
PanelStack::addPanel(): fixed document settings dialog size when first showed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13391 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 13:15:42 +00:00
Abdelrazak Younes
e16b61096d
Edwin Leuven <e.leuven@uva.nl>
...
* entries in the combobox in the toolbar are not legible
* same for entries in the listview in the preferences dialog
* the color is not updated after changing it (i always change the murky pink color of lyx's background to white)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13387 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 11:23:23 +00:00
Abdelrazak Younes
371dc18f22
fixed inset buttons grey colors.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13386 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 10:52:20 +00:00
Jean-Marc Lasgouttes
4b7512f767
fix drawing of buttons (bug 2328)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13381 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-15 15:32:32 +00:00
Abdelrazak Younes
c6d4e2b9c6
removed topLevelMenu_.clear() call in QLPopupMenu::update() following MenuBackend change.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13380 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-15 15:26:21 +00:00
Georg Baum
2470320dd6
fix symbols fonts on X11
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13378 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-15 13:39:59 +00:00
Abdelrazak Younes
f43f4ed94f
QLPopupMenu.[Ch]: renamed topLevelMenu to topLevelMenu_
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13377 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-15 11:27:32 +00:00
Abdelrazak Younes
5ea9a78905
QLMenubar.C: Fix potential MACX crash on menubar initialisation.
...
The MACX specific menubar hack present in qt2 frontend is still not ported to the qt4 frontend.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13376 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-15 11:12:52 +00:00
Georg Baum
369fe1ab82
restore entries from 11/2002 to 5/2005
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13372 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-14 19:56:00 +00:00
Abdelrazak Younes
6d21659ce0
QWorkArea.[Ch]: Wheel one-liner mouse fix
...
QWorkArea.h: Added comments
Reverted to Q_WS_X11 and Q_WS_MACX instead of Q_OS_*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13371 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-14 14:50:00 +00:00
Jürgen Spitzmüller
98b1da0248
Abdelrazak Younes: Compile fixes for the Mac (ChangeLog follows)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13349 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-12 17:44:38 +00:00
Jürgen Spitzmüller
4035592aee
(Abdelrazak Younes:)
...
* QWorkArea.[Ch] cleanup:
- Added private members workWidth_ and workHeight_ in order to
make sure QWorkArea is always able to draw (link to
workArea::WorkAreaResize).
- deleted superfluous debugging stuff
- deleted superfluous commented out code.
- placed all specific stuff (Qt-immodule, X11 and Mac OSX) in a
separate place at the end of QWorkArea.C.
- initial support for Wheel mouse (still does not work).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13348 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-12 17:29:34 +00:00
Lars Gullik Bjønnes
41cfebb8eb
src/frontends/qt4/ui/pch.h: new file
...
boost/libs/regex/src/Makefile.am: remove non-existant file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13343 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-12 08:52:08 +00:00
Martin Vermeer
b557e3790e
fix bug 2212: First change is skipped in Merge changes... dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13331 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 16:46:03 +00:00
Georg Baum
f02a98497d
fix bug 1955
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13322 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 14:51:28 +00:00
Georg Baum
9c5fcfa383
fix nullstream also in pch files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13311 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-07 10:02:07 +00:00
Lars Gullik Bjønnes
bd9c55944f
Update for boost::regex v4, add test
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13306 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-06 22:33:16 +00:00
Lars Gullik Bjønnes
0226612481
add svn:ignore
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13300 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-05 20:41:35 +00:00
Lars Gullik Bjønnes
0c21c114d4
setup the buildsystem for building qt4
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13295 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-05 17:29:08 +00:00
Lars Gullik Bjønnes
12e5a52b92
Added initial qt4 work by Abdelrazak Younes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13294 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-05 17:24:44 +00:00
John Spray
44fc7b62a5
window size tweak
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13262 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-20 18:12:01 +00:00
John Spray
b59621bc59
Rewording in GTK document dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13261 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-20 18:07:25 +00:00
John Spray
786759e106
Some work on GTK tabular dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13260 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-20 18:03:24 +00:00
John Spray
e4c3c00f80
revise layout
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13259 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-20 16:26:45 +00:00
John Spray
153c985ba2
grayscale and monochrome
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13258 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-20 16:26:23 +00:00
John Spray
757cb58173
Spellchecker options for gtk preferences dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13253 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-17 17:05:24 +00:00
John Spray
dfaf9a11a1
Fix update() of GTK wrap dialog for default placement
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13252 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-17 01:39:07 +00:00
John Spray
c822a28e39
Escape underscores in GTK menu labels
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13251 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-17 01:24:22 +00:00
John Spray
a67c5829cb
Fix spinbutton limits
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13250 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-17 00:53:30 +00:00
John Spray
01b554be2a
Fix rows and columns getting confused in table creation dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13249 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-17 00:52:58 +00:00
John Spray
b7039ba891
revert removal of update() from show() - I misunderstood.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13248 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-17 00:46:25 +00:00
John Spray
9aa58f9986
Make GCitation show selected keys even if they're not in
...
the list of bibkeys.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13247 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-16 19:31:03 +00:00
Jürgen Spitzmüller
414a11684e
code cosmetics to the iterator fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13242 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-15 14:12:54 +00:00
Jürgen Spitzmüller
36945644e7
fix crash due to invalidated iterator
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13241 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-15 11:13:37 +00:00
John Spray
5d14da2001
Fix double-updating, thus fixing GChanges skipping first change
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13240 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-14 16:14:33 +00:00
John Spray
5943449516
Add comments to mark questionable text encoding conversions
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13239 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-14 14:55:27 +00:00
John Spray
a50e83ea38
Fix copy and paste text encoding in GTK frontend
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13238 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-14 14:49:41 +00:00
John Spray
42843b1c02
...and the changelog entry.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13237 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-14 14:47:42 +00:00
John Spray
29e7776c34
Remove broken multibyte stuff from GTK frontend, make single-byte
...
stuff work properly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13236 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-14 14:46:22 +00:00
John Spray
72c40bc700
Try to make GPainter a bit more efficient
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13230 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-13 19:36:10 +00:00
John Spray
61133c4b56
Tweak layout in GToc
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13229 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-13 18:12:56 +00:00
John Spray
65ca7003ba
Fix event loop to no longer eat CPU
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13228 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-13 18:01:41 +00:00
John Spray
e820144307
Fix some font names getting mangled in GPreferences, as
...
pointed out by Bartok.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13227 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-13 17:51:11 +00:00
John Spray
b67c859551
Get lots of nice icons from the desktop theme
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13224 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-13 01:53:22 +00:00
John Spray
2bb8621129
Rearrange GTK icon lookup code, get rid of comboBoxTextSet
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13220 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-12 23:58:29 +00:00
John Spray
ed6d4b736f
Bartek Kostrzewa's fix for crash in GMenubar
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13217 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-12 16:03:55 +00:00
John Spray
17cc48720a
Make enter button work in GTK text dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13216 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-12 15:56:37 +00:00
John Spray
e073019bb8
Get rid of mnemonics on tabs in GTK document dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13215 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-12 15:55:48 +00:00
John Spray
12916902e0
Revamp GTK citation dialog appearance
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13214 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-12 15:55:07 +00:00
John Spray
45bd72333f
Try to fix GMenubar for UTF-8 locales
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13213 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-12 15:53:56 +00:00
John Spray
b6ab9d8886
Don't show preamble item in menus
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13212 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-12 15:52:16 +00:00
John Spray
134abbe788
More work on GPreferences
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13211 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-12 15:03:50 +00:00
Lars Gullik Bjønnes
4a7ab830bc
Delete all .cvsignore files from trunk
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13208 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-10 22:09:45 +00:00
John Spray
b3f859406a
Keyboard and graphics options in GTK preferences
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10825 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-07 22:29:13 +00:00
John Spray
ec0483b508
Tweak glade for GSearch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10824 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-07 22:21:13 +00:00
John Spray
ec195eb254
Fix sensitivity in GBibtex
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10823 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-07 22:20:37 +00:00
John Spray
78b20cb25a
Add items with double click in GCitation
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10822 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-07 10:42:10 +00:00
John Spray
3b19fb295a
Fix compilation of gtklengthentry
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10821 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-07 10:39:52 +00:00
John Spray
670fc3e2c5
Sexy new GTK about dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10820 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-07 00:48:47 +00:00
John Spray
d928a9d0a2
Whitespace
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10819 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-06 22:52:53 +00:00
John Spray
f3adb6ad82
Move some functions from ghelpers into gtklengthentry
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10818 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-06 22:51:24 +00:00
John Spray
f3341d73ee
GTK Bibtex dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10817 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-06 21:59:12 +00:00
John Spray
98dd757bbc
Little more work on GTK document dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10816 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-06 21:54:10 +00:00
John Spray
ca90f64323
Use GtkLengthEntry in GGraphics, tweak glade a little
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10815 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-06 21:46:25 +00:00
John Spray
09c0c8ce12
clean up GPreferences
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10812 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-05 23:21:26 +00:00
John Spray
a94ebc1c53
Use GtkLengthEntry in GTK vspace, document dialogs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10811 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-05 22:05:24 +00:00
John Spray
6c69baf809
Fix packing options in GtkLengthEntry
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10810 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-05 22:00:37 +00:00
John Spray
c0d288c88b
Start work on GTK preferences dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10809 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-05 21:57:17 +00:00
Jürgen Spitzmüller
7bf040cb7e
layout fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10794 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-29 14:07:10 +00:00
John Spray
555db1ce35
preamble editing in GTK document dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10789 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-28 18:32:38 +00:00
John Spray
d07928baf5
add GTK wrap dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10788 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-28 16:42:18 +00:00
John Spray
37d42d45f3
Continue to improve GtkLengthEntry
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10787 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-28 16:37:19 +00:00
John Spray
2ce904c93a
Berhard's fixes to GTK citation dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10786 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-28 16:32:40 +00:00
John Spray
b1f5c8c2e8
Temporarily comment out some gtkmm 2.6 stuff.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10785 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-28 15:07:29 +00:00
John Spray
fd2124c83d
Use Gtk::ComboBoxText::clear() instead of clear_items(), which only exists in newer gtkmm
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10783 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-28 11:52:13 +00:00
John Spray
d62eeda965
Bernhard's GTK Branch dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10780 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-27 10:26:31 +00:00
Georg Baum
c21692f191
compile fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10776 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-25 14:12:32 +00:00
John Spray
bf1f75ca68
Typo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10773 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-24 14:42:46 +00:00
John Spray
d3b2da29c1
Remove all xforms code from gtk frontends
...
Add GTabular class
Add GtkLengthEntry class
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10772 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-24 14:05:09 +00:00
John Spray
4d753da194
Replace xformsImage with LyXGdkImage in GTK frontend
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10771 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-24 11:18:54 +00:00
John Spray
5822d76b50
Rename some confusing variables (nested same-name variables)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10765 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-21 21:38:32 +00:00
John Spray
b9963e1a57
GTK graphics dialog: Default to scaling 100% when no scaling or size is given
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10764 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-21 20:48:26 +00:00
John Spray
8d74dd26d8
Make GTK alert dialogs use the titles they're passed
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10763 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-21 20:43:07 +00:00
John Spray
9c477c6427
more work on GTK document dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10762 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-21 20:30:26 +00:00
John Spray
9ee46b846e
Add GTK bibitem dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10761 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-21 20:06:38 +00:00
John Spray
465b672789
Add Bernhard's GTK+ citation dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10760 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-21 11:10:33 +00:00
Jean-Marc Lasgouttes
2486c96b8d
cleanup some debug messages
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10757 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-19 15:49:21 +00:00
Jürgen Spitzmüller
10a5c58dbd
restore double clicking in the QRefs dialog (bug 2194), plus some small ui fixes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10714 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-08 10:57:31 +00:00
Lars Gullik Bjønnes
863e0fc180
make the dbg messages a tiny bit clearer
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10668 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-18 18:39:42 +00:00
Jean-Marc Lasgouttes
aaf24e32e9
unify paper size names
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10660 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-14 15:27:57 +00:00
Jürgen Spitzmüller
9bd413bfd7
fix bug 2148 (preferences saves wrong papersizes); also finally dispose dead PAPER_PACKAGES enum
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10657 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-12 11:13:03 +00:00
Jean-Marc Lasgouttes
2688ee7626
improve warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10634 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-30 10:51:02 +00:00
Michael Schmitt
08985cf16f
remove dummy captions; fix text message
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10629 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-28 18:58:16 +00:00
Martin Vermeer
9beb07356b
Fig bug 1966: uncontrollable scrolling
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10623 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-26 20:28:38 +00:00
Angus Leeming
d9f29afe1c
Trivial fixes to some warnings thrown up by MSVS.Net 2003.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10585 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-02 20:11:36 +00:00
Angus Leeming
52c945af74
Don't unlock QApplication's mutex as it leads to undefined behaviour (and crashes NetBSD).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10560 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-19 15:07:36 +00:00
Georg Baum
56c6e2f621
fix bug 2086
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10556 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-17 08:30:37 +00:00
Georg Baum
0688b5face
new files for gtk thesaurus dialog from Bernhard Reiter
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10555 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-14 15:59:20 +00:00
Georg Baum
e9b54d910b
add gtk thesaurus dialog from Bernhard Reiter
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10554 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-14 15:58:29 +00:00
Martin Vermeer
ebcb289b7c
The speedup patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10528 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-07 12:00:41 +00:00
Jürgen Spitzmüller
32f30b6aee
small fix for the qcitation dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10526 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-06 08:44:03 +00:00
Jean-Marc Lasgouttes
03eed1b8ba
bug 2062: Spellcheck stops at ligature breaks without warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10524 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-05 13:44:17 +00:00
Jean-Marc Lasgouttes
141e4d0e7b
make sure that word at cursor position is checked too. (bug 2063)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10523 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-05 12:00:03 +00:00
Angus Leeming
f7713f7011
Squash compiler warnings.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10521 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-05 08:41:28 +00:00
Jürgen Spitzmüller
2df2f11f5d
fix bug 1894 (disabling of widgets broken)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10511 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-03 10:37:28 +00:00
Martin Vermeer
3752f82762
Fix bug 2038 for all three frontends (gtk untested)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10506 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-02 16:35:56 +00:00
Jürgen Spitzmüller
6a943418d3
fix disabling of newpageCB
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10486 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-26 18:42:54 +00:00
Jean-Marc Lasgouttes
27195721f0
do not try to se the icon under Qt/Mac
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10477 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-22 08:33:19 +00:00
Jean-Marc Lasgouttes
81efcd9cf6
fix compiler warnings (bug 1927)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10465 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-20 08:31:37 +00:00
Jürgen Spitzmüller
f61e2b3ad9
update bufferview after document settings have been applied (bug 2023)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10447 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-15 14:56:28 +00:00
Jürgen Spitzmüller
fd69d1cfe9
fix citation backward searching (bug 2002)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10443 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-15 10:48:14 +00:00
Angus Leeming
251f834995
Ensure that the grammar used to invoke the spellchecker is consistent.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10425 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-08 09:20:16 +00:00
Angus Leeming
e2a6073643
Enable TeXFiles.sh to run when its path contains spaces.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10417 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-07 09:01:15 +00:00
Michael Schmitt
8cc74b918e
remove obsolete file
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10401 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-19 17:17:23 +00:00
Angus Leeming
15d6e2a670
Ensure that the rotation origin strings are translatable.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10392 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-07 21:30:21 +00:00
Angus Leeming
0b63d5a8d0
Give the browse button a sane tooltip.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10391 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-07 21:29:54 +00:00
John Spray
03672d1484
Add GTK Reference dialog (GRef)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10389 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-05 07:20:38 +00:00
Jean-Marc Lasgouttes
b039292c74
improvie two spellchecker error dialogs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10388 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-04 12:51:43 +00:00
John Spray
7454536793
Fix font_metrics::width crashing on strings it doesn't understand
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10386 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-03 07:47:54 +00:00
Jean-Marc Lasgouttes
f5ad20538a
compile error
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10385 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-02 22:45:54 +00:00
John Spray
9d3d5d016f
Add height/4 to scrolling maximum instead of height/2: prevent
...
overshooting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10383 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-02 21:14:23 +00:00
Martin Vermeer
bd71b5b95e
Scrollbar fixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10382 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-02 14:25:48 +00:00
John Spray
177f4a4666
Fix GTK TOC dialog so that it can do lists of figures etc again.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10378 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-31 22:43:27 +00:00
John Spray
a97abdf7d5
Add GTK stock icon support for RELOAD
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10377 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-31 20:38:01 +00:00
Jean-Marc Lasgouttes
a4fc781dcc
fix bug 1950: Spellchecker runs twice
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10367 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-28 10:26:33 +00:00
Jürgen Spitzmüller
c22fb327fc
Sort the files in the TeXInfo and BibTeX dialogs correctly and remove empty items (bug 1936)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10365 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-27 17:46:15 +00:00
Jürgen Spitzmüller
d7413b0f04
fix missing qstring->string translation. Thanks, Georg.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10364 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-27 17:11:17 +00:00
Jürgen Spitzmüller
7d978a119f
Do not use localized strings internally (bug 1870)
...
Someone please check the gtk TOC dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10363 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-27 15:22:08 +00:00
Georg Baum
267b209869
remove paperpackage stuff (fixes bug 1929)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10352 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-25 13:45:17 +00:00
Angus Leeming
00ef03a081
Disconnect two signals --- forward port from 1.3.x.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10351 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-23 21:54:49 +00:00
Angus Leeming
792636617d
Squash a bug spotted by Udo M��ller in the XForms find & replace dialog.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10348 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-22 16:51:54 +00:00
Angus Leeming
c3bf4f29f1
Various Qt UI tweaks.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10345 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-22 13:46:03 +00:00
Jürgen Spitzmüller
56eb1dbdb1
remove the paperpackage widgets from the qt and xforms frontend (bug 1929). John S., could you please do this in the gtk document dialog, too?
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10342 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-20 06:51:24 +00:00
Jean-Marc Lasgouttes
75c0ec1c42
revert earlier undocumented change (useful comment, isn't it?)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10322 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 12:15:33 +00:00
Angus Leeming
7704aa9055
Help Lars spell his name.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10311 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 08:04:50 +00:00
Jean-Marc Lasgouttes
fbd55b518a
fix file name when dropping files on windows; remove debug output from the Prefs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10308 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 00:29:12 +00:00
André Pönitz
3e1919e067
probably fixed bug 1561
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10298 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 23:03:01 +00:00
Jean-Marc Lasgouttes
a4fc1ae96d
try to account for non-existing symbol fonts
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10292 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 15:32:28 +00:00
José Matox
1de2bc6d79
couple of small fixes (they are not even mine).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10291 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 15:27:49 +00:00
Michael Schmitt
f6b917140d
Various text message changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10279 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 12:39:56 +00:00
Martin Vermeer
baa6723a40
Second Locale patch.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10275 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 11:58:54 +00:00
José Matox
9745fb8187
Remove the support for a4.sty, a4wide.sty and a4widemargins from lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10273 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 11:17:13 +00:00
André Pönitz
372365845d
some more inlining
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10259 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 18:25:58 +00:00
José Matox
a56bd0b8b1
Fix bug 886 and others not reported related with the document paper size.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10253 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 16:57:55 +00:00
André Pönitz
a5b556bdd6
make FontInfo & fontinfo(LyXFont const & f) inline
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10249 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 16:13:08 +00:00
André Pönitz
7e08de938a
other people's work
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10248 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 15:55:36 +00:00
André Pönitz
7173717c8c
rename qfont_loader and font_info to mathc LyX naming conventions
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10247 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 15:43:33 +00:00
Lars Gullik Bjønnes
ef8e527612
drop reLyX like it is hot, and setup to use tex2lyx instead (and remerged po files + no.po small update)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10244 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 15:18:14 +00:00
André Pönitz
46e3547945
simplify function calls
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10243 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 14:53:18 +00:00
André Pönitz
316b56e2bc
stylistic changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10239 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 11:58:12 +00:00
Jean-Marc Lasgouttes
4f96e3c41e
get rid of the lib/xfonts hack
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10238 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 11:06:12 +00:00
André Pönitz
3f54e51eb3
* lyxfont.h: Change order of declarations to give the compiler
...
a better chance to inline things
* lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
questions on unsaved docs for better scritability
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10236 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 10:35:43 +00:00
André Pönitz
282f86fbb1
send UpdatableInset down the way of the Dodo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10228 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 22:10:25 +00:00
José Matox
a46bc98efd
Add pch.h.gch* to .cvsignore
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10209 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 14:32:14 +00:00
Lars Gullik Bjønnes
3af720c5a0
dist pch.h and mark PCH_FILE as built file
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10179 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-14 10:57:44 +00:00
Lars Gullik Bjønnes
5020cae63f
pretend success when srcdir != builddir
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10177 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-13 20:07:23 +00:00
Lars Gullik Bjønnes
a78c91bdbb
make sure to dist pch.h and mark PCH_FILE as a built file
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10173 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-12 23:42:23 +00:00
Angus Leeming
5ae47a84eb
Squash the Qt "Mutex destroy failure" warning.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10170 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-12 11:33:56 +00:00
Jean-Marc Lasgouttes
a72f2eda2d
add boldsymbol to Qt math panel
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10136 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-06 12:22:59 +00:00
Jürgen Spitzmüller
dd1d850e93
localize date/time
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10129 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-05 09:01:52 +00:00
Jürgen Spitzmüller
200435f2d9
fix bug 1870 (List of tables windows shows list of figures)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10125 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-04 13:05:03 +00:00
Jürgen Spitzmüller
9e4f1421a2
use bformat
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10123 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-04 12:28:36 +00:00
Jürgen Spitzmüller
9e3ae6b327
fix "change tracker microbug" reported by Helge
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10117 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-01 17:19:42 +00:00
Jean-Marc Lasgouttes
58f654142c
add missing getext marks
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10112 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-30 13:45:01 +00:00
Jean-Marc Lasgouttes
97d84f7589
change order of #includes so that USE_LYX_FONTCACHE has a meaningful value
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10096 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-21 13:10:59 +00:00
Angus Leeming
24e4fbfb15
Fix Cygwin compile problem
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10088 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-20 06:37:13 +00:00
Angus Leeming
029c5c4732
'Forward port' various path fixes from the 1.3.x branch.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10084 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-18 00:18:29 +00:00
Jean-Marc Lasgouttes
d8c516a729
revert stupid patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10074 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-16 14:18:18 +00:00
Jean-Marc Lasgouttes
810fbe89aa
plug two memory leaks
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10069 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-16 09:44:13 +00:00
Jean-Marc Lasgouttes
62022d5441
do not cache font width with recent Qt versions
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10043 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-10 14:53:42 +00:00
Angus Leeming
70572847e2
Whitespace, only whitespace. s/ +$//
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10024 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-09 09:58:08 +00:00
Martin Vermeer
a85913d21a
Lars's key input queue
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9999 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-06 12:34:28 +00:00
Jürgen Spitzmüller
cda2de1a4f
limit qt-immodule fixes (bug 1830) to qt/x11
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9996 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-03 09:25:46 +00:00
Jean-Marc Lasgouttes
4fb36820b2
improve selection of range when using the errorlist dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9994 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-03 08:48:04 +00:00
Angus Leeming
7598e0b791
Fix QString -> std::string compilation problem.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9988 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-31 22:06:07 +00:00