2006-03-05 17:24:44 +00:00
|
|
|
include $(top_srcdir)/config/common.am
|
|
|
|
|
2007-08-11 15:48:15 +00:00
|
|
|
BUILT_SOURCES = $(UIFILES:%.ui=ui_%.h)
|
2007-08-10 23:19:07 +00:00
|
|
|
BUILT_SOURCES += $(MOCEDFILES)
|
2007-10-22 13:58:13 +00:00
|
|
|
BUILT_SOURCES += Resources.cpp Resources.qrc
|
2006-05-18 09:37:35 +00:00
|
|
|
|
2008-02-07 13:45:40 +00:00
|
|
|
CLEANFILES += $(BUILT_SOURCES)
|
|
|
|
|
2007-10-03 21:56:32 +00:00
|
|
|
######################### Qt stuff #############################
|
2007-08-10 23:19:07 +00:00
|
|
|
# Use _() for localization instead of tr() or trUtf8()
|
|
|
|
UIC4FLAGS=-tr lyx::qt_
|
|
|
|
|
2011-05-04 18:51:15 +00:00
|
|
|
# The ui_%.h pattern must match the filter in ../../../po/Rules-lyx
|
2007-08-11 15:48:15 +00:00
|
|
|
ui_%.h: ui/%.ui
|
2009-11-30 14:18:25 +00:00
|
|
|
$(AM_V_GEN)$(UIC4) $(UIC4FLAGS) $< -o $@
|
2006-05-18 08:51:12 +00:00
|
|
|
|
2008-11-14 14:28:50 +00:00
|
|
|
MOCEDFILES = $(MOCHEADER:%.h=moc_%.cpp)
|
2006-05-18 08:51:12 +00:00
|
|
|
|
2011-06-08 19:45:52 +00:00
|
|
|
QT_VERSION = $(shell IFS=.; set -- `echo $(QT4_VERSION)`; \
|
|
|
|
echo 0x0`echo "obase=16; $$1*65536+$$2*256+$$3" | bc`)
|
|
|
|
|
2011-05-04 18:51:15 +00:00
|
|
|
# The moc_%.cpp pattern must match the filter in ../../../po/Rules-lyx
|
2008-11-14 14:28:50 +00:00
|
|
|
moc_%.cpp: %.h
|
2011-06-08 19:45:52 +00:00
|
|
|
$(AM_V_GEN)$(MOC4) -DQT_VERSION=$(QT_VERSION) -o $@ $<
|
2006-05-18 08:51:12 +00:00
|
|
|
|
2007-10-03 21:56:32 +00:00
|
|
|
Resources.qrc: Makefile
|
2009-11-30 14:18:25 +00:00
|
|
|
$(AM_V_GEN)echo "<!DOCTYPE RCC><RCC version='1.0'><qresource>" > $@ ; \
|
2011-02-03 21:16:41 +00:00
|
|
|
find $(top_srcdir)/lib/images -name '*.png' -o -name '*.gif' \
|
2007-10-03 21:56:32 +00:00
|
|
|
| sed -e 's:$(top_srcdir)/lib/\(.*\):<file alias="\1">&</file>:' \
|
2009-11-30 14:18:25 +00:00
|
|
|
>> $@ ;\
|
2007-10-03 21:56:32 +00:00
|
|
|
echo "</qresource></RCC>" >> $@
|
|
|
|
|
|
|
|
Resources.cpp: Resources.qrc
|
2009-11-30 14:18:25 +00:00
|
|
|
$(AM_V_GEN)$(RCC4) $< -name Resources -o $@
|
2007-10-03 21:56:32 +00:00
|
|
|
|
|
|
|
|
2007-08-10 23:19:07 +00:00
|
|
|
######################### LIBRARIES #############################
|
2006-03-05 17:24:44 +00:00
|
|
|
|
2008-11-15 17:45:55 +00:00
|
|
|
noinst_LIBRARIES = liblyxqt4.a
|
2006-03-05 17:24:44 +00:00
|
|
|
|
2008-11-15 17:45:55 +00:00
|
|
|
liblyxqt4_a_DEPENDENCIES = $(MOCEDFILES)
|
2007-08-10 23:19:07 +00:00
|
|
|
|
2006-03-05 17:24:44 +00:00
|
|
|
AM_CPPFLAGS += \
|
|
|
|
$(QT4_CPPFLAGS) \
|
2008-09-20 11:47:38 +00:00
|
|
|
-DQT_NO_CAST_TO_ASCII \
|
|
|
|
-DQT_NO_STL \
|
2006-03-05 17:24:44 +00:00
|
|
|
-I$(top_srcdir)/src \
|
|
|
|
-I$(top_srcdir)/src/frontends \
|
|
|
|
-I$(top_srcdir)/images \
|
2007-11-02 18:14:49 +00:00
|
|
|
$(QT4_INCLUDES) $(BOOST_INCLUDES)
|
2006-03-05 17:24:44 +00:00
|
|
|
|
2007-08-19 09:44:34 +00:00
|
|
|
SOURCEFILES = \
|
2007-11-22 08:01:09 +00:00
|
|
|
ButtonPolicy.cpp \
|
|
|
|
ButtonPolicy.h \
|
|
|
|
Dialog.cpp \
|
|
|
|
Dialog.h \
|
2007-10-03 21:56:32 +00:00
|
|
|
Resources.cpp \
|
2007-08-31 05:53:55 +00:00
|
|
|
Action.cpp \
|
|
|
|
BulletsModule.cpp \
|
2007-09-03 05:59:32 +00:00
|
|
|
ButtonController.cpp \
|
2007-08-31 05:53:55 +00:00
|
|
|
ColorCache.cpp \
|
2007-10-25 03:08:22 +00:00
|
|
|
CustomizedWidgets.cpp \
|
2007-08-31 05:53:55 +00:00
|
|
|
EmptyTable.cpp \
|
2011-06-05 17:51:02 +00:00
|
|
|
FancyLineEdit.cpp \
|
2007-08-11 23:36:42 +00:00
|
|
|
FileDialog.cpp \
|
2008-11-16 01:20:34 +00:00
|
|
|
FindAndReplace.cpp \
|
2007-08-31 05:53:55 +00:00
|
|
|
FloatPlacement.cpp \
|
|
|
|
GuiAbout.cpp \
|
2007-11-13 23:50:28 +00:00
|
|
|
GuiAlert.cpp \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiApplication.cpp \
|
|
|
|
GuiBibitem.cpp \
|
|
|
|
GuiBibtex.cpp \
|
|
|
|
GuiBox.cpp \
|
|
|
|
GuiBranch.cpp \
|
|
|
|
GuiBranches.cpp \
|
|
|
|
GuiChanges.cpp \
|
|
|
|
GuiCharacter.cpp \
|
|
|
|
GuiCitation.cpp \
|
2007-08-11 23:36:42 +00:00
|
|
|
GuiClipboard.cpp \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiCommandBuffer.cpp \
|
|
|
|
GuiCommandEdit.cpp \
|
2009-10-24 15:47:05 +00:00
|
|
|
GuiCompare.cpp \
|
2010-09-07 11:28:57 +00:00
|
|
|
GuiCompareHistory.cpp \
|
2008-02-21 19:42:34 +00:00
|
|
|
GuiCompleter.cpp \
|
2007-08-31 22:37:05 +00:00
|
|
|
GuiDelimiter.cpp \
|
2007-09-03 05:59:32 +00:00
|
|
|
GuiDialog.cpp \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiDocument.cpp \
|
|
|
|
GuiErrorList.cpp \
|
|
|
|
GuiERT.cpp \
|
|
|
|
GuiExternal.cpp \
|
|
|
|
GuiFontExample.cpp \
|
2007-08-11 23:36:42 +00:00
|
|
|
GuiFontLoader.cpp \
|
|
|
|
GuiFontMetrics.cpp \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiGraphics.cpp \
|
*** File Format Change: UI and enhancement for InsetSpace ***
* src/insets/InsetSpace.{cpp,h}:
- merge in HFill inset, add support for dotfill, hrulefill,
hspace and hspace*
* src/insets/InsetHFill.{cpp,h}:
- remove
* src/frontends/qt4/GuiHSpace.{cpp,h}:
* src/frontends/qt4/ui/HSpaceUi.ui:
* src/frontends/qt4/GuiView:
- new GUI for Space insets.
* src/insets/Inset.{cpp,h}:
* src/insets/InsetCode.h:
* src/insets/InsetCollapsable.cpp:
* src/insets/InsetCommandParams.cpp:
- remove HFILL_CODE and LFUN_HFILL_INSERT, add SPACE_CODE where necessary,
new Inset member isStretchableSpace() to indicate HFill and friends.
* Buffer.cpp:
- increase format to 319
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- conversion/reversion routines
* development/FORMAT:
- document file format change
* src/Makefile.am:
* src/frontends/qt4/Makefile.am:
* development/scons/scons_manifest.py:
- deal with UI changes.
* src/LyXAction.cpp:
- remove LFUN_HFILL_INSERT
* src/LyXFunc.cpp:
- handle space dialog.
* src/factory.cpp:
* src/Paragraph.cpp (isHFill):
* src/Text.cpp:
* src/Text3.cpp:
* src/TextMetrics.cpp:
- adapt to changes
* lib/ui/classic.ui:
* lib/ui/stdmenus.ui:
- add HSpace dialog, remove HFill.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23787 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 09:23:43 +00:00
|
|
|
GuiHSpace.cpp \
|
2007-10-13 19:06:09 +00:00
|
|
|
GuiHyperlink.cpp \
|
This commit changes the way individual LyXModule's are represented, both internally and in the .lyx files. The earlier version represented them by their `descriptive name', e.g., "Endnote" or "Theorems (AMS)", these being the same names used in the UI. This was a mistake, as becomes readily apparent when one starts to think about translating these strings. The modules ought to be represented by their filename, without the extension, just as TextClass's are.
The changes that accomplish this part are in ModuleList.{h,cpp}, configure.py, and the *.module files themselves. This is a format change, and the lyx2lyx is in those files.
By itself, that change would not be major, except for the fact that we do not want the module to be represented in the UI by its filename---e.g., theorems-std---but rather by a descriptive name, such as "Theorems". But that change turns out to be wholly non-trivial. The mechanism for choosing modules was the same as---indeed, was borrowed from---that in GuiCitation: You get a list of modules, and choosing them involves moving strings from one QListView to another. The models underlying these views are just QStringListModels, which means that, when you want to know what modules have been selected, you see what strings are in the "selected" QListView. But these are just the descriptive names, and we can't look up a module by its descriptive name if it's been translated. That, indeed, was the whole point of the change to the new representation.
So, we need a more complicated model underlying the QListView, one that will pair an identifying string---the filename minus the extension, in this case---with each item. This turns out not to be terribly difficult, though it took rather a while for me to understand why it's not difficult. There are two parts:
(i) GuiSelectionManger gets re-written to use any QAbstractListModel, not just a QStringListModel. This actually seems to improve the code, independently.
(ii) We then subclass QAbstractListModel to get the associated ID string, using the Qt::UserRole slot associated with each item to store its ID. This would be almost completely trivial if QAbstractListItem::itemData() included the QVariant associated with this role, but it doesn't, so there are some additional hoops through which to jump.
The new model, a GuiIdListModel, is defined in the files by that name. The changes in GuiSelectionManger.{h,cpp} make it more abstract; the changes in GuiDocument.{h,cpp} adapt it to the new framework.
I've also updated the module documenation to accord with this change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22501 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 04:28:12 +00:00
|
|
|
GuiIdListModel.cpp \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiImage.cpp \
|
|
|
|
GuiInclude.cpp \
|
2009-04-17 09:22:44 +00:00
|
|
|
GuiIndex.cpp \
|
2009-04-16 07:29:01 +00:00
|
|
|
GuiIndices.cpp \
|
2008-06-05 15:08:46 +00:00
|
|
|
GuiInfo.cpp \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiKeySymbol.cpp \
|
2008-02-14 18:06:47 +00:00
|
|
|
GuiLabel.cpp \
|
2010-09-07 00:41:00 +00:00
|
|
|
GuiLine.cpp \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiListings.cpp \
|
|
|
|
GuiLog.cpp \
|
2007-08-31 22:37:05 +00:00
|
|
|
GuiMathMatrix.cpp \
|
2010-10-27 20:05:38 +00:00
|
|
|
GuiNomenclature.cpp \
|
2009-01-25 23:50:54 +00:00
|
|
|
GuiNote.cpp \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiPainter.cpp \
|
|
|
|
GuiParagraph.cpp \
|
2009-02-05 18:09:36 +00:00
|
|
|
GuiPhantom.cpp \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiPrefs.cpp \
|
|
|
|
GuiPrint.cpp \
|
2009-04-17 14:29:32 +00:00
|
|
|
GuiPrintindex.cpp \
|
2009-05-22 16:26:15 +00:00
|
|
|
GuiPrintNomencl.cpp \
|
2009-12-20 15:04:20 +00:00
|
|
|
GuiProgress.cpp \
|
2009-12-22 10:33:01 +00:00
|
|
|
GuiProgressView.cpp \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiRef.cpp \
|
|
|
|
GuiSearch.cpp \
|
|
|
|
GuiSelection.cpp \
|
|
|
|
GuiSelectionManager.cpp \
|
|
|
|
GuiSendto.cpp \
|
|
|
|
GuiSetBorder.cpp \
|
|
|
|
GuiShowFile.cpp \
|
|
|
|
GuiSpellchecker.cpp \
|
2008-02-07 13:18:07 +00:00
|
|
|
GuiSymbols.cpp \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiTabular.cpp \
|
|
|
|
GuiTabularCreate.cpp \
|
|
|
|
GuiTexinfo.cpp \
|
|
|
|
GuiThesaurus.cpp \
|
|
|
|
GuiToc.cpp \
|
|
|
|
GuiToolbar.cpp \
|
2007-08-11 20:55:10 +00:00
|
|
|
GuiView.cpp \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiViewSource.cpp \
|
|
|
|
GuiVSpace.cpp \
|
2007-08-11 20:55:10 +00:00
|
|
|
GuiWorkArea.cpp \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiWrap.cpp \
|
2007-08-11 20:55:10 +00:00
|
|
|
IconPalette.cpp \
|
2010-10-21 01:15:12 +00:00
|
|
|
InGuiThread.cpp \
|
2007-08-11 20:55:10 +00:00
|
|
|
InsertTableWidget.cpp \
|
2010-02-15 23:17:45 +00:00
|
|
|
InsetParamsDialog.cpp \
|
|
|
|
InsetParamsWidget.cpp \
|
2007-08-11 20:55:10 +00:00
|
|
|
LengthCombo.cpp \
|
|
|
|
LyXFileDialog.cpp \
|
2007-10-06 19:03:41 +00:00
|
|
|
LaTeXHighlighter.cpp \
|
2009-08-12 21:51:10 +00:00
|
|
|
LayoutBox.cpp \
|
2007-12-26 10:55:43 +00:00
|
|
|
Menus.cpp \
|
2007-08-11 20:55:10 +00:00
|
|
|
PanelStack.cpp \
|
2007-08-31 05:53:55 +00:00
|
|
|
qt_helpers.cpp \
|
2007-08-19 09:44:34 +00:00
|
|
|
TocModel.cpp \
|
|
|
|
TocWidget.cpp \
|
2008-05-25 08:30:06 +00:00
|
|
|
Toolbars.cpp \
|
2007-08-19 09:44:34 +00:00
|
|
|
Validator.cpp
|
|
|
|
|
|
|
|
NOMOCHEADER = \
|
2007-09-03 05:59:32 +00:00
|
|
|
ButtonController.h \
|
2008-02-07 13:45:40 +00:00
|
|
|
ColorCache.h \
|
2008-03-05 20:11:47 +00:00
|
|
|
DialogView.h \
|
2008-02-07 13:45:40 +00:00
|
|
|
DockView.h \
|
2008-02-07 00:05:18 +00:00
|
|
|
FileDialog.h \
|
2008-02-07 13:45:40 +00:00
|
|
|
GuiFontExample.h \
|
2007-08-19 09:44:34 +00:00
|
|
|
GuiFontLoader.h \
|
|
|
|
GuiFontMetrics.h \
|
2008-02-07 13:45:40 +00:00
|
|
|
GuiIdListModel.h \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiImage.h \
|
2008-02-07 13:45:40 +00:00
|
|
|
GuiKeySymbol.h \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiPainter.h \
|
2011-10-17 08:57:28 +00:00
|
|
|
GuiWorkArea_Private.h \
|
2008-02-07 13:45:40 +00:00
|
|
|
LaTeXHighlighter.h \
|
2008-04-20 16:32:40 +00:00
|
|
|
qt_i18n.h \
|
2008-05-24 09:28:05 +00:00
|
|
|
qt_helpers.h \
|
2008-05-25 08:30:06 +00:00
|
|
|
Toolbars.h
|
2007-08-19 09:44:34 +00:00
|
|
|
|
|
|
|
MOCHEADER = \
|
|
|
|
Action.h \
|
|
|
|
BulletsModule.h \
|
2007-10-25 03:08:22 +00:00
|
|
|
CustomizedWidgets.h \
|
2007-08-19 09:44:34 +00:00
|
|
|
EmptyTable.h \
|
2011-06-05 17:51:02 +00:00
|
|
|
FancyLineEdit.h \
|
2008-11-16 01:20:34 +00:00
|
|
|
FindAndReplace.h \
|
2007-08-19 09:44:34 +00:00
|
|
|
FloatPlacement.h \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiAbout.h \
|
2007-08-19 09:44:34 +00:00
|
|
|
GuiApplication.h \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiBibitem.h \
|
|
|
|
GuiBibtex.h \
|
|
|
|
GuiBox.h \
|
|
|
|
GuiBranches.h \
|
|
|
|
GuiBranch.h \
|
|
|
|
GuiChanges.h \
|
|
|
|
GuiCharacter.h \
|
|
|
|
GuiCitation.h \
|
2007-09-30 20:28:15 +00:00
|
|
|
GuiClipboard.h \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiCommandBuffer.h \
|
|
|
|
GuiCommandEdit.h \
|
2009-10-24 15:47:05 +00:00
|
|
|
GuiCompare.h \
|
2010-09-07 11:28:57 +00:00
|
|
|
GuiCompareHistory.h \
|
2008-02-21 19:42:34 +00:00
|
|
|
GuiCompleter.h \
|
2007-08-31 22:37:05 +00:00
|
|
|
GuiDelimiter.h \
|
2007-09-03 05:59:32 +00:00
|
|
|
GuiDialog.h \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiDocument.h \
|
|
|
|
GuiErrorList.h \
|
|
|
|
GuiERT.h \
|
|
|
|
GuiExternal.h \
|
2007-08-31 22:16:11 +00:00
|
|
|
GuiGraphics.h \
|
*** File Format Change: UI and enhancement for InsetSpace ***
* src/insets/InsetSpace.{cpp,h}:
- merge in HFill inset, add support for dotfill, hrulefill,
hspace and hspace*
* src/insets/InsetHFill.{cpp,h}:
- remove
* src/frontends/qt4/GuiHSpace.{cpp,h}:
* src/frontends/qt4/ui/HSpaceUi.ui:
* src/frontends/qt4/GuiView:
- new GUI for Space insets.
* src/insets/Inset.{cpp,h}:
* src/insets/InsetCode.h:
* src/insets/InsetCollapsable.cpp:
* src/insets/InsetCommandParams.cpp:
- remove HFILL_CODE and LFUN_HFILL_INSERT, add SPACE_CODE where necessary,
new Inset member isStretchableSpace() to indicate HFill and friends.
* Buffer.cpp:
- increase format to 319
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- conversion/reversion routines
* development/FORMAT:
- document file format change
* src/Makefile.am:
* src/frontends/qt4/Makefile.am:
* development/scons/scons_manifest.py:
- deal with UI changes.
* src/LyXAction.cpp:
- remove LFUN_HFILL_INSERT
* src/LyXFunc.cpp:
- handle space dialog.
* src/factory.cpp:
* src/Paragraph.cpp (isHFill):
* src/Text.cpp:
* src/Text3.cpp:
* src/TextMetrics.cpp:
- adapt to changes
* lib/ui/classic.ui:
* lib/ui/stdmenus.ui:
- add HSpace dialog, remove HFill.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23787 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 09:23:43 +00:00
|
|
|
GuiHSpace.h \
|
2007-10-13 19:06:09 +00:00
|
|
|
GuiHyperlink.h \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiInclude.h \
|
2009-04-17 09:22:44 +00:00
|
|
|
GuiIndex.h \
|
2009-04-16 07:29:01 +00:00
|
|
|
GuiIndices.h \
|
2008-06-05 15:08:46 +00:00
|
|
|
GuiInfo.h \
|
2008-02-14 18:06:47 +00:00
|
|
|
GuiLabel.h \
|
2010-09-07 00:41:00 +00:00
|
|
|
GuiLine.h \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiListings.h \
|
|
|
|
GuiLog.h \
|
2007-08-31 22:37:05 +00:00
|
|
|
GuiMathMatrix.h \
|
2010-10-27 20:05:38 +00:00
|
|
|
GuiNomenclature.h \
|
2009-01-25 23:50:54 +00:00
|
|
|
GuiNote.h \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiParagraph.h \
|
2009-02-05 18:09:36 +00:00
|
|
|
GuiPhantom.h \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiPrefs.h \
|
2007-08-31 22:16:11 +00:00
|
|
|
GuiPrint.h \
|
2009-04-17 14:29:32 +00:00
|
|
|
GuiPrintindex.h \
|
2009-05-22 16:26:15 +00:00
|
|
|
GuiPrintNomencl.h \
|
2009-12-20 15:04:20 +00:00
|
|
|
GuiProgress.h \
|
2009-12-22 10:33:01 +00:00
|
|
|
GuiProgressView.h \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiRef.h \
|
|
|
|
GuiSearch.h \
|
2007-10-01 08:18:14 +00:00
|
|
|
GuiSelection.h \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiSelectionManager.h \
|
|
|
|
GuiSendto.h \
|
|
|
|
GuiSetBorder.h \
|
|
|
|
GuiShowFile.h \
|
|
|
|
GuiSpellchecker.h \
|
2008-02-07 13:18:07 +00:00
|
|
|
GuiSymbols.h \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiTabularCreate.h \
|
|
|
|
GuiTabular.h \
|
|
|
|
GuiTexinfo.h \
|
|
|
|
GuiThesaurus.h \
|
|
|
|
GuiToc.h \
|
|
|
|
GuiToolbar.h \
|
2007-08-19 09:44:34 +00:00
|
|
|
GuiView.h \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiViewSource.h \
|
|
|
|
GuiVSpace.h \
|
2007-08-19 09:44:34 +00:00
|
|
|
GuiWorkArea.h \
|
2007-08-31 05:53:55 +00:00
|
|
|
GuiWrap.h \
|
2007-08-19 09:44:34 +00:00
|
|
|
IconPalette.h \
|
2010-10-21 01:15:12 +00:00
|
|
|
InGuiThread.h \
|
2007-08-19 09:44:34 +00:00
|
|
|
InsertTableWidget.h \
|
2010-02-15 23:17:45 +00:00
|
|
|
InsetParamsDialog.h \
|
|
|
|
InsetParamsWidget.h \
|
2009-08-12 21:51:10 +00:00
|
|
|
LayoutBox.h \
|
2007-08-19 09:44:34 +00:00
|
|
|
LengthCombo.h \
|
|
|
|
LyXFileDialog.h \
|
2008-03-09 20:38:03 +00:00
|
|
|
Menus.h \
|
2007-08-19 09:44:34 +00:00
|
|
|
PanelStack.h \
|
2007-08-11 20:55:10 +00:00
|
|
|
TocModel.h \
|
|
|
|
TocWidget.h \
|
|
|
|
Validator.h
|
|
|
|
|
|
|
|
UIFILES = \
|
|
|
|
AboutUi.ui \
|
|
|
|
BibitemUi.ui \
|
|
|
|
BiblioUi.ui \
|
|
|
|
BibtexAddUi.ui \
|
|
|
|
BibtexUi.ui \
|
|
|
|
BoxUi.ui \
|
|
|
|
BranchesUi.ui \
|
2009-07-09 09:48:34 +00:00
|
|
|
BranchesUnknownUi.ui \
|
2007-08-11 20:55:10 +00:00
|
|
|
BranchUi.ui \
|
|
|
|
BulletsUi.ui \
|
|
|
|
ChangesUi.ui \
|
|
|
|
CharacterUi.ui \
|
|
|
|
CitationUi.ui \
|
2010-04-02 22:11:50 +00:00
|
|
|
ColorUi.ui \
|
2009-10-24 17:06:53 +00:00
|
|
|
CompareUi.ui \
|
2010-09-07 11:28:57 +00:00
|
|
|
CompareHistoryUi.ui \
|
2007-08-11 20:55:10 +00:00
|
|
|
DelimiterUi.ui \
|
|
|
|
DocumentUi.ui \
|
|
|
|
ErrorListUi.ui \
|
|
|
|
ERTUi.ui \
|
|
|
|
ExternalUi.ui \
|
2008-11-16 01:20:34 +00:00
|
|
|
FindAndReplaceUi.ui \
|
2007-08-11 20:55:10 +00:00
|
|
|
FloatPlacementUi.ui \
|
|
|
|
FontUi.ui \
|
|
|
|
GraphicsUi.ui \
|
*** File Format Change: UI and enhancement for InsetSpace ***
* src/insets/InsetSpace.{cpp,h}:
- merge in HFill inset, add support for dotfill, hrulefill,
hspace and hspace*
* src/insets/InsetHFill.{cpp,h}:
- remove
* src/frontends/qt4/GuiHSpace.{cpp,h}:
* src/frontends/qt4/ui/HSpaceUi.ui:
* src/frontends/qt4/GuiView:
- new GUI for Space insets.
* src/insets/Inset.{cpp,h}:
* src/insets/InsetCode.h:
* src/insets/InsetCollapsable.cpp:
* src/insets/InsetCommandParams.cpp:
- remove HFILL_CODE and LFUN_HFILL_INSERT, add SPACE_CODE where necessary,
new Inset member isStretchableSpace() to indicate HFill and friends.
* Buffer.cpp:
- increase format to 319
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- conversion/reversion routines
* development/FORMAT:
- document file format change
* src/Makefile.am:
* src/frontends/qt4/Makefile.am:
* development/scons/scons_manifest.py:
- deal with UI changes.
* src/LyXAction.cpp:
- remove LFUN_HFILL_INSERT
* src/LyXFunc.cpp:
- handle space dialog.
* src/factory.cpp:
* src/Paragraph.cpp (isHFill):
* src/Text.cpp:
* src/Text3.cpp:
* src/TextMetrics.cpp:
- adapt to changes
* lib/ui/classic.ui:
* lib/ui/stdmenus.ui:
- add HSpace dialog, remove HFill.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23787 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 09:23:43 +00:00
|
|
|
HSpaceUi.ui \
|
2007-10-13 19:06:09 +00:00
|
|
|
HyperlinkUi.ui \
|
2007-08-11 20:55:10 +00:00
|
|
|
IncludeUi.ui \
|
2009-04-17 09:22:44 +00:00
|
|
|
IndexUi.ui \
|
2009-04-16 07:29:01 +00:00
|
|
|
IndicesUi.ui \
|
2008-06-05 15:08:46 +00:00
|
|
|
InfoUi.ui \
|
2010-02-15 23:17:45 +00:00
|
|
|
InsetParamsUi.ui \
|
2008-02-14 18:06:47 +00:00
|
|
|
LabelUi.ui \
|
2007-08-11 20:55:10 +00:00
|
|
|
LanguageUi.ui \
|
|
|
|
LaTeXUi.ui \
|
2010-09-07 00:41:00 +00:00
|
|
|
LineUi.ui \
|
2007-08-11 20:55:10 +00:00
|
|
|
ListingsUi.ui \
|
2009-07-20 08:09:32 +00:00
|
|
|
ListingsSettingsUi.ui \
|
A UI for document-local layout information. LyX has supported this for a
while, but without any UI for it. (There has been local layout in the
Customization manual for a long time, in fact.)
Yes, this is an advanced feature. But, absent a layout editor, it is the
one thing that will make it easier, and possible, for "normal users" to
experiment with layout without having to go through reconfiguration,
etc, etc. To keep too many people from shooting themselves, we validate
the layout information before allowing the user to apply it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35061 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-05 22:47:42 +00:00
|
|
|
LocalLayoutUi.ui \
|
2007-08-11 20:55:10 +00:00
|
|
|
LogUi.ui \
|
|
|
|
MarginsUi.ui \
|
2010-01-07 10:01:26 +00:00
|
|
|
MasterChildUi.ui \
|
2007-08-11 20:55:10 +00:00
|
|
|
MathMatrixUi.ui \
|
|
|
|
MathsUi.ui \
|
2008-10-19 01:21:59 +00:00
|
|
|
ModulesUi.ui \
|
2007-08-11 20:55:10 +00:00
|
|
|
NomenclUi.ui \
|
|
|
|
NoteUi.ui \
|
|
|
|
NumberingUi.ui \
|
2009-04-10 11:06:53 +00:00
|
|
|
OutputUi.ui \
|
2007-08-11 20:55:10 +00:00
|
|
|
PageLayoutUi.ui \
|
|
|
|
ParagraphUi.ui \
|
2007-09-20 22:31:18 +00:00
|
|
|
PDFSupportUi.ui \
|
2009-02-05 18:09:36 +00:00
|
|
|
PhantomUi.ui \
|
2007-08-11 20:55:10 +00:00
|
|
|
PreambleUi.ui \
|
|
|
|
PrefColorsUi.ui \
|
2008-03-18 17:31:17 +00:00
|
|
|
PrefCompletionUi.ui \
|
2007-08-11 20:55:10 +00:00
|
|
|
PrefConvertersUi.ui \
|
2010-04-15 14:25:25 +00:00
|
|
|
PrefOutputUi.ui \
|
2007-08-11 20:55:10 +00:00
|
|
|
PrefDisplayUi.ui \
|
2008-03-15 22:12:19 +00:00
|
|
|
PrefEditUi.ui \
|
2007-08-11 20:55:10 +00:00
|
|
|
PrefFileformatsUi.ui \
|
|
|
|
PrefIdentityUi.ui \
|
2008-01-30 22:25:25 +00:00
|
|
|
PrefInputUi.ui \
|
2007-08-11 20:55:10 +00:00
|
|
|
PrefLanguageUi.ui \
|
|
|
|
PrefLatexUi.ui \
|
|
|
|
PrefPathsUi.ui \
|
|
|
|
PrefPrinterUi.ui \
|
|
|
|
PrefScreenFontsUi.ui \
|
2007-10-16 14:41:46 +00:00
|
|
|
PrefShortcutsUi.ui \
|
2007-08-11 20:55:10 +00:00
|
|
|
PrefSpellcheckerUi.ui \
|
|
|
|
PrefsUi.ui \
|
|
|
|
PrefUi.ui \
|
|
|
|
PrintUi.ui \
|
2009-04-17 14:29:32 +00:00
|
|
|
PrintindexUi.ui \
|
2009-05-22 16:26:15 +00:00
|
|
|
PrintNomenclUi.ui \
|
2009-12-28 21:40:14 +00:00
|
|
|
ProgressViewUi.ui \
|
2007-08-11 20:55:10 +00:00
|
|
|
RefUi.ui \
|
|
|
|
SearchUi.ui \
|
|
|
|
SendtoUi.ui \
|
2007-10-18 16:47:31 +00:00
|
|
|
ShortcutUi.ui \
|
2007-08-11 20:55:10 +00:00
|
|
|
ShowFileUi.ui \
|
|
|
|
SpellcheckerUi.ui \
|
2008-02-07 13:18:07 +00:00
|
|
|
SymbolsUi.ui \
|
2007-08-11 20:55:10 +00:00
|
|
|
TabularCreateUi.ui \
|
|
|
|
TabularUi.ui \
|
|
|
|
TexinfoUi.ui \
|
|
|
|
TextLayoutUi.ui \
|
|
|
|
ThesaurusUi.ui \
|
|
|
|
TocUi.ui \
|
2009-04-19 11:57:52 +00:00
|
|
|
ToggleWarningUi.ui \
|
2007-08-11 20:55:10 +00:00
|
|
|
ViewSourceUi.ui \
|
|
|
|
VSpaceUi.ui \
|
|
|
|
WrapUi.ui
|
2007-08-19 09:44:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
liblyxqt4.cpp:
|
|
|
|
@echo -e '$(SOURCEFILES:%=\n#include "%")\n' > $@
|
|
|
|
|
2008-05-04 22:43:32 +00:00
|
|
|
if MONOLITHIC_FRONTEND_QT4
|
|
|
|
|
2008-11-15 17:45:55 +00:00
|
|
|
liblyxqt4_a_SOURCES = \
|
2007-08-19 09:44:34 +00:00
|
|
|
liblyxqt4.cpp \
|
|
|
|
$(MOCHEADER) \
|
|
|
|
$(NOMOCHEADER)
|
|
|
|
|
|
|
|
BUILT_SOURCES += liblyxqt4.cpp
|
2007-12-10 00:53:12 +00:00
|
|
|
CLEANFILES += liblyxqt4.cpp
|
2007-08-19 09:44:34 +00:00
|
|
|
|
|
|
|
else
|
|
|
|
|
2008-11-15 17:45:55 +00:00
|
|
|
liblyxqt4_a_SOURCES = \
|
2007-08-19 09:44:34 +00:00
|
|
|
$(SOURCEFILES) \
|
|
|
|
$(MOCHEADER) \
|
|
|
|
$(NOMOCHEADER)
|
|
|
|
|
2010-03-05 08:05:20 +00:00
|
|
|
EXTRA_DIST = pch.h $(UIFILES:%=ui/%)
|
2007-08-19 09:44:34 +00:00
|
|
|
BUILT_SOURCES += $(PCH_FILE)
|
|
|
|
AM_CPPFLAGS += $(PCH_FLAGS)
|
|
|
|
|
|
|
|
|
|
|
|
endif
|