Commit Graph

4142 Commits

Author SHA1 Message Date
Abdelrazak Younes
738d5b06ba * qt4/DialogView.h: new template class based on QDialog.
* qt4/Dialogs.cpp: use DialogView by default instead of DockView for GuiParagraph


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20534 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 11:27:52 +00:00
Abdelrazak Younes
c2b6823b2f minor tweaks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20533 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 10:44:29 +00:00
Abdelrazak Younes
580738caec Fix Qt4.1 compil error.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20532 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 10:00:12 +00:00
Abdelrazak Younes
98b47fdc85 Gives the user some information about the crash.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20531 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 09:49:14 +00:00
Abdelrazak Younes
097ca4b228 Change the paragraph settings dialog:
- now floating by default
- re-layout horizontally for minimum mouse movement.
- allow key shortcuts.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20530 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 08:56:18 +00:00
Abdelrazak Younes
c1540f8d92 more bug fixes...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20524 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 20:18:41 +00:00
Abdelrazak Younes
804b85af43 Crash fix for in mathed cursor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20523 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 19:45:17 +00:00
Abdelrazak Younes
3545dc0ee3 Potential bug fix...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20517 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 14:50:35 +00:00
Abdelrazak Younes
66b5fb67b3 Potential bug fix...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20516 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 14:47:47 +00:00
Abdelrazak Younes
a29371bf47 compil fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20515 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 14:39:10 +00:00
Abdelrazak Younes
5b2415b594 Potential bug fix...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20514 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 14:37:26 +00:00
Abdelrazak Younes
2e2d67a7de Redesign and cleanup the Paragraph Settings dialog:
- GuiParagraphDialog: Renamed to GuiParagraph
- Now use the DockView infrastructure (and is thus docked by default)
- Additional mode for immediate application of changed parameters.

Some bits are missing due to some remaining bugs in the GUI dialog updating following the big GUII cleanup.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20513 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 13:13:01 +00:00
Abdelrazak Younes
960af372a8 De-serialization of the paragraph settings dialog step 3: fix the multi-paragraph selection case.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20512 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 08:40:16 +00:00
Abdelrazak Younes
67206b5d60 De-serialization of the paragraph settings dialog step 2: the dialog does not have to be modal anymore.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20511 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 07:38:09 +00:00
Abdelrazak Younes
38421f8022 De-serialization of the paragraph settings dialog step 1: use current paragraph directly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20510 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 07:34:57 +00:00
Uwe Stöhr
2c885f9a6d GuiWrap.cpp: disconnect the widgets that are by default disabled from readonly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20509 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-25 23:50:55 +00:00
Uwe Stöhr
21c4d09a19 GuiWrap: make the optional options really optional by checkboxes in the dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20478 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-24 22:35:00 +00:00
Uwe Stöhr
b7d0510502 Fileformat increased to 287: support for optional arguments of package wrapfig that is used for wrap floats
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20462 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-24 13:43:58 +00:00
Uwe Stöhr
63d05dbff4 GuiBox.cpp: fix bug 4233 http://bugzilla.lyx.org/show_bug.cgi?id=4233
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20460 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-24 11:44:19 +00:00
Uwe Stöhr
bf57381fb4 GuiDocument.cpp: - replace bookmarkslevel edit field by a spinbox (by Pavel)
- fix the pagemode handling

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20442 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-22 22:20:15 +00:00
Uwe Stöhr
65a9b1a683 PDFOptions: replace bookmarkslevel edit field by a spinbox (by Pavel)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20441 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-22 22:18:44 +00:00
Richard Heck
9eb79dcfe5 Silence a warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20434 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-22 15:56:26 +00:00
Uwe Stöhr
f675f011be PDF-support patches by Pavel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20429 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-22 11:39:19 +00:00
Uwe Stöhr
77f4172bb2 PDFSupportUi.ui: set styles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20426 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-22 00:34:18 +00:00
Abdelrazak Younes
24a74bdb53 * GuiApplication::notify():
- don't crash with abort() but exit gracefully when an exception is caught.
- try to catch LyX specific exceptions.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20419 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 20:27:07 +00:00
Richard Heck
9997fdda53 Fix some typos that were preventing compilation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20402 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 01:00:31 +00:00
Uwe Stöhr
4826b931b5 add the missing PDFSupportUi.ui
but the PDF stuff still doesn't compile

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20399 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 23:45:29 +00:00
André Pönitz
3ff14b8300 Pavel Sanda's "PDFOptions" patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20389 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 22:31:18 +00:00
Richard Heck
c18108d92b Silence a warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20365 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 04:27:16 +00:00
André Pönitz
978f65391e reduce #includes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20363 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-19 22:37:22 +00:00
André Pönitz
72fe3d9fc1 One more second..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20362 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-19 21:28:11 +00:00
André Pönitz
b6a33822e5 Simpler structure, 2-3s faster compiles. Not that it matters much...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20361 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-19 21:10:00 +00:00
André Pönitz
1f0f9f75fe cut down pch.h to more frequently needed headers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20360 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-19 20:17:00 +00:00
Edwin Leuven
cf4679b1da oops! fix case
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20359 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-19 14:59:42 +00:00
Edwin Leuven
a229ecb226 another small layout tweak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20358 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-19 12:29:08 +00:00
Edwin Leuven
cc9e364d83 make sure formats are sorted and converters up-to-date
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20357 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-19 10:16:44 +00:00
Edwin Leuven
95169237dc layout tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20356 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-19 09:08:07 +00:00
Richard Heck
e020bc1806 Fulfill promise to Andre: TextClass_ptr --> TextClassPtr.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20349 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-18 17:46:14 +00:00
André Pönitz
a81782869e compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20333 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-17 23:00:53 +00:00
Abdelrazak Younes
74acf6b528 Cleanup the TEXT_TO_INSET_OFFSET mess. This correction is done now once in InsetText. Various other cleanup resulting from this change. In particular, pave the way to the removal of Dimension Inset::dim_ member by registering the inset dimension in RowPainter::paintInset() instead of InsetXXX::draw().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20326 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-17 21:45:14 +00:00
André Pönitz
f86525fc2e simplify KeySymbol stuff. which hopefully works...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20322 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-17 18:41:03 +00:00
André Pönitz
1e62913610 cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20319 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-16 20:58:22 +00:00
Lars Gullik Bjønnes
7d6269a440 Move encode into anon namespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20306 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-16 10:38:59 +00:00
Lars Gullik Bjønnes
26f336769a Remove warnings reported with gcc 4.3:
- Modifier on return type ignored
	- Ambigous else
	- Ambigous logical operators
	- Semi-colon instead of empty block
	- Missing header files
	- Missing using std::XX
	- Initialization out of order


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20304 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-16 10:36:57 +00:00
André Pönitz
150b11e953 Why would boost::array<Bullet, 4> be better than Bullet[4]?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20301 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 23:04:28 +00:00
André Pönitz
fe2085b0e1 consmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20300 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 22:56:09 +00:00
André Pönitz
8e44e482c4 forgot these
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20299 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 20:32:38 +00:00
André Pönitz
50de85396c some remnaming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20298 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 20:31:50 +00:00
Bo Peng
93196b1f73 Embedding: add a check box to InsetGraphic and show/change embedding status
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20297 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 18:31:32 +00:00
André Pönitz
d348b0183b Rename class socket_callback into SocketCallback; adjust buidl systems;
prevent double deletion of socket notifier


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20296 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 17:47:35 +00:00