2006-03-05 17:24:44 +00:00
|
|
|
include $(top_srcdir)/config/common.am
|
|
|
|
|
2007-08-11 15:48:15 +00:00
|
|
|
CLEANFILES += $(UIFILES:%.ui=ui_%.h)
|
2007-08-19 09:44:34 +00:00
|
|
|
CLEANFILES += $(MOCEDFILES)
|
2006-05-18 09:37:35 +00:00
|
|
|
|
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)
|
2006-05-18 09:37:35 +00:00
|
|
|
|
2007-08-10 23:19:07 +00:00
|
|
|
######################### Translation #############################
|
|
|
|
# Use _() for localization instead of tr() or trUtf8()
|
|
|
|
UIC4FLAGS=-tr lyx::qt_
|
|
|
|
|
2007-08-11 15:48:15 +00:00
|
|
|
ui_%.h: ui/%.ui
|
2007-08-10 23:19:07 +00:00
|
|
|
$(UIC4) $(UIC4FLAGS) $< -o $@
|
2006-05-18 08:51:12 +00:00
|
|
|
|
2007-08-19 09:44:34 +00:00
|
|
|
MOCEDFILES = $(MOCHEADER:%.h=%_moc.cpp)
|
2006-05-18 08:51:12 +00:00
|
|
|
|
|
|
|
%_moc.cpp: %.h
|
|
|
|
$(MOC4) -o $@ $<
|
|
|
|
|
2007-08-10 23:19:07 +00:00
|
|
|
######################### LIBRARIES #############################
|
2006-03-05 17:24:44 +00:00
|
|
|
|
2007-08-11 18:24:00 +00:00
|
|
|
pkglib_LTLIBRARIES = liblyxqt4.la
|
2006-03-05 17:24:44 +00:00
|
|
|
|
2007-08-10 23:19:07 +00:00
|
|
|
liblyxqt4_la_DEPENDENCIES = $(MOCEDFILES)
|
2007-08-10 22:33:54 +00:00
|
|
|
liblyxqt4_la_LDFLAGS = $(QT4_LDFLAGS)
|
|
|
|
liblyxqt4_la_LIBADD = $(QT4_LIB)
|
2007-08-10 23:19:07 +00:00
|
|
|
|
2006-03-05 17:24:44 +00:00
|
|
|
AM_CPPFLAGS += \
|
|
|
|
$(QT4_CPPFLAGS) \
|
|
|
|
-I$(top_srcdir)/src \
|
|
|
|
-I$(top_srcdir)/src/frontends \
|
|
|
|
-I$(top_srcdir)/images \
|
|
|
|
$(QT4_INCLUDES) $(BOOST_INCLUDES) \
|
|
|
|
-I$(top_srcdir)/src/frontends/controllers
|
|
|
|
|
2007-08-19 09:44:34 +00:00
|
|
|
SOURCEFILES = \
|
2007-04-28 20:44:46 +00:00
|
|
|
alert_pimpl.cpp \
|
2007-08-11 20:55:10 +00:00
|
|
|
CheckedLineEdit.cpp \
|
2007-08-11 23:36:42 +00:00
|
|
|
Dialogs.cpp \
|
|
|
|
FileDialog.cpp \
|
|
|
|
GuiClipboard.cpp \
|
|
|
|
GuiFontLoader.cpp \
|
|
|
|
GuiFontMetrics.cpp \
|
|
|
|
GuiSelection.cpp \
|
|
|
|
KeySymbol.cpp \
|
|
|
|
QCitation.cpp \
|
|
|
|
QFloat.cpp \
|
|
|
|
QFontExample.cpp \
|
|
|
|
QLImage.cpp \
|
|
|
|
QLPainter.cpp \
|
|
|
|
QPrint.cpp \
|
|
|
|
Qt2BC.cpp \
|
|
|
|
qt_helpers.cpp \
|
|
|
|
UrlView.cpp \
|
|
|
|
Action.cpp \
|
|
|
|
BulletsModule.cpp \
|
2007-08-11 20:55:10 +00:00
|
|
|
ColorCache.cpp \
|
|
|
|
EmptyTable.cpp \
|
|
|
|
FloatPlacement.cpp \
|
|
|
|
GuiApplication.cpp \
|
|
|
|
GuiImplementation.cpp \
|
|
|
|
GuiView.cpp \
|
|
|
|
GuiWorkArea.cpp \
|
|
|
|
IconPalette.cpp \
|
|
|
|
InsertTableWidget.cpp \
|
|
|
|
LengthCombo.cpp \
|
|
|
|
LyXFileDialog.cpp \
|
|
|
|
PanelStack.cpp \
|
|
|
|
QAbout.cpp \
|
|
|
|
QBibitem.cpp \
|
|
|
|
QBibtex.cpp \
|
|
|
|
QBox.cpp \
|
|
|
|
QBranch.cpp \
|
|
|
|
QBranches.cpp \
|
2007-08-19 09:44:34 +00:00
|
|
|
QChanges.cpp \
|
|
|
|
QCharacter.cpp \
|
|
|
|
QCitationDialog.cpp \
|
|
|
|
QCommandBuffer.cpp \
|
|
|
|
QCommandEdit.cpp \
|
|
|
|
QDelimiterDialog.cpp \
|
|
|
|
QDialogView.cpp \
|
|
|
|
QDocument.cpp \
|
|
|
|
QErrorList.cpp \
|
|
|
|
QERT.cpp \
|
|
|
|
QExternal.cpp \
|
|
|
|
QFloatDialog.cpp \
|
|
|
|
QGraphics.cpp \
|
|
|
|
QGraphicsDialog.cpp \
|
|
|
|
QInclude.cpp \
|
|
|
|
QIndex.cpp \
|
|
|
|
QKeySymbol.cpp \
|
|
|
|
QListings.cpp \
|
|
|
|
QLMenubar.cpp \
|
|
|
|
QLog.cpp \
|
|
|
|
QLPopupMenu.cpp \
|
|
|
|
QLPrintDialog.cpp \
|
|
|
|
QLToolbar.cpp \
|
|
|
|
QMathMatrixDialog.cpp \
|
|
|
|
QNomencl.cpp \
|
|
|
|
QNote.cpp \
|
|
|
|
QParagraph.cpp \
|
|
|
|
QPrefs.cpp \
|
|
|
|
QRef.cpp \
|
|
|
|
QSearch.cpp \
|
This is one of a series of patches that will merge the layout modules development in personal/branches/rgheck back into the tree.
Design goal: Allow the use of layout "modules", which are to LaTeX packages as layout files are to LaTeX document classes. Thus, one could have a module that defined certain character styles, environments, commands, or what have you, and include it in various documents, each of which uses a different document class, without having to modify the layout files themselves. For example, a theorems.module could be used with article.layout to provide support for theorem-type environments, without having to modify article.layout itself, and the same module could be used with book.layout, etc.
This third patch just re-factors some code presently in QCitation*. (It also incorporates some bug fixes that have been committed separately.) We're going to use essentially the same set of widgets for choosing modules that is used for choosing citation keys, so we pull the controlling logic out into a new class, QSelectionManager. I did not make this a QWidget. That seemed to me to be overkill, and it would have made things much more complicated, I think...and I'm not all that experienced with Qt, anyway. Anyone who wants to do that is of course welcome.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19860 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 16:49:40 +00:00
|
|
|
QSelectionManager.cpp \
|
2007-08-19 09:44:34 +00:00
|
|
|
QSendto.cpp \
|
|
|
|
QSetBorder.cpp \
|
|
|
|
QShowFile.cpp \
|
|
|
|
QSpellchecker.cpp \
|
|
|
|
QTabular.cpp \
|
|
|
|
QTabularCreate.cpp \
|
|
|
|
QTexinfo.cpp \
|
|
|
|
QThesaurus.cpp \
|
|
|
|
QToc.cpp \
|
|
|
|
QURLDialog.cpp \
|
|
|
|
QViewSource.cpp \
|
|
|
|
QVSpace.cpp \
|
|
|
|
QWrap.cpp \
|
|
|
|
socket_callback.cpp \
|
|
|
|
TocModel.cpp \
|
|
|
|
TocWidget.cpp \
|
|
|
|
Validator.cpp
|
|
|
|
|
|
|
|
NOMOCHEADER = \
|
|
|
|
CheckedLineEdit.h \
|
|
|
|
GuiClipboard.h \
|
|
|
|
GuiFontLoader.h \
|
|
|
|
GuiFontMetrics.h \
|
|
|
|
GuiSelection.h \
|
|
|
|
QGraphics.h \
|
|
|
|
QLImage.h \
|
|
|
|
QLPainter.h \
|
|
|
|
QPrint.h \
|
|
|
|
Qt2BC.h \
|
|
|
|
qt_helpers.h
|
|
|
|
|
|
|
|
MOCHEADER = \
|
|
|
|
Action.h \
|
|
|
|
BulletsModule.h \
|
|
|
|
ColorCache.h \
|
|
|
|
DockView.h \
|
|
|
|
EmptyTable.h \
|
|
|
|
FloatPlacement.h \
|
|
|
|
GuiApplication.h \
|
|
|
|
GuiImplementation.h \
|
|
|
|
GuiView.h \
|
|
|
|
GuiWorkArea.h \
|
|
|
|
IconPalette.h \
|
|
|
|
InsertTableWidget.h \
|
|
|
|
LengthCombo.h \
|
|
|
|
LyXFileDialog.h \
|
|
|
|
PanelStack.h \
|
|
|
|
QAbout.h \
|
|
|
|
QBibitem.h \
|
|
|
|
QBibtex.h \
|
|
|
|
QBox.h \
|
2007-08-11 20:55:10 +00:00
|
|
|
QBranches.h \
|
|
|
|
QBranch.h \
|
|
|
|
QChanges.h \
|
|
|
|
QCharacter.h \
|
|
|
|
QCitationDialog.h \
|
|
|
|
QCitation.h \
|
|
|
|
QCommandBuffer.h \
|
|
|
|
QCommandEdit.h \
|
|
|
|
QDelimiterDialog.h \
|
|
|
|
QDialogView.h \
|
|
|
|
QDocument.h \
|
|
|
|
QErrorList.h \
|
|
|
|
QERT.h \
|
|
|
|
QExternal.h \
|
|
|
|
QFloatDialog.h \
|
|
|
|
QFloat.h \
|
|
|
|
QFontExample.h \
|
|
|
|
QGraphicsDialog.h \
|
|
|
|
QInclude.h \
|
|
|
|
QIndex.h \
|
|
|
|
QKeySymbol.h \
|
|
|
|
QListings.h \
|
2006-03-05 17:24:44 +00:00
|
|
|
qlkey.h \
|
2007-08-11 20:55:10 +00:00
|
|
|
QLMenubar.h \
|
|
|
|
QLog.h \
|
|
|
|
QLPopupMenu.h \
|
|
|
|
QLPrintDialog.h \
|
|
|
|
QLToolbar.h \
|
|
|
|
QMathMatrixDialog.h \
|
|
|
|
QNomencl.h \
|
|
|
|
QNote.h \
|
|
|
|
QParagraph.h \
|
|
|
|
QPrefs.h \
|
|
|
|
QRef.h \
|
|
|
|
QSearch.h \
|
This is one of a series of patches that will merge the layout modules development in personal/branches/rgheck back into the tree.
Design goal: Allow the use of layout "modules", which are to LaTeX packages as layout files are to LaTeX document classes. Thus, one could have a module that defined certain character styles, environments, commands, or what have you, and include it in various documents, each of which uses a different document class, without having to modify the layout files themselves. For example, a theorems.module could be used with article.layout to provide support for theorem-type environments, without having to modify article.layout itself, and the same module could be used with book.layout, etc.
This third patch just re-factors some code presently in QCitation*. (It also incorporates some bug fixes that have been committed separately.) We're going to use essentially the same set of widgets for choosing modules that is used for choosing citation keys, so we pull the controlling logic out into a new class, QSelectionManager. I did not make this a QWidget. That seemed to me to be overkill, and it would have made things much more complicated, I think...and I'm not all that experienced with Qt, anyway. Anyone who wants to do that is of course welcome.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19860 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 16:49:40 +00:00
|
|
|
QSelectionManager.h \
|
2007-08-11 20:55:10 +00:00
|
|
|
QSendto.h \
|
|
|
|
QSetBorder.h \
|
|
|
|
QShowFile.h \
|
|
|
|
QSpellchecker.h \
|
|
|
|
QTabularCreate.h \
|
|
|
|
QTabular.h \
|
|
|
|
QTexinfo.h \
|
|
|
|
QThesaurus.h \
|
|
|
|
QToc.h \
|
|
|
|
QURLDialog.h \
|
|
|
|
QViewSource.h \
|
|
|
|
QVSpace.h \
|
|
|
|
QWrap.h \
|
|
|
|
socket_callback.h \
|
|
|
|
TocModel.h \
|
|
|
|
TocWidget.h \
|
|
|
|
Validator.h
|
|
|
|
|
|
|
|
UIFILES = \
|
|
|
|
AboutUi.ui \
|
|
|
|
AskForTextUi.ui \
|
|
|
|
BibitemUi.ui \
|
|
|
|
BiblioUi.ui \
|
|
|
|
BibtexAddUi.ui \
|
|
|
|
BibtexUi.ui \
|
|
|
|
BoxUi.ui \
|
|
|
|
BranchesUi.ui \
|
|
|
|
BranchUi.ui \
|
|
|
|
BulletsUi.ui \
|
|
|
|
ChangesUi.ui \
|
|
|
|
CharacterUi.ui \
|
|
|
|
CitationUi.ui \
|
|
|
|
DelimiterUi.ui \
|
|
|
|
DocumentUi.ui \
|
|
|
|
ErrorListUi.ui \
|
|
|
|
ERTUi.ui \
|
|
|
|
ExternalUi.ui \
|
|
|
|
FloatPlacementUi.ui \
|
|
|
|
FloatUi.ui \
|
|
|
|
FontUi.ui \
|
|
|
|
GraphicsUi.ui \
|
|
|
|
IncludeUi.ui \
|
|
|
|
IndexUi.ui \
|
|
|
|
LanguageUi.ui \
|
|
|
|
LaTeXUi.ui \
|
|
|
|
ListingsUi.ui \
|
|
|
|
LogUi.ui \
|
|
|
|
MarginsUi.ui \
|
|
|
|
MathMatrixUi.ui \
|
|
|
|
MathsUi.ui \
|
|
|
|
NomenclUi.ui \
|
|
|
|
NoteUi.ui \
|
|
|
|
NumberingUi.ui \
|
|
|
|
PageLayoutUi.ui \
|
|
|
|
ParagraphUi.ui \
|
|
|
|
PreambleUi.ui \
|
|
|
|
PrefColorsUi.ui \
|
|
|
|
PrefConvertersUi.ui \
|
|
|
|
PrefCopiersUi.ui \
|
|
|
|
PrefCygwinPathUi.ui \
|
|
|
|
PrefDateUi.ui \
|
|
|
|
PrefDisplayUi.ui \
|
|
|
|
PrefFileformatsUi.ui \
|
|
|
|
PrefIdentityUi.ui \
|
|
|
|
PrefKeyboardUi.ui \
|
|
|
|
PrefLanguageUi.ui \
|
|
|
|
PrefLatexUi.ui \
|
|
|
|
PrefPathsUi.ui \
|
|
|
|
PrefPlaintextUi.ui \
|
|
|
|
PrefPrinterUi.ui \
|
|
|
|
PrefScreenFontsUi.ui \
|
|
|
|
PrefSpellcheckerUi.ui \
|
|
|
|
PrefsUi.ui \
|
|
|
|
PrefUi.ui \
|
|
|
|
PrintUi.ui \
|
|
|
|
RefUi.ui \
|
|
|
|
SearchUi.ui \
|
|
|
|
SendtoUi.ui \
|
|
|
|
ShowFileUi.ui \
|
|
|
|
SpellcheckerUi.ui \
|
|
|
|
TabularCreateUi.ui \
|
|
|
|
TabularUi.ui \
|
|
|
|
TexinfoUi.ui \
|
|
|
|
TextLayoutUi.ui \
|
|
|
|
ThesaurusUi.ui \
|
|
|
|
TocUi.ui \
|
|
|
|
URLUi.ui \
|
|
|
|
ViewSourceUi.ui \
|
|
|
|
VSpaceUi.ui \
|
|
|
|
WrapUi.ui
|
2007-08-19 09:44:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
if MONOLITHIC_FRONTEND_QT4
|
|
|
|
|
|
|
|
|
|
|
|
liblyxqt4.cpp:
|
|
|
|
@echo -e '$(SOURCEFILES:%=\n#include "%")\n' > $@
|
|
|
|
|
|
|
|
liblyxqt4_la_SOURCES = \
|
|
|
|
liblyxqt4.cpp \
|
|
|
|
$(MOCHEADER) \
|
|
|
|
$(NOMOCHEADER)
|
|
|
|
|
|
|
|
BUILT_SOURCES += liblyxqt4.cpp
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
|
|
|
|
liblyxqt4_la_SOURCES = \
|
|
|
|
$(SOURCEFILES) \
|
|
|
|
$(MOCHEADER) \
|
|
|
|
$(NOMOCHEADER)
|
|
|
|
|
|
|
|
EXTRA_DIST = pch.h
|
|
|
|
BUILT_SOURCES += $(PCH_FILE)
|
|
|
|
AM_CPPFLAGS += $(PCH_FLAGS)
|
|
|
|
|
|
|
|
|
|
|
|
endif
|