basctl/source/basicide/baside2.hxx | 1 basctl/source/basicide/macrodlg.hxx | 1 basctl/source/basicide/moduldlg.hxx | 1 basctl/source/inc/objectbrowser.hxx | 1 basctl/source/inc/objectbrowsersearch.hxx | 2 basic/source/runtime/inputbox.cxx | 1 basic/source/runtime/iosys.cxx | 1 chart2/source/controller/dialogs/res_Titles.cxx | 1 chart2/source/controller/dialogs/res_Trendline.cxx | 1 chart2/source/controller/dialogs/tp_AxisPositions.hxx | 1 chart2/source/controller/dialogs/tp_DataSource.hxx | 1 chart2/source/controller/dialogs/tp_RangeChooser.hxx | 1 chart2/source/controller/dialogs/tp_Scale.hxx | 1 chart2/source/controller/sidebar/ChartElementsPanel.hxx | 1 cui/inc/dlgname.hxx | 2 cui/source/customize/macropg_impl.hxx | 1 cui/source/inc/AdditionsDialog.hxx | 1 cui/source/inc/SignSignatureLineDialog.hxx | 1 cui/source/inc/SignatureLineDialog.hxx | 1 cui/source/inc/acccfg.hxx | 1 cui/source/inc/autocdlg.hxx | 1 cui/source/inc/cfg.hxx | 1 cui/source/inc/cuigaldlg.hxx | 1 cui/source/inc/cuiimapwnd.hxx | 1 cui/source/inc/cuioptgenrl.hxx | 1 cui/source/inc/cuitabarea.hxx | 1 cui/source/inc/cuitabline.hxx | 1 cui/source/inc/hangulhanjadlg.hxx | 1 cui/source/inc/hldoctp.hxx | 2 cui/source/inc/hlmailtp.hxx | 2 cui/source/inc/hltpbase.hxx | 1 cui/source/inc/hyphen.hxx | 1 cui/source/inc/insdlg.hxx | 1 cui/source/inc/numfmt.hxx | 1 cui/source/inc/numpages.hxx | 1 cui/source/inc/optasian.hxx | 1 cui/source/inc/optdict.hxx | 1 cui/source/inc/passwdomdlg.hxx | 2 cui/source/inc/scriptdlg.hxx | 1 cui/source/inc/tabstpge.hxx | 1 cui/source/inc/thesdlg.hxx | 1 cui/source/inc/treeopt.hxx | 1 cui/source/options/doclinkdialog.hxx | 1 cui/source/options/optaboutconfig.hxx | 1 cui/source/options/optdeepl.hxx | 2 cui/source/options/optgdlg.hxx | 1 cui/source/options/optinet2.hxx | 1 cui/source/options/optjava.hxx | 1 cui/source/options/optlanguagetool.hxx | 2 dbaccess/source/ui/dlg/ConnectionPageSetup.hxx | 1 dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx | 2 dbaccess/source/ui/dlg/admincontrols.hxx | 1 dbaccess/source/ui/dlg/adminpages.hxx | 1 dbaccess/source/ui/dlg/advancedsettings.hxx | 1 dbaccess/source/ui/inc/CollectionView.hxx | 1 dbaccess/source/ui/inc/FieldControls.hxx | 1 dbaccess/source/ui/inc/SqlNameEdit.hxx | 1 dbaccess/source/ui/inc/WCPage.hxx | 2 dbaccess/source/ui/inc/curledit.hxx | 1 dbaccess/source/ui/inc/dlgsave.hxx | 1 dbaccess/source/ui/inc/paramdialog.hxx | 1 dbaccess/source/ui/inc/queryfilter.hxx | 1 desktop/source/deployment/gui/dp_gui_dialog2.hxx | 1 extensions/source/abpilot/abpfinalpage.hxx | 1 extensions/source/bibliography/general.hxx | 1 extensions/source/bibliography/toolbar.hxx | 1 extensions/source/dbpilots/groupboxwiz.hxx | 2 extensions/source/dbpilots/listcombowizard.hxx | 2 extensions/source/propctrlr/browserlistbox.cxx | 1 extensions/source/propctrlr/commoncontrol.hxx | 1 extensions/source/propctrlr/newdatatype.hxx | 1 extensions/source/propctrlr/standardcontrol.hxx | 2 extensions/source/propctrlr/usercontrol.hxx | 2 extensions/source/scanner/sanedlg.hxx | 1 filter/source/pdf/impdialog.hxx | 1 filter/source/xsltdialog/xmlfiltertabpagebasic.hxx | 1 filter/source/xsltdialog/xmlfiltertabpagexslt.hxx | 1 formula/source/ui/dlg/ControlHelper.hxx | 1 formula/source/ui/dlg/funcpage.hxx | 1 fpicker/source/office/QueryFolderName.hxx | 1 fpicker/source/office/autocmpledit.hxx | 1 framework/source/uielement/edittoolbarcontroller.cxx | 1 framework/source/uielement/spinfieldtoolbarcontroller.cxx | 1 include/avmedia/MediaControlBase.hxx | 1 include/formula/funcutl.hxx | 1 include/sfx2/dinfdlg.hxx | 2 include/sfx2/passwd.hxx | 1 include/sfx2/templatedlg.hxx | 1 include/svtools/PlaceEditDialog.hxx | 1 include/svtools/editbrowsebox.hxx | 2 include/svtools/recorditemwindow.hxx | 1 include/svx/ClassificationDialog.hxx | 1 include/svx/ctredlin.hxx | 2 include/svx/cuicharmap.hxx | 1 include/svx/dialog/ThemeColorEditDialog.hxx | 1 include/svx/imapdlg.hxx | 1 include/svx/passwd.hxx | 1 include/svx/rubydialog.hxx | 1 include/vcl/hexcolorcontrol.hxx | 1 include/vcl/jsdialog/executor.hxx | 2 include/vcl/weld/Entry.hxx | 103 +++++++ include/vcl/weld/EntryTreeView.hxx | 2 include/vcl/weld/FormattedSpinButton.hxx | 49 +++ include/vcl/weld/SpinButton.hxx | 2 include/vcl/weld/weld.hxx | 146 ---------- include/vcl/weld/weldutils.hxx | 2 reportdesign/source/ui/dlg/Condition.hxx | 1 sc/source/ui/inc/SparklineDialog.hxx | 1 sc/source/ui/inc/checklistmenu.hxx | 1 sc/source/ui/inc/colorformat.hxx | 1 sc/source/ui/inc/condformatdlgentry.hxx | 1 sc/source/ui/inc/condformateasydlg.hxx | 1 sc/source/ui/inc/dapitype.hxx | 1 sc/source/ui/inc/datafdlg.hxx | 1 sc/source/ui/inc/dataproviderdlg.hxx | 1 sc/source/ui/inc/datastreamdlg.hxx | 1 sc/source/ui/inc/dwfunctr.hxx | 1 sc/source/ui/inc/editfield.hxx | 2 sc/source/ui/inc/filldlg.hxx | 1 sc/source/ui/inc/gototabdlg.hxx | 1 sc/source/ui/inc/instbdlg.hxx | 1 sc/source/ui/inc/mvtabdlg.hxx | 1 sc/source/ui/inc/navipi.hxx | 1 sc/source/ui/inc/optsolver.hxx | 1 sc/source/ui/inc/protectiondlg.hxx | 1 sc/source/ui/inc/retypepassdlg.hxx | 1 sc/source/ui/inc/scendlg.hxx | 1 sc/source/ui/inc/scuiasciiopt.hxx | 1 sc/source/ui/inc/solveroptions.hxx | 1 sc/source/ui/inc/strindlg.hxx | 1 sc/source/ui/inc/tpdefaults.hxx | 1 sc/source/ui/inc/tpformula.hxx | 1 sc/source/ui/inc/tpsort.hxx | 1 sc/source/ui/inc/tpusrlst.hxx | 1 sc/source/ui/inc/validate.hxx | 1 sd/source/ui/dlg/RemoteDialogClientBox.hxx | 1 sd/source/ui/dlg/headerfooterdlg.cxx | 1 sd/source/ui/inc/BulletAndPositionDlg.hxx | 1 sd/source/ui/inc/animobjs.hxx | 1 sd/source/ui/inc/custsdlg.hxx | 1 sd/source/ui/inc/layeroptionsdlg.hxx | 1 sd/source/ui/inc/present.hxx | 1 sd/source/ui/inc/tpaction.hxx | 1 sfx2/inc/autoredactdialog.hxx | 1 sfx2/inc/commandpopup/CommandPopup.hxx | 1 sfx2/inc/inputdlg.hxx | 1 sfx2/inc/saveastemplatedlg.hxx | 1 sfx2/source/appl/impldde.cxx | 1 sfx2/source/appl/newhelp.hxx | 1 sfx2/source/dialog/mgetempl.cxx | 1 svtools/source/brwbox/brwbox1.cxx | 1 svx/source/inc/datanavi.hxx | 1 svx/source/inc/docrecovery.hxx | 1 svx/source/inc/galbrws1.hxx | 1 svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx | 1 sw/source/ui/dbui/createaddresslistdialog.hxx | 1 sw/source/ui/dbui/customizeaddresslistdialog.hxx | 1 sw/source/ui/dbui/mmaddressblockpage.hxx | 1 sw/source/ui/envelp/labfmt.hxx | 1 sw/source/ui/envelp/swuilabimp.hxx | 1 sw/source/ui/fldui/flddb.hxx | 2 sw/source/ui/fldui/flddok.hxx | 1 sw/source/ui/fldui/fldfunc.hxx | 1 sw/source/ui/fldui/fldref.hxx | 1 sw/source/ui/fldui/fldvar.hxx | 1 sw/source/ui/inc/bookmark.hxx | 1 sw/source/ui/inc/mmresultdialogs.hxx | 1 sw/source/ui/inc/regionsw.hxx | 1 sw/source/ui/misc/impfnote.hxx | 1 sw/source/ui/table/tautofmt.cxx | 1 sw/source/uibase/dbui/mailmergetoolbarcontrols.cxx | 1 sw/source/uibase/inc/DropDownFormFieldDialog.hxx | 1 sw/source/uibase/inc/QuickFindPanel.hxx | 1 sw/source/uibase/inc/contentcontroldlg.hxx | 1 sw/source/uibase/inc/contentcontrollistitemdlg.hxx | 1 sw/source/uibase/inc/convert.hxx | 1 sw/source/uibase/inc/cption.hxx | 1 sw/source/uibase/inc/drpcps.hxx | 1 sw/source/uibase/inc/frmpage.hxx | 1 sw/source/uibase/inc/glosbib.hxx | 1 sw/source/uibase/inc/glossary.hxx | 1 sw/source/uibase/inc/inpdlg.hxx | 1 sw/source/uibase/inc/inputwin.hxx | 1 sw/source/uibase/inc/insfnote.hxx | 1 sw/source/uibase/inc/instable.hxx | 1 sw/source/uibase/inc/javaedit.hxx | 1 sw/source/uibase/inc/linenum.hxx | 1 sw/source/uibase/inc/mailconfigpage.hxx | 1 sw/source/uibase/inc/mailmrge.hxx | 1 sw/source/uibase/inc/optload.hxx | 1 sw/source/uibase/inc/outline.hxx | 1 sw/source/uibase/inc/srtdlg.hxx | 1 sw/source/uibase/inc/swmessdialog.hxx | 1 sw/source/uibase/inc/swrenamexnameddlg.hxx | 1 sw/source/uibase/inc/swuicnttab.hxx | 1 sw/source/uibase/inc/swuiidxmrk.hxx | 1 sw/source/uibase/inc/watermarkdialog.hxx | 1 sw/source/uibase/table/tablepg.hxx | 1 uui/source/authfallbackdlg.hxx | 1 uui/source/logindlg.hxx | 1 uui/source/masterpasscrtdlg.hxx | 1 uui/source/masterpassworddlg.hxx | 1 uui/source/nameclashdlg.hxx | 1 uui/source/passworddlg.hxx | 1 vcl/Library_vcl.mk | 1 vcl/inc/colorpicker.hxx | 1 vcl/inc/printdlg.hxx | 1 vcl/inc/qt5/QtInstanceBuilder.hxx | 2 vcl/inc/qt5/QtInstanceEntry.hxx | 2 vcl/inc/qt5/QtInstanceFormattedSpinButton.hxx | 1 vcl/inc/salvtables.hxx | 2 vcl/source/weld/Entry.cxx | 57 +++ vcl/unx/generic/print/prtsetup.hxx | 1 vcl/unx/generic/printer/cupsmgr.cxx | 1 vcl/unx/gtk3/gtkinst.cxx | 1 writerperfect/source/writer/EPUBExportDialog.hxx | 1 xmlsecurity/inc/certificatechooser.hxx | 1 217 files changed, 443 insertions(+), 150 deletions(-)
New commits: commit ffc8326e999ac1c4a5cabc36c703c0551c134dc3 Author: Michael Weghorn <[email protected]> AuthorDate: Sat Jan 3 13:08:11 2026 +0100 Commit: Michael Weghorn <[email protected]> CommitDate: Sun Jan 4 15:03:39 2026 +0100 weld: Move weld::Entry to own header/source Move the class out of weld.hxx into its own header and source file, in order to make it easier to keep an overview and to avoid having to recompile ~all UI code when the class is modified. Change-Id: I27033905fe8be1c3646c8cf08799c9bf53eeb471 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196448 Tested-by: Jenkins Reviewed-by: Michael Weghorn <[email protected]> diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx index f56cc044ec46..e8f7cb8e396c 100644 --- a/basctl/source/basicide/baside2.hxx +++ b/basctl/source/basicide/baside2.hxx @@ -29,6 +29,7 @@ #include <basic/sbstar.hxx> #include <vcl/InterimItemWindow.hxx> #include <vcl/idle.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> diff --git a/basctl/source/basicide/macrodlg.hxx b/basctl/source/basicide/macrodlg.hxx index 3b0684c343f0..f34fbdd40145 100644 --- a/basctl/source/basicide/macrodlg.hxx +++ b/basctl/source/basicide/macrodlg.hxx @@ -23,6 +23,7 @@ #include <bastype2.hxx> #include <sfx2/basedlgs.hxx> #include <com/sun/star/frame/XFrame.hpp> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> diff --git a/basctl/source/basicide/moduldlg.hxx b/basctl/source/basicide/moduldlg.hxx index 2bc4dd08c293..311cd3bcbd36 100644 --- a/basctl/source/basicide/moduldlg.hxx +++ b/basctl/source/basicide/moduldlg.hxx @@ -27,6 +27,7 @@ #include <vcl/weld/Builder.hxx> #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> diff --git a/basctl/source/inc/objectbrowser.hxx b/basctl/source/inc/objectbrowser.hxx index 9c651f3a871c..47bf1d1f8a5b 100644 --- a/basctl/source/inc/objectbrowser.hxx +++ b/basctl/source/inc/objectbrowser.hxx @@ -21,6 +21,7 @@ #include <sfx2/sfxsids.hrc> #include <sfx2/viewfrm.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TextView.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> diff --git a/basctl/source/inc/objectbrowsersearch.hxx b/basctl/source/inc/objectbrowsersearch.hxx index a3ef99398342..0f3329ad2174 100644 --- a/basctl/source/inc/objectbrowsersearch.hxx +++ b/basctl/source/inc/objectbrowsersearch.hxx @@ -10,7 +10,7 @@ #pragma once #include <vcl/timer.hxx> -#include <vcl/weld/weld.hxx> +#include <vcl/weld/Entry.hxx> namespace basctl { diff --git a/basic/source/runtime/inputbox.cxx b/basic/source/runtime/inputbox.cxx index f88e6b469427..a35ae2dce8c5 100644 --- a/basic/source/runtime/inputbox.cxx +++ b/basic/source/runtime/inputbox.cxx @@ -22,6 +22,7 @@ #include <vcl/outdev.hxx> #include <vcl/svapp.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> #include <rtlproto.hxx> #include <memory> diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx index 13bf04227725..f8c70f3e209d 100644 --- a/basic/source/runtime/iosys.cxx +++ b/basic/source/runtime/iosys.cxx @@ -20,6 +20,7 @@ #include <string.h> #include <vcl/svapp.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> #include <osl/diagnose.h> #include <osl/file.hxx> diff --git a/chart2/source/controller/dialogs/res_Titles.cxx b/chart2/source/controller/dialogs/res_Titles.cxx index 33e4a0fecf4f..e7be6f53e773 100644 --- a/chart2/source/controller/dialogs/res_Titles.cxx +++ b/chart2/source/controller/dialogs/res_Titles.cxx @@ -20,6 +20,7 @@ #include <res_Titles.hxx> #include <TitleDialogData.hxx> #include <vcl/weld/Builder.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> namespace chart diff --git a/chart2/source/controller/dialogs/tp_DataSource.hxx b/chart2/source/controller/dialogs/tp_DataSource.hxx index d1d54296681b..ac3992e5bc94 100644 --- a/chart2/source/controller/dialogs/tp_DataSource.hxx +++ b/chart2/source/controller/dialogs/tp_DataSource.hxx @@ -22,6 +22,7 @@ #include <ChartType.hxx> #include <vcl/wizardmachine.hxx> +#include <vcl/weld/Entry.hxx> #include <RangeSelectionListener.hxx> diff --git a/chart2/source/controller/dialogs/tp_RangeChooser.hxx b/chart2/source/controller/dialogs/tp_RangeChooser.hxx index 428e8a127dd9..98b7983187c5 100644 --- a/chart2/source/controller/dialogs/tp_RangeChooser.hxx +++ b/chart2/source/controller/dialogs/tp_RangeChooser.hxx @@ -21,6 +21,7 @@ #include <RangeSelectionListener.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/wizardmachine.hxx> namespace chart { class TabPageNotifiable; } diff --git a/chart2/source/controller/sidebar/ChartElementsPanel.hxx b/chart2/source/controller/sidebar/ChartElementsPanel.hxx index 4d78dc33349c..3a4f735d674a 100644 --- a/chart2/source/controller/sidebar/ChartElementsPanel.hxx +++ b/chart2/source/controller/sidebar/ChartElementsPanel.hxx @@ -23,6 +23,7 @@ #include <sfx2/sidebar/PanelLayout.hxx> #include <vcl/EnumContext.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include "ChartSidebarModifyListener.hxx" #include <TitleHelper.hxx> diff --git a/cui/inc/dlgname.hxx b/cui/inc/dlgname.hxx index 2583f5003c98..df6f41bdaab1 100644 --- a/cui/inc/dlgname.hxx +++ b/cui/inc/dlgname.hxx @@ -20,6 +20,7 @@ #include <vcl/formatter.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/FormattedSpinButton.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/TextView.hxx> diff --git a/cui/source/customize/macropg_impl.hxx b/cui/source/customize/macropg_impl.hxx index 8b10aa74beba..3252ee7d95c2 100644 --- a/cui/source/customize/macropg_impl.hxx +++ b/cui/source/customize/macropg_impl.hxx @@ -21,6 +21,7 @@ #include <svl/itemset.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> diff --git a/cui/source/inc/AdditionsDialog.hxx b/cui/source/inc/AdditionsDialog.hxx index 102ea773c7f5..d9f3ea7fdd90 100644 --- a/cui/source/inc/AdditionsDialog.hxx +++ b/cui/source/inc/AdditionsDialog.hxx @@ -13,6 +13,7 @@ #include <salhelper/thread.hxx> #include <rtl/ref.hxx> #include <vcl/weld/Builder.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/DialogController.hxx> #include <vcl/weld/ScrolledWindow.hxx> #include <vcl/weld/weld.hxx> diff --git a/cui/source/inc/SignSignatureLineDialog.hxx b/cui/source/inc/SignSignatureLineDialog.hxx index 446f4b929503..2a497601c071 100644 --- a/cui/source/inc/SignSignatureLineDialog.hxx +++ b/cui/source/inc/SignSignatureLineDialog.hxx @@ -14,6 +14,7 @@ #include <com/sun/star/graphic/XGraphic.hpp> #include <com/sun/star/security/XCertificate.hpp> #include <com/sun/star/uno/Reference.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TextView.hxx> class SignSignatureLineDialog : public SignatureLineDialogBase diff --git a/cui/source/inc/SignatureLineDialog.hxx b/cui/source/inc/SignatureLineDialog.hxx index 9f33f6b1155e..62d2dae9985d 100644 --- a/cui/source/inc/SignatureLineDialog.hxx +++ b/cui/source/inc/SignatureLineDialog.hxx @@ -12,6 +12,7 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/uno/Reference.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TextView.hxx> class SignatureLineDialog : public SignatureLineDialogBase diff --git a/cui/source/inc/acccfg.hxx b/cui/source/inc/acccfg.hxx index 773981113759..ed44d8c16d5c 100644 --- a/cui/source/inc/acccfg.hxx +++ b/cui/source/inc/acccfg.hxx @@ -27,6 +27,7 @@ #include <sfx2/tabdlg.hxx> #include <vcl/timer.hxx> #include <vcl/keycod.hxx> +#include <vcl/weld/Entry.hxx> #include <i18nutil/searchopt.hxx> #include <config_features.h> #include "cfgutil.hxx" diff --git a/cui/source/inc/autocdlg.hxx b/cui/source/inc/autocdlg.hxx index c14e01539d49..05f2389ef239 100644 --- a/cui/source/inc/autocdlg.hxx +++ b/cui/source/inc/autocdlg.hxx @@ -21,6 +21,7 @@ #include <sfx2/tabdlg.hxx> #include <svx/langbox.hxx> #include <unotools/collatorwrapper.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> #include <map> diff --git a/cui/source/inc/cfg.hxx b/cui/source/inc/cfg.hxx index c9cfad1ca172..1346804aadf5 100644 --- a/cui/source/inc/cfg.hxx +++ b/cui/source/inc/cfg.hxx @@ -22,6 +22,7 @@ #include <vcl/timer.hxx> #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TextView.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> diff --git a/cui/source/inc/cuigaldlg.hxx b/cui/source/inc/cuigaldlg.hxx index 526d40a535e8..4081f83a28dc 100644 --- a/cui/source/inc/cuigaldlg.hxx +++ b/cui/source/inc/cuigaldlg.hxx @@ -32,6 +32,7 @@ #include <svtools/dialogclosedlistener.hxx> #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <string_view> diff --git a/cui/source/inc/cuiimapwnd.hxx b/cui/source/inc/cuiimapwnd.hxx index 2a414722491e..7242b23c1dbb 100644 --- a/cui/source/inc/cuiimapwnd.hxx +++ b/cui/source/inc/cuiimapwnd.hxx @@ -20,6 +20,7 @@ #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TextView.hxx> #include <vcl/weld/weld.hxx> #include <sfx2/frame.hxx> diff --git a/cui/source/inc/cuioptgenrl.hxx b/cui/source/inc/cuioptgenrl.hxx index 4333a3c72370..c244361cb810 100644 --- a/cui/source/inc/cuioptgenrl.hxx +++ b/cui/source/inc/cuioptgenrl.hxx @@ -21,6 +21,7 @@ // include --------------------------------------------------------------- #include <sfx2/tabdlg.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> #include <vector> diff --git a/cui/source/inc/cuitabarea.hxx b/cui/source/inc/cuitabarea.hxx index c9b246e4a86c..2c02c54777a3 100644 --- a/cui/source/inc/cuitabarea.hxx +++ b/cui/source/inc/cuitabarea.hxx @@ -28,6 +28,7 @@ #include <svx/svdview.hxx> #include <vcl/hexcolorcontrol.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/MetricSpinButton.hxx> #include <vcl/weld/SpinButton.hxx> diff --git a/cui/source/inc/cuitabline.hxx b/cui/source/inc/cuitabline.hxx index 521e9c456f9f..30fbde384ea6 100644 --- a/cui/source/inc/cuitabline.hxx +++ b/cui/source/inc/cuitabline.hxx @@ -28,6 +28,7 @@ #include <svx/xlnasit.hxx> #include <svx/xtable.hxx> #include <svx/dlgctrl.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/customweld.hxx> diff --git a/cui/source/inc/hangulhanjadlg.hxx b/cui/source/inc/hangulhanjadlg.hxx index 94881e0290a0..ae955499a243 100644 --- a/cui/source/inc/hangulhanjadlg.hxx +++ b/cui/source/inc/hangulhanjadlg.hxx @@ -22,6 +22,7 @@ #include <vcl/weld/Builder.hxx> #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/customweld.hxx> #include <vcl/weld/weld.hxx> diff --git a/cui/source/inc/hldoctp.hxx b/cui/source/inc/hldoctp.hxx index 61005a42d635..c647a9370e25 100644 --- a/cui/source/inc/hldoctp.hxx +++ b/cui/source/inc/hldoctp.hxx @@ -20,6 +20,8 @@ #include "hltpbase.hxx" +#include <vcl/weld/Entry.hxx> + /************************************************************************* |* |* Tabpage : Hyperlink - Document diff --git a/cui/source/inc/hlmailtp.hxx b/cui/source/inc/hlmailtp.hxx index b7c76c52cb18..9d70b779e98f 100644 --- a/cui/source/inc/hlmailtp.hxx +++ b/cui/source/inc/hlmailtp.hxx @@ -20,6 +20,8 @@ #include "hltpbase.hxx" +#include <vcl/weld/Entry.hxx> + /************************************************************************* |* |* Tabpage : Hyperlink - Mail diff --git a/cui/source/inc/hltpbase.hxx b/cui/source/inc/hltpbase.hxx index dc87df1cbb15..c720ba9a353e 100644 --- a/cui/source/inc/hltpbase.hxx +++ b/cui/source/inc/hltpbase.hxx @@ -23,6 +23,7 @@ #include <svtools/inettbc.hxx> #include <vcl/timer.hxx> #include <vcl/locktoplevels.hxx> +#include <vcl/weld/Entry.hxx> #include <com/sun/star/frame/XFrame.hpp> #include <svx/hlnkitem.hxx> diff --git a/cui/source/inc/hyphen.hxx b/cui/source/inc/hyphen.hxx index c7a651127788..386ed0b221c8 100644 --- a/cui/source/inc/hyphen.hxx +++ b/cui/source/inc/hyphen.hxx @@ -20,6 +20,7 @@ #include <memory> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> #include <sfx2/basedlgs.hxx> #include <com/sun/star/uno/Reference.hxx> diff --git a/cui/source/inc/insdlg.hxx b/cui/source/inc/insdlg.hxx index 1be2fda2c930..cf57d56e74a5 100644 --- a/cui/source/inc/insdlg.hxx +++ b/cui/source/inc/insdlg.hxx @@ -24,6 +24,7 @@ #include <svtools/insdlg.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> diff --git a/cui/source/inc/numfmt.hxx b/cui/source/inc/numfmt.hxx index a2a2591034d8..569170817395 100644 --- a/cui/source/inc/numfmt.hxx +++ b/cui/source/inc/numfmt.hxx @@ -23,6 +23,7 @@ #include <sfx2/tabdlg.hxx> #include <svx/langbox.hxx> #include <tools/color.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/customweld.hxx> diff --git a/cui/source/inc/numpages.hxx b/cui/source/inc/numpages.hxx index 522924b02b26..251870a932d1 100644 --- a/cui/source/inc/numpages.hxx +++ b/cui/source/inc/numpages.hxx @@ -26,6 +26,7 @@ #include <editeng/svxenum.hxx> #include <svtools/ctrlbox.hxx> #include <svx/numberingpreview.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/MetricSpinButton.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/TreeView.hxx> diff --git a/cui/source/inc/optasian.hxx b/cui/source/inc/optasian.hxx index 26d8b1bfe604..5303e4799f55 100644 --- a/cui/source/inc/optasian.hxx +++ b/cui/source/inc/optasian.hxx @@ -21,6 +21,7 @@ #include <memory> #include <sfx2/tabdlg.hxx> #include <svx/langbox.hxx> +#include <vcl/weld/Entry.hxx> struct SvxAsianLayoutPage_Impl; class SvxAsianLayoutPage : public SfxTabPage diff --git a/cui/source/inc/optdict.hxx b/cui/source/inc/optdict.hxx index dc696bca92b0..58ea7418e286 100644 --- a/cui/source/inc/optdict.hxx +++ b/cui/source/inc/optdict.hxx @@ -19,6 +19,7 @@ #pragma once #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> #include <com/sun/star/uno/Reference.hxx> diff --git a/cui/source/inc/passwdomdlg.hxx b/cui/source/inc/passwdomdlg.hxx index eba379cf8a2b..a690697b9ffd 100644 --- a/cui/source/inc/passwdomdlg.hxx +++ b/cui/source/inc/passwdomdlg.hxx @@ -19,6 +19,8 @@ #pragma once #include <sfx2/basedlgs.hxx> +#include <vcl/weld/Entry.hxx> + #include <memory> class PasswordToOpenModifyDialog : public SfxDialogController diff --git a/cui/source/inc/scriptdlg.hxx b/cui/source/inc/scriptdlg.hxx index c5f305d42235..76931fd1e93a 100644 --- a/cui/source/inc/scriptdlg.hxx +++ b/cui/source/inc/scriptdlg.hxx @@ -22,6 +22,7 @@ #include <memory> #include <sfx2/basedlgs.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> diff --git a/cui/source/inc/tabstpge.hxx b/cui/source/inc/tabstpge.hxx index a6ae82a3dbfd..f1ab9779dfde 100644 --- a/cui/source/inc/tabstpge.hxx +++ b/cui/source/inc/tabstpge.hxx @@ -18,6 +18,7 @@ */ #pragma once +#include <vcl/weld/Entry.hxx> #include <vcl/weld/EntryTreeView.hxx> #include <vcl/weld/MetricSpinButton.hxx> #include <vcl/weld/TreeView.hxx> diff --git a/cui/source/inc/thesdlg.hxx b/cui/source/inc/thesdlg.hxx index 94612a04423b..4be2a8be0319 100644 --- a/cui/source/inc/thesdlg.hxx +++ b/cui/source/inc/thesdlg.hxx @@ -22,6 +22,7 @@ #include <vcl/idle.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <sfx2/basedlgs.hxx> diff --git a/cui/source/inc/treeopt.hxx b/cui/source/inc/treeopt.hxx index 5a5b55fea0ac..0d9e3b036cb8 100644 --- a/cui/source/inc/treeopt.hxx +++ b/cui/source/inc/treeopt.hxx @@ -28,6 +28,7 @@ #include <utility> #include <i18nutil/searchopt.hxx> #include <vcl/timer.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> class SfxModule; diff --git a/cui/source/options/doclinkdialog.hxx b/cui/source/options/doclinkdialog.hxx index 686647e8e7ec..80add3dfdba1 100644 --- a/cui/source/options/doclinkdialog.hxx +++ b/cui/source/options/doclinkdialog.hxx @@ -21,6 +21,7 @@ #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> #include <svtools/inettbc.hxx> #include <com/sun/star/configuration/XReadWriteAccess.hpp> diff --git a/cui/source/options/optaboutconfig.hxx b/cui/source/options/optaboutconfig.hxx index 524ae25270a4..614d2fe647ca 100644 --- a/cui/source/options/optaboutconfig.hxx +++ b/cui/source/options/optaboutconfig.hxx @@ -14,6 +14,7 @@ #include <dlgname.hxx> #include <i18nutil/searchopt.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> diff --git a/cui/source/options/optdeepl.hxx b/cui/source/options/optdeepl.hxx index 51714c685084..00f570e1dcd7 100644 --- a/cui/source/options/optdeepl.hxx +++ b/cui/source/options/optdeepl.hxx @@ -17,7 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #pragma once + #include <sfx2/tabdlg.hxx> +#include <vcl/weld/Entry.hxx> class OptDeeplTabPage : public SfxTabPage { diff --git a/cui/source/options/optgdlg.hxx b/cui/source/options/optgdlg.hxx index e95d6bbd7dfc..597a36111857 100644 --- a/cui/source/options/optgdlg.hxx +++ b/cui/source/options/optgdlg.hxx @@ -21,6 +21,7 @@ #include <config_features.h> #include <sfx2/tabdlg.hxx> #include <svx/langbox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/MetricSpinButton.hxx> #include <vcl/weld/SpinButton.hxx> diff --git a/cui/source/options/optinet2.hxx b/cui/source/options/optinet2.hxx index 0f6c2cfd2bfb..ea234b337282 100644 --- a/cui/source/options/optinet2.hxx +++ b/cui/source/options/optinet2.hxx @@ -21,6 +21,7 @@ #include <memory> #include <sfx2/tabdlg.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> namespace svx { class SecurityOptionsDialog; diff --git a/cui/source/options/optjava.hxx b/cui/source/options/optjava.hxx index 4dfcf4b2fe05..b4e4e1ac2f18 100644 --- a/cui/source/options/optjava.hxx +++ b/cui/source/options/optjava.hxx @@ -25,6 +25,7 @@ #include <vector> #include <vcl/timer.hxx> #include <vcl/idle.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> #include <sfx2/tabdlg.hxx> #include <com/sun/star/ui/dialogs/XFolderPicker2.hpp> diff --git a/cui/source/options/optlanguagetool.hxx b/cui/source/options/optlanguagetool.hxx index 3e3c3e8da0c7..2958fe752212 100644 --- a/cui/source/options/optlanguagetool.hxx +++ b/cui/source/options/optlanguagetool.hxx @@ -17,8 +17,10 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #pragma once + #include <sfx2/tabdlg.hxx> #include <rtl/ustring.hxx> +#include <vcl/weld/Entry.hxx> class OptLanguageToolTabPage : public SfxTabPage { diff --git a/dbaccess/source/ui/dlg/ConnectionPageSetup.hxx b/dbaccess/source/ui/dlg/ConnectionPageSetup.hxx index 27b8eab284ae..7b79d3116baf 100644 --- a/dbaccess/source/ui/dlg/ConnectionPageSetup.hxx +++ b/dbaccess/source/ui/dlg/ConnectionPageSetup.hxx @@ -22,6 +22,7 @@ #include "ConnectionHelper.hxx" #include "adminpages.hxx" #include <unotools/resmgr.hxx> +#include <vcl/weld/Entry.hxx> namespace dbaui { diff --git a/dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx b/dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx index 909cfede5806..327a7f187bf9 100644 --- a/dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx +++ b/dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx @@ -27,6 +27,8 @@ #include <curledit.hxx> +#include <vcl/weld/Entry.hxx> + namespace dbaui { class ODbTypeWizDialogSetup; diff --git a/dbaccess/source/ui/dlg/admincontrols.hxx b/dbaccess/source/ui/dlg/admincontrols.hxx index 7f480d7d24df..bde9a3f5882e 100644 --- a/dbaccess/source/ui/dlg/admincontrols.hxx +++ b/dbaccess/source/ui/dlg/admincontrols.hxx @@ -22,6 +22,7 @@ #include "adminpages.hxx" #include <vcl/weld/Builder.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/weld.hxx> diff --git a/dbaccess/source/ui/dlg/adminpages.hxx b/dbaccess/source/ui/dlg/adminpages.hxx index c791a6be0789..2ce7623928a0 100644 --- a/dbaccess/source/ui/dlg/adminpages.hxx +++ b/dbaccess/source/ui/dlg/adminpages.hxx @@ -21,6 +21,7 @@ #include <osl/diagnose.h> #include <sfx2/tabdlg.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/wizardmachine.hxx> #include <curledit.hxx> diff --git a/dbaccess/source/ui/dlg/advancedsettings.hxx b/dbaccess/source/ui/dlg/advancedsettings.hxx index 93c9044319e6..52236990faef 100644 --- a/dbaccess/source/ui/dlg/advancedsettings.hxx +++ b/dbaccess/source/ui/dlg/advancedsettings.hxx @@ -23,6 +23,7 @@ #include <dsmeta.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> #include <vector> diff --git a/dbaccess/source/ui/inc/CollectionView.hxx b/dbaccess/source/ui/inc/CollectionView.hxx index c7295faaa67b..be9dccde9f5e 100644 --- a/dbaccess/source/ui/inc/CollectionView.hxx +++ b/dbaccess/source/ui/inc/CollectionView.hxx @@ -20,6 +20,7 @@ #pragma once #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> #include <com/sun/star/ucb/XContent.hpp> diff --git a/dbaccess/source/ui/inc/FieldControls.hxx b/dbaccess/source/ui/inc/FieldControls.hxx index 0b0793d3afb3..fc8f242aa1bd 100644 --- a/dbaccess/source/ui/inc/FieldControls.hxx +++ b/dbaccess/source/ui/inc/FieldControls.hxx @@ -20,6 +20,7 @@ #include "SqlNameEdit.hxx" #include <unotools/resmgr.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> namespace dbaui diff --git a/dbaccess/source/ui/inc/SqlNameEdit.hxx b/dbaccess/source/ui/inc/SqlNameEdit.hxx index e593f7066870..a27bad896fda 100644 --- a/dbaccess/source/ui/inc/SqlNameEdit.hxx +++ b/dbaccess/source/ui/inc/SqlNameEdit.hxx @@ -21,6 +21,7 @@ #include <svtools/editbrowsebox.hxx> #include <unotools/resmgr.hxx> #include <utility> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> namespace dbaui diff --git a/dbaccess/source/ui/inc/WCPage.hxx b/dbaccess/source/ui/inc/WCPage.hxx index e23d64f59940..e02663b57890 100644 --- a/dbaccess/source/ui/inc/WCPage.hxx +++ b/dbaccess/source/ui/inc/WCPage.hxx @@ -20,6 +20,8 @@ #include "WTabPage.hxx" +#include <vcl/weld/Entry.hxx> + namespace dbaui { class OCopyTable final : public OWizardPage diff --git a/dbaccess/source/ui/inc/curledit.hxx b/dbaccess/source/ui/inc/curledit.hxx index 50a34a0c1448..b0b1753284f3 100644 --- a/dbaccess/source/ui/inc/curledit.hxx +++ b/dbaccess/source/ui/inc/curledit.hxx @@ -19,6 +19,7 @@ #pragma once +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> #include <dsntypes.hxx> diff --git a/dbaccess/source/ui/inc/dlgsave.hxx b/dbaccess/source/ui/inc/dlgsave.hxx index 0797ff9a4ea1..9972dc8d93ab 100644 --- a/dbaccess/source/ui/inc/dlgsave.hxx +++ b/dbaccess/source/ui/inc/dlgsave.hxx @@ -25,6 +25,7 @@ #include <o3tl/typed_flags_set.hxx> #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> #include <memory> diff --git a/dbaccess/source/ui/inc/paramdialog.hxx b/dbaccess/source/ui/inc/paramdialog.hxx index aecafd630e0f..d97f523d7fc6 100644 --- a/dbaccess/source/ui/inc/paramdialog.hxx +++ b/dbaccess/source/ui/inc/paramdialog.hxx @@ -20,6 +20,7 @@ #pragma once #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> #include <vcl/timer.hxx> diff --git a/dbaccess/source/ui/inc/queryfilter.hxx b/dbaccess/source/ui/inc/queryfilter.hxx index 988995c57635..dab889645ddd 100644 --- a/dbaccess/source/ui/inc/queryfilter.hxx +++ b/dbaccess/source/ui/inc/queryfilter.hxx @@ -21,6 +21,7 @@ #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> #include <connectivity/sqliterator.hxx> diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.hxx b/desktop/source/deployment/gui/dp_gui_dialog2.hxx index a107e2d8dfdd..b3f61020e768 100644 --- a/desktop/source/deployment/gui/dp_gui_dialog2.hxx +++ b/desktop/source/deployment/gui/dp_gui_dialog2.hxx @@ -23,6 +23,7 @@ #include <vcl/idle.hxx> #include <vcl/locktoplevels.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TextView.hxx> #include <vcl/weld/customweld.hxx> #include <vcl/weld/weld.hxx> diff --git a/extensions/source/abpilot/abpfinalpage.hxx b/extensions/source/abpilot/abpfinalpage.hxx index 6c6c5d69d989..bf26ca371ff7 100644 --- a/extensions/source/abpilot/abpfinalpage.hxx +++ b/extensions/source/abpilot/abpfinalpage.hxx @@ -24,6 +24,7 @@ #include <svx/databaselocationinput.hxx> #include <vcl/vclptr.hxx> +#include <vcl/weld/Entry.hxx> namespace abp { diff --git a/extensions/source/bibliography/general.hxx b/extensions/source/bibliography/general.hxx index d8017eee9072..6fbf71f6de92 100644 --- a/extensions/source/bibliography/general.hxx +++ b/extensions/source/bibliography/general.hxx @@ -22,6 +22,7 @@ #include <sal/config.h> #include <vcl/InterimItemWindow.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/ScrolledWindow.hxx> #include <vcl/weld/SpinButton.hxx> #include "bibshortcuthandler.hxx" diff --git a/extensions/source/bibliography/toolbar.hxx b/extensions/source/bibliography/toolbar.hxx index 30184309d9b5..a6f627030621 100644 --- a/extensions/source/bibliography/toolbar.hxx +++ b/extensions/source/bibliography/toolbar.hxx @@ -26,6 +26,7 @@ #include <vcl/toolbox.hxx> #include <vcl/timer.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <cppuhelper/implbase.hxx> #include <vector> diff --git a/extensions/source/dbpilots/groupboxwiz.hxx b/extensions/source/dbpilots/groupboxwiz.hxx index 73950ed36918..ac52f34d3063 100644 --- a/extensions/source/dbpilots/groupboxwiz.hxx +++ b/extensions/source/dbpilots/groupboxwiz.hxx @@ -22,6 +22,8 @@ #include "controlwizard.hxx" #include "commonpagesdbp.hxx" +#include <vcl/weld/Entry.hxx> + using vcl::WizardTypes::WizardState; using vcl::WizardTypes::CommitPageReason; diff --git a/extensions/source/dbpilots/listcombowizard.hxx b/extensions/source/dbpilots/listcombowizard.hxx index 5e61296f89be..f30f5dcb1513 100644 --- a/extensions/source/dbpilots/listcombowizard.hxx +++ b/extensions/source/dbpilots/listcombowizard.hxx @@ -22,6 +22,8 @@ #include "controlwizard.hxx" #include "commonpagesdbp.hxx" +#include <vcl/weld/Entry.hxx> + using vcl::WizardTypes::WizardState; using vcl::WizardTypes::CommitPageReason; diff --git a/extensions/source/propctrlr/browserlistbox.cxx b/extensions/source/propctrlr/browserlistbox.cxx index e4a6bd41a6f5..7a3f04249ae6 100644 --- a/extensions/source/propctrlr/browserlistbox.cxx +++ b/extensions/source/propctrlr/browserlistbox.cxx @@ -33,6 +33,7 @@ #include <comphelper/asyncnotification.hxx> #include <cppuhelper/implbase.hxx> #include <vcl/svapp.hxx> +#include <vcl/weld/Entry.hxx> #include <osl/mutex.hxx> diff --git a/extensions/source/propctrlr/newdatatype.hxx b/extensions/source/propctrlr/newdatatype.hxx index 81d89c6829d8..c9b0f84055e1 100644 --- a/extensions/source/propctrlr/newdatatype.hxx +++ b/extensions/source/propctrlr/newdatatype.hxx @@ -20,6 +20,7 @@ #pragma once #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> #include <set> diff --git a/extensions/source/propctrlr/standardcontrol.hxx b/extensions/source/propctrlr/standardcontrol.hxx index a8b3049e175c..63e342ee7d5e 100644 --- a/extensions/source/propctrlr/standardcontrol.hxx +++ b/extensions/source/propctrlr/standardcontrol.hxx @@ -28,6 +28,7 @@ #include <comphelper/interfacecontainer2.hxx> #include <svtools/ctrlbox.hxx> #include <svx/colorbox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/FormattedSpinButton.hxx> #include <vcl/weld/MetricSpinButton.hxx> #include <vcl/weld/TextView.hxx> diff --git a/extensions/source/propctrlr/usercontrol.hxx b/extensions/source/propctrlr/usercontrol.hxx index 287206dfb973..267bc263b9fc 100644 --- a/extensions/source/propctrlr/usercontrol.hxx +++ b/extensions/source/propctrlr/usercontrol.hxx @@ -22,6 +22,7 @@ #include "commoncontrol.hxx" #include <svtools/inettbc.hxx> #include <svl/zforlist.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/FormattedSpinButton.hxx> class SvNumberFormatsSupplierObj; diff --git a/extensions/source/scanner/sanedlg.hxx b/extensions/source/scanner/sanedlg.hxx index b8c014365a4f..e72f0fdb94db 100644 --- a/extensions/source/scanner/sanedlg.hxx +++ b/extensions/source/scanner/sanedlg.hxx @@ -20,6 +20,7 @@ #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/MetricSpinButton.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/TreeView.hxx> diff --git a/filter/source/pdf/impdialog.hxx b/filter/source/pdf/impdialog.hxx index 17df7753fdbf..04a654cf57bf 100644 --- a/filter/source/pdf/impdialog.hxx +++ b/filter/source/pdf/impdialog.hxx @@ -26,6 +26,7 @@ #include <vcl/FilterConfigItem.hxx> #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/MetricSpinButton.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/TreeView.hxx> diff --git a/filter/source/xsltdialog/xmlfiltertabpagebasic.hxx b/filter/source/xsltdialog/xmlfiltertabpagebasic.hxx index 1959db988a29..95fe7bef3f2a 100644 --- a/filter/source/xsltdialog/xmlfiltertabpagebasic.hxx +++ b/filter/source/xsltdialog/xmlfiltertabpagebasic.hxx @@ -20,6 +20,7 @@ #include <vcl/weld/Builder.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TextView.hxx> #include <vcl/weld/weld.hxx> diff --git a/filter/source/xsltdialog/xmlfiltertabpagexslt.hxx b/filter/source/xsltdialog/xmlfiltertabpagexslt.hxx index cbe4f94fc441..68bf7a937cfc 100644 --- a/filter/source/xsltdialog/xmlfiltertabpagexslt.hxx +++ b/filter/source/xsltdialog/xmlfiltertabpagexslt.hxx @@ -19,6 +19,7 @@ #pragma once #include <vcl/weld/Builder.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> #include <svtools/inettbc.hxx> diff --git a/formula/source/ui/dlg/ControlHelper.hxx b/formula/source/ui/dlg/ControlHelper.hxx index db86591e1d86..c0eb9e8034ae 100644 --- a/formula/source/ui/dlg/ControlHelper.hxx +++ b/formula/source/ui/dlg/ControlHelper.hxx @@ -19,6 +19,7 @@ #pragma once #include <formula/funcutl.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/ScrolledWindow.hxx> namespace formula diff --git a/formula/source/ui/dlg/funcpage.hxx b/formula/source/ui/dlg/funcpage.hxx index 106ac3fb5010..f1013b3b74c4 100644 --- a/formula/source/ui/dlg/funcpage.hxx +++ b/formula/source/ui/dlg/funcpage.hxx @@ -21,6 +21,7 @@ #include <vcl/weld/Builder.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> #include <vector> diff --git a/fpicker/source/office/QueryFolderName.hxx b/fpicker/source/office/QueryFolderName.hxx index d2734c574d6f..4ebcbc99af3b 100644 --- a/fpicker/source/office/QueryFolderName.hxx +++ b/fpicker/source/office/QueryFolderName.hxx @@ -19,6 +19,7 @@ #pragma once #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> class QueryFolderNameDialog : public weld::GenericDialogController diff --git a/fpicker/source/office/autocmpledit.hxx b/fpicker/source/office/autocmpledit.hxx index a5fe234e73b6..e86a685c5abe 100644 --- a/fpicker/source/office/autocmpledit.hxx +++ b/fpicker/source/office/autocmpledit.hxx @@ -10,6 +10,7 @@ #pragma once #include <vcl/idle.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> #include <vector> diff --git a/framework/source/uielement/edittoolbarcontroller.cxx b/framework/source/uielement/edittoolbarcontroller.cxx index 46bf56c2ff22..e07d03627e36 100644 --- a/framework/source/uielement/edittoolbarcontroller.cxx +++ b/framework/source/uielement/edittoolbarcontroller.cxx @@ -27,6 +27,7 @@ #include <vcl/svapp.hxx> #include <vcl/toolbox.hxx> #include <vcl/event.hxx> +#include <vcl/weld/Entry.hxx> using namespace ::com::sun::star; using namespace css::uno; diff --git a/include/avmedia/MediaControlBase.hxx b/include/avmedia/MediaControlBase.hxx index 7ca4332bea64..07cccb4901a2 100644 --- a/include/avmedia/MediaControlBase.hxx +++ b/include/avmedia/MediaControlBase.hxx @@ -20,6 +20,7 @@ #include <config_options.h> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> #include <avmedia/avmediadllapi.h> diff --git a/include/formula/funcutl.hxx b/include/formula/funcutl.hxx index 4b1869f478f7..bb7de3975f6e 100644 --- a/include/formula/funcutl.hxx +++ b/include/formula/funcutl.hxx @@ -23,6 +23,7 @@ #include <rtl/ustring.hxx> #include <tools/link.hxx> #include <vcl/idle.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> class KeyEvent; diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx index 6080e6981409..222ce6304bdb 100644 --- a/include/sfx2/dinfdlg.hxx +++ b/include/sfx2/dinfdlg.hxx @@ -34,6 +34,7 @@ #include <vcl/idle.hxx> #include <vcl/weld/Builder.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/FormattedSpinButton.hxx> #include <vcl/weld/ScrolledWindow.hxx> #include <vcl/weld/SpinButton.hxx> diff --git a/include/sfx2/passwd.hxx b/include/sfx2/passwd.hxx index c8292efb7b05..e5879dc485d5 100644 --- a/include/sfx2/passwd.hxx +++ b/include/sfx2/passwd.hxx @@ -21,6 +21,7 @@ #include <sal/config.h> #include <sfx2/dllapi.h> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> #include <o3tl/typed_flags_set.hxx> diff --git a/include/sfx2/templatedlg.hxx b/include/sfx2/templatedlg.hxx index 6574f0a2e7fc..263cd55e398a 100644 --- a/include/sfx2/templatedlg.hxx +++ b/include/sfx2/templatedlg.hxx @@ -20,6 +20,7 @@ #include <vcl/timer.hxx> #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> diff --git a/include/svtools/PlaceEditDialog.hxx b/include/svtools/PlaceEditDialog.hxx index 90f29cef95ee..b54798287d20 100644 --- a/include/svtools/PlaceEditDialog.hxx +++ b/include/svtools/PlaceEditDialog.hxx @@ -13,6 +13,7 @@ #include <svtools/svtdllapi.h> #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/weld.hxx> diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx index 0b17cf3aa7e4..2d824c72b3ae 100644 --- a/include/svtools/editbrowsebox.hxx +++ b/include/svtools/editbrowsebox.hxx @@ -28,6 +28,7 @@ #include <tools/lineend.hxx> #include <vcl/InterimItemWindow.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/FormattedSpinButton.hxx> #include <vcl/weld/TextView.hxx> #include <vcl/weld/weldutils.hxx> diff --git a/include/svtools/recorditemwindow.hxx b/include/svtools/recorditemwindow.hxx index 580ac1789171..7573874004f5 100644 --- a/include/svtools/recorditemwindow.hxx +++ b/include/svtools/recorditemwindow.hxx @@ -10,6 +10,7 @@ #pragma once #include <vcl/InterimItemWindow.hxx> +#include <vcl/weld/Entry.hxx> #include <svtools/svtdllapi.h> class SVT_DLLPUBLIC RecordItemWindowBase diff --git a/include/svx/ClassificationDialog.hxx b/include/svx/ClassificationDialog.hxx index 5a8302aa9851..7b9239839598 100644 --- a/include/svx/ClassificationDialog.hxx +++ b/include/svx/ClassificationDialog.hxx @@ -14,6 +14,7 @@ #include <sal/config.h> #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> #include <svx/svxdllapi.h> diff --git a/include/svx/ctredlin.hxx b/include/svx/ctredlin.hxx index 7afe42b2a760..520d5102ea29 100644 --- a/include/svx/ctredlin.hxx +++ b/include/svx/ctredlin.hxx @@ -29,6 +29,7 @@ #include <tools/time.hxx> #include <vcl/weld/Builder.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/FormattedSpinButton.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> diff --git a/include/svx/cuicharmap.hxx b/include/svx/cuicharmap.hxx index 0588734dffa7..1c4422e21c09 100644 --- a/include/svx/cuicharmap.hxx +++ b/include/svx/cuicharmap.hxx @@ -19,6 +19,7 @@ #pragma once #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/customweld.hxx> #include <vcl/weld/weld.hxx> #include <vcl/virdev.hxx> diff --git a/include/svx/dialog/ThemeColorEditDialog.hxx b/include/svx/dialog/ThemeColorEditDialog.hxx index dfee5bdb4f02..182ff64d2da1 100644 --- a/include/svx/dialog/ThemeColorEditDialog.hxx +++ b/include/svx/dialog/ThemeColorEditDialog.hxx @@ -13,6 +13,7 @@ #include <svx/svxdllapi.h> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> #include <docmodel/theme/ColorSet.hxx> diff --git a/include/svx/imapdlg.hxx b/include/svx/imapdlg.hxx index 07a73b17b763..74abfd3616fc 100644 --- a/include/svx/imapdlg.hxx +++ b/include/svx/imapdlg.hxx @@ -24,6 +24,7 @@ #include <sfx2/ctrlitem.hxx> #include <sfx2/basedlgs.hxx> #include <svx/svxdllapi.h> +#include <vcl/weld/Entry.hxx> #include <memory> #include <vector> diff --git a/include/svx/passwd.hxx b/include/svx/passwd.hxx index 0b4a4922a109..5799f250e0f4 100644 --- a/include/svx/passwd.hxx +++ b/include/svx/passwd.hxx @@ -22,6 +22,7 @@ #include <config_options.h> #include <sfx2/basedlgs.hxx> #include <svx/svxdllapi.h> +#include <vcl/weld/Entry.hxx> class UNLESS_MERGELIBS_MORE(SVX_DLLPUBLIC) SvxPasswordDialog final : public SfxDialogController { diff --git a/include/svx/rubydialog.hxx b/include/svx/rubydialog.hxx index d81fcb53dd26..2685bf3f2062 100644 --- a/include/svx/rubydialog.hxx +++ b/include/svx/rubydialog.hxx @@ -26,6 +26,7 @@ #include <svx/svxdllapi.h> #include <rtl/ref.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/ScrolledWindow.hxx> #include <vcl/weld/customweld.hxx> diff --git a/include/vcl/hexcolorcontrol.hxx b/include/vcl/hexcolorcontrol.hxx index aaf396c9a4f9..29dd27545d9c 100644 --- a/include/vcl/hexcolorcontrol.hxx +++ b/include/vcl/hexcolorcontrol.hxx @@ -22,6 +22,7 @@ #include <tools/color.hxx> #include <tools/link.hxx> #include <vcl/dllapi.h> +#include <vcl/weld/Entry.hxx> namespace weld { class Entry; } diff --git a/include/vcl/jsdialog/executor.hxx b/include/vcl/jsdialog/executor.hxx index a2f7429e7275..28c942e08960 100644 --- a/include/vcl/jsdialog/executor.hxx +++ b/include/vcl/jsdialog/executor.hxx @@ -12,6 +12,7 @@ #include <vcl/dllapi.h> #include <vcl/uitest/uiobject.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/FormattedSpinButton.hxx> #include <vcl/weld/IconView.hxx> #include <vcl/weld/ScrolledWindow.hxx> diff --git a/include/vcl/weld/Entry.hxx b/include/vcl/weld/Entry.hxx new file mode 100644 index 000000000000..e670ed062500 --- /dev/null +++ b/include/vcl/weld/Entry.hxx @@ -0,0 +1,103 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#pragma once + +#include <vcl/dllapi.h> +#include <vcl/weld/weld.hxx> + +namespace weld +{ +class VCL_DLLPUBLIC Entry : virtual public Widget +{ +private: + OUString m_sSavedValue; + +protected: + Link<Entry&, void> m_aChangeHdl; + Link<OUString&, bool> m_aInsertTextHdl; + Link<Entry&, void> m_aCursorPositionHdl; + Link<Entry&, bool> m_aActivateHdl; + + friend class ::LOKTrigger; + + void signal_changed(); + + void signal_activated(); + + void signal_cursor_position(); + + virtual void do_set_text(const OUString& rText) = 0; + virtual void do_select_region(int nStartPos, int nEndPos) = 0; + virtual void do_set_position(int nCursorPos) = 0; + +public: + void set_text(const OUString& rText); + + virtual OUString get_text() const = 0; + virtual void set_width_chars(int nChars) = 0; + virtual int get_width_chars() const = 0; + // The maximum length of the entry. Use 0 for no maximum + virtual void set_max_length(int nChars) = 0; + + // nEndPos can be -1 in order to select all text + void select_region(int nStartPos, int nEndPos); + + // returns true if the selection has nonzero length + virtual bool get_selection_bounds(int& rStartPos, int& rEndPos) = 0; + virtual void replace_selection(const OUString& rText) = 0; + + // nCursorPos can be -1 to set to the end + void set_position(int nCursorPos); + + virtual int get_position() const = 0; + virtual void set_editable(bool bEditable) = 0; + virtual bool get_editable() const = 0; + virtual void set_visibility(bool bVisible) = 0; + virtual void set_message_type(EntryMessageType eType) = 0; + virtual void set_placeholder_text(const OUString& rText) = 0; + + virtual void set_overwrite_mode(bool bOn) = 0; + virtual bool get_overwrite_mode() const = 0; + + // font size is in points, not pixels, e.g. see Window::[G]etPointFont + virtual void set_font(const vcl::Font& rFont) = 0; + + /* + If you want to set a warning or error state, see set_message_type + instead where, if the toolkit supports it, a specific warning/error + indicator is shown. + + This explicit text color method exists to support rendering the + SvNumberformat color feature. + */ + virtual void set_font_color(const Color& rColor) = 0; + + virtual void connect_changed(const Link<Entry&, void>& rLink) { m_aChangeHdl = rLink; } + void connect_insert_text(const Link<OUString&, bool>& rLink) { m_aInsertTextHdl = rLink; } + // callback returns true to indicated no further processing of activate wanted + void connect_activate(const Link<Entry&, bool>& rLink) { m_aActivateHdl = rLink; } + virtual void connect_cursor_position(const Link<Entry&, void>& rLink) + { + m_aCursorPositionHdl = rLink; + } + + virtual void cut_clipboard() = 0; + virtual void copy_clipboard() = 0; + virtual void paste_clipboard() = 0; + + virtual void set_alignment(TxtAlign eXAlign) = 0; + + void save_value() { m_sSavedValue = get_text(); } + OUString const& get_saved_value() const { return m_sSavedValue; } + bool get_value_changed_from_saved() const { return m_sSavedValue != get_text(); } +}; +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/include/vcl/weld/EntryTreeView.hxx b/include/vcl/weld/EntryTreeView.hxx index e9823b9bf9db..f99fb1ff4cd4 100644 --- a/include/vcl/weld/EntryTreeView.hxx +++ b/include/vcl/weld/EntryTreeView.hxx @@ -11,8 +11,8 @@ #include <vcl/dllapi.h> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> -#include <vcl/weld/weld.hxx> namespace weld { diff --git a/include/vcl/weld/FormattedSpinButton.hxx b/include/vcl/weld/FormattedSpinButton.hxx index eac888683a34..2b6ad2fe7b6e 100644 --- a/include/vcl/weld/FormattedSpinButton.hxx +++ b/include/vcl/weld/FormattedSpinButton.hxx @@ -10,7 +10,7 @@ #pragma once #include <vcl/dllapi.h> -#include <vcl/weld/weld.hxx> +#include <vcl/weld/Entry.hxx> namespace weld { diff --git a/include/vcl/weld/SpinButton.hxx b/include/vcl/weld/SpinButton.hxx index af9199fd1cd0..f576347efe81 100644 --- a/include/vcl/weld/SpinButton.hxx +++ b/include/vcl/weld/SpinButton.hxx @@ -10,7 +10,7 @@ #pragma once #include <vcl/dllapi.h> -#include <vcl/weld/weld.hxx> +#include <vcl/weld/Entry.hxx> namespace weld { diff --git a/include/vcl/weld/weld.hxx b/include/vcl/weld/weld.hxx index c0b5b382b107..cd89a170522a 100644 --- a/include/vcl/weld/weld.hxx +++ b/include/vcl/weld/weld.hxx @@ -900,121 +900,6 @@ public: virtual void set_percentage(double fPercentage) = 0; }; -class VCL_DLLPUBLIC Entry : virtual public Widget -{ -private: - OUString m_sSavedValue; - -protected: - Link<Entry&, void> m_aChangeHdl; - Link<OUString&, bool> m_aInsertTextHdl; - Link<Entry&, void> m_aCursorPositionHdl; - Link<Entry&, bool> m_aActivateHdl; - - friend class ::LOKTrigger; - - void signal_changed() - { - if (notify_events_disabled()) - return; - m_aChangeHdl.Call(*this); - } - - void signal_activated() - { - if (notify_events_disabled()) - return; - m_aActivateHdl.Call(*this); - } - - void signal_cursor_position() - { - if (notify_events_disabled()) - return; - m_aCursorPositionHdl.Call(*this); - } - - virtual void do_set_text(const OUString& rText) = 0; - virtual void do_select_region(int nStartPos, int nEndPos) = 0; - virtual void do_set_position(int nCursorPos) = 0; - -public: - void set_text(const OUString& rText) - { - disable_notify_events(); - do_set_text(rText); - enable_notify_events(); - } - - virtual OUString get_text() const = 0; - virtual void set_width_chars(int nChars) = 0; - virtual int get_width_chars() const = 0; - // The maximum length of the entry. Use 0 for no maximum - virtual void set_max_length(int nChars) = 0; - - // nEndPos can be -1 in order to select all text - void select_region(int nStartPos, int nEndPos) - { - disable_notify_events(); - do_select_region(nStartPos, nEndPos); - enable_notify_events(); - } - - // returns true if the selection has nonzero length - virtual bool get_selection_bounds(int& rStartPos, int& rEndPos) = 0; - virtual void replace_selection(const OUString& rText) = 0; - - // nCursorPos can be -1 to set to the end - void set_position(int nCursorPos) - { - disable_notify_events(); - do_set_position(nCursorPos); - enable_notify_events(); - } - - virtual int get_position() const = 0; - virtual void set_editable(bool bEditable) = 0; - virtual bool get_editable() const = 0; - virtual void set_visibility(bool bVisible) = 0; - virtual void set_message_type(EntryMessageType eType) = 0; - virtual void set_placeholder_text(const OUString& rText) = 0; - - virtual void set_overwrite_mode(bool bOn) = 0; - virtual bool get_overwrite_mode() const = 0; - - // font size is in points, not pixels, e.g. see Window::[G]etPointFont - virtual void set_font(const vcl::Font& rFont) = 0; - - /* - If you want to set a warning or error state, see set_message_type - instead where, if the toolkit supports it, a specific warning/error - indicator is shown. - - This explicit text color method exists to support rendering the - SvNumberformat color feature. - */ - virtual void set_font_color(const Color& rColor) = 0; - - virtual void connect_changed(const Link<Entry&, void>& rLink) { m_aChangeHdl = rLink; } - void connect_insert_text(const Link<OUString&, bool>& rLink) { m_aInsertTextHdl = rLink; } - // callback returns true to indicated no further processing of activate wanted - void connect_activate(const Link<Entry&, bool>& rLink) { m_aActivateHdl = rLink; } - virtual void connect_cursor_position(const Link<Entry&, void>& rLink) - { - m_aCursorPositionHdl = rLink; - } - - virtual void cut_clipboard() = 0; - virtual void copy_clipboard() = 0; - virtual void paste_clipboard() = 0; - - virtual void set_alignment(TxtAlign eXAlign) = 0; - - void save_value() { m_sSavedValue = get_text(); } - OUString const& get_saved_value() const { return m_sSavedValue; } - bool get_value_changed_from_saved() const { return m_sSavedValue != get_text(); } -}; - class VCL_DLLPUBLIC Image : virtual public Widget { public: diff --git a/include/vcl/weld/weldutils.hxx b/include/vcl/weld/weldutils.hxx index 41db0d397aef..f682e0f399da 100644 --- a/include/vcl/weld/weldutils.hxx +++ b/include/vcl/weld/weldutils.hxx @@ -22,6 +22,7 @@ #include <vcl/timer.hxx> #include <vcl/transfer.hxx> #include <vcl/weld/Builder.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/FormattedSpinButton.hxx> #include <vcl/weld/weld.hxx> diff --git a/reportdesign/source/ui/dlg/Condition.hxx b/reportdesign/source/ui/dlg/Condition.hxx index 951b4f119163..9a0f5beb8fb4 100644 --- a/reportdesign/source/ui/dlg/Condition.hxx +++ b/reportdesign/source/ui/dlg/Condition.hxx @@ -28,6 +28,7 @@ #include <svx/fntctrl.hxx> #include <vcl/weld/Builder.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/customweld.hxx> #include <vcl/weld/weld.hxx> diff --git a/sc/source/ui/inc/checklistmenu.hxx b/sc/source/ui/inc/checklistmenu.hxx index 2accd2a17265..f5916782b191 100644 --- a/sc/source/ui/inc/checklistmenu.hxx +++ b/sc/source/ui/inc/checklistmenu.hxx @@ -13,6 +13,7 @@ #include <vcl/virdev.hxx> #include <vcl/weld/Builder.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> diff --git a/sc/source/ui/inc/colorformat.hxx b/sc/source/ui/inc/colorformat.hxx index 4db3f6a056ef..2d8a81342ae8 100644 --- a/sc/source/ui/inc/colorformat.hxx +++ b/sc/source/ui/inc/colorformat.hxx @@ -11,6 +11,7 @@ #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> #include <svx/colorbox.hxx> #include <address.hxx> diff --git a/sc/source/ui/inc/condformatdlgentry.hxx b/sc/source/ui/inc/condformatdlgentry.hxx index 44ea80e08fb1..74df21669355 100644 --- a/sc/source/ui/inc/condformatdlgentry.hxx +++ b/sc/source/ui/inc/condformatdlgentry.hxx @@ -13,6 +13,7 @@ #include <formula/funcutl.hxx> #include <vcl/weld/Builder.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> #include <svl/lstner.hxx> #include <svx/fntctrl.hxx> diff --git a/sc/source/ui/inc/condformateasydlg.hxx b/sc/source/ui/inc/condformateasydlg.hxx index 687612ee0da9..347486b9cb20 100644 --- a/sc/source/ui/inc/condformateasydlg.hxx +++ b/sc/source/ui/inc/condformateasydlg.hxx @@ -12,6 +12,7 @@ #include "anyrefdg.hxx" #include <svl/lstner.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <conditio.hxx> class ScViewData; diff --git a/sc/source/ui/inc/dapitype.hxx b/sc/source/ui/inc/dapitype.hxx index 4130dadf1fb2..7a08bc64dbbd 100644 --- a/sc/source/ui/inc/dapitype.hxx +++ b/sc/source/ui/inc/dapitype.hxx @@ -21,6 +21,7 @@ #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> class ScDataPilotSourceTypeDlg : public weld::GenericDialogController diff --git a/sc/source/ui/inc/datafdlg.hxx b/sc/source/ui/inc/datafdlg.hxx index 0151e89b5c66..b6b74829127b 100644 --- a/sc/source/ui/inc/datafdlg.hxx +++ b/sc/source/ui/inc/datafdlg.hxx @@ -10,6 +10,7 @@ #pragma once #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/ScrolledWindow.hxx> #include <vcl/weld/weld.hxx> #include <types.hxx> diff --git a/sc/source/ui/inc/dataproviderdlg.hxx b/sc/source/ui/inc/dataproviderdlg.hxx index 5a0d2d950ece..efd9685263a8 100644 --- a/sc/source/ui/inc/dataproviderdlg.hxx +++ b/sc/source/ui/inc/dataproviderdlg.hxx @@ -16,6 +16,7 @@ #include <com/sun/star/awt/XWindow.hpp> #include <vcl/idle.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/ScrolledWindow.hxx> #include <vcl/weld/weld.hxx> #include "datatableview.hxx" diff --git a/sc/source/ui/inc/datastreamdlg.hxx b/sc/source/ui/inc/datastreamdlg.hxx index 033b34d1e0dd..74bd5c731efa 100644 --- a/sc/source/ui/inc/datastreamdlg.hxx +++ b/sc/source/ui/inc/datastreamdlg.hxx @@ -12,6 +12,7 @@ #include <sal/config.h> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> class ScDocShell; diff --git a/sc/source/ui/inc/dwfunctr.hxx b/sc/source/ui/inc/dwfunctr.hxx index 34e19f95f68c..5b5569e0c7a6 100644 --- a/sc/source/ui/inc/dwfunctr.hxx +++ b/sc/source/ui/inc/dwfunctr.hxx @@ -22,6 +22,7 @@ #include <sfx2/sidebar/PanelLayout.hxx> #include <unordered_map> #include <sfx2/bindings.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TextView.hxx> class ScFuncDesc; diff --git a/sc/source/ui/inc/editfield.hxx b/sc/source/ui/inc/editfield.hxx index 5bb371345cec..63fe8b2a3b8f 100644 --- a/sc/source/ui/inc/editfield.hxx +++ b/sc/source/ui/inc/editfield.hxx @@ -19,7 +19,7 @@ #pragma once -#include <vcl/weld/weld.hxx> +#include <vcl/weld/Entry.hxx> /** An edit control that contains a double precision floating-point value. */ class ScDoubleField diff --git a/sc/source/ui/inc/filldlg.hxx b/sc/source/ui/inc/filldlg.hxx index a07af1904577..c150f3c54e88 100644 --- a/sc/source/ui/inc/filldlg.hxx +++ b/sc/source/ui/inc/filldlg.hxx @@ -20,6 +20,7 @@ #pragma once #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> #include <global.hxx> diff --git a/sc/source/ui/inc/gototabdlg.hxx b/sc/source/ui/inc/gototabdlg.hxx index 0247fb92b12a..2611039054fd 100644 --- a/sc/source/ui/inc/gototabdlg.hxx +++ b/sc/source/ui/inc/gototabdlg.hxx @@ -11,6 +11,7 @@ #pragma once #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> diff --git a/sc/source/ui/inc/instbdlg.hxx b/sc/source/ui/inc/instbdlg.hxx index 00bcc9ee9bfb..f4d6c8953287 100644 --- a/sc/source/ui/inc/instbdlg.hxx +++ b/sc/source/ui/inc/instbdlg.hxx @@ -22,6 +22,7 @@ #include <sfx2/objsh.hxx> #include <vcl/timer.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> diff --git a/sc/source/ui/inc/mvtabdlg.hxx b/sc/source/ui/inc/mvtabdlg.hxx index 3ebfac98ce98..95b8f30e5457 100644 --- a/sc/source/ui/inc/mvtabdlg.hxx +++ b/sc/source/ui/inc/mvtabdlg.hxx @@ -21,6 +21,7 @@ #include <types.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> diff --git a/sc/source/ui/inc/navipi.hxx b/sc/source/ui/inc/navipi.hxx index a290b0feab39..52b5d681bfd3 100644 --- a/sc/source/ui/inc/navipi.hxx +++ b/sc/source/ui/inc/navipi.hxx @@ -25,6 +25,7 @@ #include <sfx2/childwin.hxx> #include <sfx2/navigat.hxx> #include <sfx2/sidebar/PanelLayout.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/TextView.hxx> #include <rangeutl.hxx> diff --git a/sc/source/ui/inc/optsolver.hxx b/sc/source/ui/inc/optsolver.hxx index df36f1cbc6dc..78ac38e17ba8 100644 --- a/sc/source/ui/inc/optsolver.hxx +++ b/sc/source/ui/inc/optsolver.hxx @@ -25,6 +25,7 @@ #include <SolverSettings.hxx> #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/table/CellAddress.hpp> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/ScrolledWindow.hxx> #include <string_view> diff --git a/sc/source/ui/inc/protectiondlg.hxx b/sc/source/ui/inc/protectiondlg.hxx index 7f7e28c3ab50..150d3d1c69d3 100644 --- a/sc/source/ui/inc/protectiondlg.hxx +++ b/sc/source/ui/inc/protectiondlg.hxx @@ -20,6 +20,7 @@ #pragma once #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> diff --git a/sc/source/ui/inc/retypepassdlg.hxx b/sc/source/ui/inc/retypepassdlg.hxx index 15d7704316ec..df20680c40f0 100644 --- a/sc/source/ui/inc/retypepassdlg.hxx +++ b/sc/source/ui/inc/retypepassdlg.hxx @@ -21,6 +21,7 @@ #include <vcl/weld/Builder.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/ScrolledWindow.hxx> #include <vcl/weld/weld.hxx> #include <tabprotection.hxx> diff --git a/sc/source/ui/inc/scendlg.hxx b/sc/source/ui/inc/scendlg.hxx index 195e2f718a94..485ce1aee757 100644 --- a/sc/source/ui/inc/scendlg.hxx +++ b/sc/source/ui/inc/scendlg.hxx @@ -20,6 +20,7 @@ #pragma once #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TextView.hxx> #include <vcl/weld/weld.hxx> diff --git a/sc/source/ui/inc/scuiasciiopt.hxx b/sc/source/ui/inc/scuiasciiopt.hxx index 6f3fca92a5f4..dd5ff16d53e7 100644 --- a/sc/source/ui/inc/scuiasciiopt.hxx +++ b/sc/source/ui/inc/scuiasciiopt.hxx @@ -23,6 +23,7 @@ #include <tools/solar.h> #include <tools/stream.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/weld.hxx> diff --git a/sc/source/ui/inc/solveroptions.hxx b/sc/source/ui/inc/solveroptions.hxx index c40f147a0e81..210871ab77f7 100644 --- a/sc/source/ui/inc/solveroptions.hxx +++ b/sc/source/ui/inc/solveroptions.hxx @@ -22,6 +22,7 @@ #include <utility> #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> diff --git a/sc/source/ui/inc/strindlg.hxx b/sc/source/ui/inc/strindlg.hxx index 5e3f63c59c9b..0ac0900531cc 100644 --- a/sc/source/ui/inc/strindlg.hxx +++ b/sc/source/ui/inc/strindlg.hxx @@ -20,6 +20,7 @@ #pragma once #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> class ScStringInputDlg : public weld::GenericDialogController diff --git a/sc/source/ui/inc/tpdefaults.hxx b/sc/source/ui/inc/tpdefaults.hxx index 30e6b9519d30..e660851770a7 100644 --- a/sc/source/ui/inc/tpdefaults.hxx +++ b/sc/source/ui/inc/tpdefaults.hxx @@ -10,6 +10,7 @@ #pragma once #include <sfx2/tabdlg.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> class ScTpDefaultsOptions : public SfxTabPage diff --git a/sc/source/ui/inc/tpformula.hxx b/sc/source/ui/inc/tpformula.hxx index 71a1875815b7..567b2cd7f654 100644 --- a/sc/source/ui/inc/tpformula.hxx +++ b/sc/source/ui/inc/tpformula.hxx @@ -21,6 +21,7 @@ #include <sfx2/tabdlg.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <calcconfig.hxx> #include <docoptio.hxx> diff --git a/sc/source/ui/inc/tpsort.hxx b/sc/source/ui/inc/tpsort.hxx index e6f65d027729..bda4107e1624 100644 --- a/sc/source/ui/inc/tpsort.hxx +++ b/sc/source/ui/inc/tpsort.hxx @@ -26,6 +26,7 @@ #include <svx/langbox.hxx> #include <unotools/collatorwrapper.hxx> #include <vcl/idle.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/ScrolledWindow.hxx> #include "sortkeydlg.hxx" diff --git a/sc/source/ui/inc/tpusrlst.hxx b/sc/source/ui/inc/tpusrlst.hxx index 97a12db04093..7629accd4a2d 100644 --- a/sc/source/ui/inc/tpusrlst.hxx +++ b/sc/source/ui/inc/tpusrlst.hxx @@ -20,6 +20,7 @@ #pragma once #include <sfx2/tabdlg.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TextView.hxx> class ScUserList; diff --git a/sc/source/ui/inc/validate.hxx b/sc/source/ui/inc/validate.hxx index e8c8587db231..c0a0a5ae9605 100644 --- a/sc/source/ui/inc/validate.hxx +++ b/sc/source/ui/inc/validate.hxx @@ -21,6 +21,7 @@ #include <sfx2/tabdlg.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TextView.hxx> #include "anyrefdg.hxx" diff --git a/sd/source/ui/dlg/RemoteDialogClientBox.hxx b/sd/source/ui/dlg/RemoteDialogClientBox.hxx index a1e774dd6c9a..88a4e57d0ba9 100644 --- a/sd/source/ui/dlg/RemoteDialogClientBox.hxx +++ b/sd/source/ui/dlg/RemoteDialogClientBox.hxx @@ -20,6 +20,7 @@ #pragma once #include <vcl/weld/Builder.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/ScrolledWindow.hxx> #include <vcl/weld/weld.hxx> diff --git a/sd/source/ui/dlg/headerfooterdlg.cxx b/sd/source/ui/dlg/headerfooterdlg.cxx index 4ef4faa0f3d6..47e2bd29af84 100644 --- a/sd/source/ui/dlg/headerfooterdlg.cxx +++ b/sd/source/ui/dlg/headerfooterdlg.cxx @@ -40,6 +40,7 @@ #include <svtools/colorcfg.hxx> #include <vcl/decoview.hxx> #include <vcl/svapp.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/customweld.hxx> #include <undoheaderfooter.hxx> diff --git a/sd/source/ui/inc/BulletAndPositionDlg.hxx b/sd/source/ui/inc/BulletAndPositionDlg.hxx index 7598c05e458a..a08a688ae72e 100644 --- a/sd/source/ui/inc/BulletAndPositionDlg.hxx +++ b/sd/source/ui/inc/BulletAndPositionDlg.hxx @@ -26,6 +26,7 @@ #include <editeng/svxenum.hxx> #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/MetricSpinButton.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/TreeView.hxx> diff --git a/sd/source/ui/inc/custsdlg.hxx b/sd/source/ui/inc/custsdlg.hxx index 69e98dcb876b..6e9874853c65 100644 --- a/sd/source/ui/inc/custsdlg.hxx +++ b/sd/source/ui/inc/custsdlg.hxx @@ -20,6 +20,7 @@ #pragma once #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> #include <vcl/weld/weldutils.hxx> diff --git a/sd/source/ui/inc/layeroptionsdlg.hxx b/sd/source/ui/inc/layeroptionsdlg.hxx index a55dc33e5de2..7a77ea4659c2 100644 --- a/sd/source/ui/inc/layeroptionsdlg.hxx +++ b/sd/source/ui/inc/layeroptionsdlg.hxx @@ -22,6 +22,7 @@ #include <sddllapi.h> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TextView.hxx> #include <vcl/weld/weld.hxx> diff --git a/sd/source/ui/inc/tpaction.hxx b/sd/source/ui/inc/tpaction.hxx index 2c6183165b7b..0e96b202a498 100644 --- a/sd/source/ui/inc/tpaction.hxx +++ b/sd/source/ui/inc/tpaction.hxx @@ -25,6 +25,7 @@ #include <svx/xtable.hxx> #include <unotools/resmgr.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include "sdtreelb.hxx" #include <vector> diff --git a/sfx2/inc/autoredactdialog.hxx b/sfx2/inc/autoredactdialog.hxx index aa0f57724868..aa84a444e27c 100644 --- a/sfx2/inc/autoredactdialog.hxx +++ b/sfx2/inc/autoredactdialog.hxx @@ -16,6 +16,7 @@ #include <sfx2/objsh.hxx> #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> enum RedactionTargetType diff --git a/sfx2/inc/commandpopup/CommandPopup.hxx b/sfx2/inc/commandpopup/CommandPopup.hxx index 2bfc8b6fad84..a0329c29f325 100644 --- a/sfx2/inc/commandpopup/CommandPopup.hxx +++ b/sfx2/inc/commandpopup/CommandPopup.hxx @@ -11,6 +11,7 @@ #include <utility> #include <vcl/weld/Builder.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> diff --git a/sfx2/inc/inputdlg.hxx b/sfx2/inc/inputdlg.hxx index cce3067e2b13..d9b9d599f63e 100644 --- a/sfx2/inc/inputdlg.hxx +++ b/sfx2/inc/inputdlg.hxx @@ -11,6 +11,7 @@ #define INCLUDED_SFX2_SOURCE_INC_INPUTDLG_HXX #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> class InputDialog final : public weld::GenericDialogController diff --git a/sfx2/inc/saveastemplatedlg.hxx b/sfx2/inc/saveastemplatedlg.hxx index 983bd58f8cd5..36f39f4b26fc 100644 --- a/sfx2/inc/saveastemplatedlg.hxx +++ b/sfx2/inc/saveastemplatedlg.hxx @@ -13,6 +13,7 @@ #include <sal/config.h> #include <sfx2/doctempl.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> diff --git a/sfx2/source/appl/impldde.cxx b/sfx2/source/appl/impldde.cxx index 475a25248121..f2d2c45609b7 100644 --- a/sfx2/source/appl/impldde.cxx +++ b/sfx2/source/appl/impldde.cxx @@ -26,6 +26,7 @@ #include "impldde.hxx" #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> #include <sot/exchange.hxx> #include <rtl/ustring.hxx> diff --git a/sfx2/source/appl/newhelp.hxx b/sfx2/source/appl/newhelp.hxx index d8e86cca43a9..a083781cfadd 100644 --- a/sfx2/source/appl/newhelp.hxx +++ b/sfx2/source/appl/newhelp.hxx @@ -30,6 +30,7 @@ #include <vcl/weld/Builder.hxx> #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> #include <vcl/window.hxx> diff --git a/sfx2/source/dialog/mgetempl.cxx b/sfx2/source/dialog/mgetempl.cxx index 5f01ade14375..6abc1a474133 100644 --- a/sfx2/source/dialog/mgetempl.cxx +++ b/sfx2/source/dialog/mgetempl.cxx @@ -20,6 +20,7 @@ #include <comphelper/string.hxx> #include <vcl/svapp.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> #include <svl/eitem.hxx> #include <svl/intitem.hxx> diff --git a/svtools/source/brwbox/brwbox1.cxx b/svtools/source/brwbox/brwbox1.cxx index 45ee359daf92..ba53d094fdfc 100644 --- a/svtools/source/brwbox/brwbox1.cxx +++ b/svtools/source/brwbox/brwbox1.cxx @@ -30,6 +30,7 @@ #include <sal/log.hxx> #include <vcl/InterimItemWindow.hxx> #include <vcl/svapp.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> #include <algorithm> diff --git a/svx/source/inc/datanavi.hxx b/svx/source/inc/datanavi.hxx index 475801715b5b..c1940b98aa05 100644 --- a/svx/source/inc/datanavi.hxx +++ b/svx/source/inc/datanavi.hxx @@ -26,6 +26,7 @@ #include <vcl/transfer.hxx> #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TextView.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> diff --git a/svx/source/inc/docrecovery.hxx b/svx/source/inc/docrecovery.hxx index bb271416ec82..00a55935578c 100644 --- a/svx/source/inc/docrecovery.hxx +++ b/svx/source/inc/docrecovery.hxx @@ -21,6 +21,7 @@ #define INCLUDED_SVX_SOURCE_INC_DOCRECOVERY_HXX #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> #include <o3tl/typed_flags_set.hxx> diff --git a/svx/source/inc/galbrws1.hxx b/svx/source/inc/galbrws1.hxx index 1f8090697e74..714245446a42 100644 --- a/svx/source/inc/galbrws1.hxx +++ b/svx/source/inc/galbrws1.hxx @@ -21,6 +21,7 @@ #include <svl/lstner.hxx> #include <vcl/transfer.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/customweld.hxx> #include <vcl/weld/weld.hxx> diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx index 2e6a3e7360c6..5f0cf1125eaf 100644 --- a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx +++ b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx @@ -21,6 +21,7 @@ #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> #include <com/sun/star/uno/XComponentContext.hpp> diff --git a/sw/source/ui/dbui/createaddresslistdialog.hxx b/sw/source/ui/dbui/createaddresslistdialog.hxx index baf91e37c38e..0792d26ead7d 100644 --- a/sw/source/ui/dbui/createaddresslistdialog.hxx +++ b/sw/source/ui/dbui/createaddresslistdialog.hxx @@ -22,6 +22,7 @@ #include <sfx2/basedlgs.hxx> #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/weld.hxx> #include <vector> diff --git a/sw/source/ui/dbui/customizeaddresslistdialog.hxx b/sw/source/ui/dbui/customizeaddresslistdialog.hxx index 756444dcfb56..3b405014db09 100644 --- a/sw/source/ui/dbui/customizeaddresslistdialog.hxx +++ b/sw/source/ui/dbui/customizeaddresslistdialog.hxx @@ -20,6 +20,7 @@ #define INCLUDED_SW_SOURCE_UI_DBUI_CUSTOMIZEADDRESSLISTDIALOG_HXX #include <sfx2/basedlgs.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> diff --git a/sw/source/ui/dbui/mmaddressblockpage.hxx b/sw/source/ui/dbui/mmaddressblockpage.hxx index 2b3e69a3c78d..679759884064 100644 --- a/sw/source/ui/dbui/mmaddressblockpage.hxx +++ b/sw/source/ui/dbui/mmaddressblockpage.hxx @@ -21,6 +21,7 @@ #include <svx/weldeditview.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/wizardmachine.hxx> #include <mailmergehelper.hxx> diff --git a/sw/source/ui/envelp/labfmt.hxx b/sw/source/ui/envelp/labfmt.hxx index cec4213e2076..1702155eaedb 100644 --- a/sw/source/ui/envelp/labfmt.hxx +++ b/sw/source/ui/envelp/labfmt.hxx @@ -24,6 +24,7 @@ #include <sfx2/tabdlg.hxx> #include <vcl/idle.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/MetricSpinButton.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/customweld.hxx> diff --git a/sw/source/ui/envelp/swuilabimp.hxx b/sw/source/ui/envelp/swuilabimp.hxx index 8ce10b9cd9f6..e70a43ba2759 100644 --- a/sw/source/ui/envelp/swuilabimp.hxx +++ b/sw/source/ui/envelp/swuilabimp.hxx @@ -22,6 +22,7 @@ #include <labimg.hxx> #include <labrec.hxx> #include <sfx2/tabdlg.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TextView.hxx> class SwLabPage : public SfxTabPage diff --git a/sw/source/ui/fldui/flddb.hxx b/sw/source/ui/fldui/flddb.hxx index b109e56d642d..aeb93d1dfafe 100644 --- a/sw/source/ui/fldui/flddb.hxx +++ b/sw/source/ui/fldui/flddb.hxx @@ -25,6 +25,8 @@ #include "fldpage.hxx" +#include <vcl/weld/Entry.hxx> + class SwFieldDBPage : public SwFieldPage { OUString m_sOldDBName; diff --git a/sw/source/ui/fldui/flddok.hxx b/sw/source/ui/fldui/flddok.hxx index 2bb8df6314fc..2d8d9b6828f2 100644 --- a/sw/source/ui/fldui/flddok.hxx +++ b/sw/source/ui/fldui/flddok.hxx @@ -20,6 +20,7 @@ #define INCLUDED_SW_SOURCE_UI_FLDUI_FLDDOK_HXX #include <sfx2/tabdlg.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> #include <numfmtlb.hxx> diff --git a/sw/source/ui/fldui/fldfunc.hxx b/sw/source/ui/fldui/fldfunc.hxx index 065418bdcbbe..f42e5e74cf7d 100644 --- a/sw/source/ui/fldui/fldfunc.hxx +++ b/sw/source/ui/fldui/fldfunc.hxx @@ -20,6 +20,7 @@ #define INCLUDED_SW_SOURCE_UI_FLDUI_FLDFUNC_HXX #include <sfx2/tabdlg.hxx> +#include <vcl/weld/Entry.hxx> #include <condedit.hxx> #include "fldpage.hxx" diff --git a/sw/source/ui/fldui/fldref.hxx b/sw/source/ui/fldui/fldref.hxx index e8ae8efd87ef..57da3e790fe8 100644 --- a/sw/source/ui/fldui/fldref.hxx +++ b/sw/source/ui/fldui/fldref.hxx @@ -20,6 +20,7 @@ #define INCLUDED_SW_SOURCE_UI_FLDUI_FLDREF_HXX #include <sfx2/tabdlg.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include "fldpage.hxx" diff --git a/sw/source/ui/fldui/fldvar.hxx b/sw/source/ui/fldui/fldvar.hxx index 9fdf67d8fa41..21a5f2d7b407 100644 --- a/sw/source/ui/fldui/fldvar.hxx +++ b/sw/source/ui/fldui/fldvar.hxx @@ -20,6 +20,7 @@ #define INCLUDED_SW_SOURCE_UI_FLDUI_FLDVAR_HXX #include <sfx2/tabdlg.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TextView.hxx> #include "fldpage.hxx" diff --git a/sw/source/ui/inc/bookmark.hxx b/sw/source/ui/inc/bookmark.hxx index 9fb5e0fa597d..9901711ca551 100644 --- a/sw/source/ui/inc/bookmark.hxx +++ b/sw/source/ui/inc/bookmark.hxx @@ -19,6 +19,7 @@ #pragma once #include <sfx2/basedlgs.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> #include <IMark.hxx> diff --git a/sw/source/ui/inc/mmresultdialogs.hxx b/sw/source/ui/inc/mmresultdialogs.hxx index cbc2ca10ca5e..f25419e2829d 100644 --- a/sw/source/ui/inc/mmresultdialogs.hxx +++ b/sw/source/ui/inc/mmresultdialogs.hxx @@ -21,6 +21,7 @@ #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> diff --git a/sw/source/ui/inc/regionsw.hxx b/sw/source/ui/inc/regionsw.hxx index 70414fbed21d..edd585f936eb 100644 --- a/sw/source/ui/inc/regionsw.hxx +++ b/sw/source/ui/inc/regionsw.hxx @@ -28,6 +28,7 @@ #include <numberingtypelistbox.hxx> #include <svx/paraprev.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/EntryTreeView.hxx> #include <vcl/weld/MetricSpinButton.hxx> #include <vcl/weld/SpinButton.hxx> diff --git a/sw/source/ui/misc/impfnote.hxx b/sw/source/ui/misc/impfnote.hxx index 6bfa017e54ee..8d73abe75e11 100644 --- a/sw/source/ui/misc/impfnote.hxx +++ b/sw/source/ui/misc/impfnote.hxx @@ -21,6 +21,7 @@ #include <sfx2/tabdlg.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/weld.hxx> #include <numberingtypelistbox.hxx> diff --git a/sw/source/ui/table/tautofmt.cxx b/sw/source/ui/table/tautofmt.cxx index f3b9e3bec709..7418571eee39 100644 --- a/sw/source/ui/table/tautofmt.cxx +++ b/sw/source/ui/table/tautofmt.cxx @@ -19,6 +19,7 @@ #include <memory> #include <vcl/svapp.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> #include <sal/log.hxx> #include <strings.hrc> diff --git a/sw/source/uibase/dbui/mailmergetoolbarcontrols.cxx b/sw/source/uibase/dbui/mailmergetoolbarcontrols.cxx index ec2b86ba7157..75bb46c9aec8 100644 --- a/sw/source/uibase/dbui/mailmergetoolbarcontrols.cxx +++ b/sw/source/uibase/dbui/mailmergetoolbarcontrols.cxx @@ -24,6 +24,7 @@ #include <vcl/InterimItemWindow.hxx> #include <vcl/svapp.hxx> #include <vcl/toolbox.hxx> +#include <vcl/weld/Entry.hxx> #include <com/sun/star/lang/XServiceInfo.hpp> diff --git a/sw/source/uibase/inc/DropDownFormFieldDialog.hxx b/sw/source/uibase/inc/DropDownFormFieldDialog.hxx index 08338f2ac6a9..4564379e1280 100644 --- a/sw/source/uibase/inc/DropDownFormFieldDialog.hxx +++ b/sw/source/uibase/inc/DropDownFormFieldDialog.hxx @@ -11,6 +11,7 @@ #define INCLUDED_SW_SOURCE_UIBASE_INC_DROPDOWNFORMFIELDDIALOG_HXX #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> diff --git a/sw/source/uibase/inc/QuickFindPanel.hxx b/sw/source/uibase/inc/QuickFindPanel.hxx index 38e1fdf2023a..40d33adfa909 100644 --- a/sw/source/uibase/inc/QuickFindPanel.hxx +++ b/sw/source/uibase/inc/QuickFindPanel.hxx @@ -18,6 +18,7 @@ #include <sfx2/weldutils.hxx> #include <svtools/acceleratorexecute.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> namespace sw::sidebar diff --git a/sw/source/uibase/inc/contentcontroldlg.hxx b/sw/source/uibase/inc/contentcontroldlg.hxx index 0a21d8ee4996..136a953968d7 100644 --- a/sw/source/uibase/inc/contentcontroldlg.hxx +++ b/sw/source/uibase/inc/contentcontroldlg.hxx @@ -20,6 +20,7 @@ #include <sfx2/basedlgs.hxx> #include <vcl/abstdlg.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> diff --git a/sw/source/uibase/inc/contentcontrollistitemdlg.hxx b/sw/source/uibase/inc/contentcontrollistitemdlg.hxx index 21e14741664d..a65c4c24e33c 100644 --- a/sw/source/uibase/inc/contentcontrollistitemdlg.hxx +++ b/sw/source/uibase/inc/contentcontrollistitemdlg.hxx @@ -19,6 +19,7 @@ #pragma once #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> class SwContentControlListItem; diff --git a/sw/source/uibase/inc/convert.hxx b/sw/source/uibase/inc/convert.hxx index 42da4d7154ac..93d8397bb4c3 100644 --- a/sw/source/uibase/inc/convert.hxx +++ b/sw/source/uibase/inc/convert.hxx @@ -23,6 +23,7 @@ #include <sfx2/basedlgs.hxx> #include <sal/types.h> #include <rtl/ustring.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> diff --git a/sw/source/uibase/inc/cption.hxx b/sw/source/uibase/inc/cption.hxx index 4d28b71668ad..73387b3ffd14 100644 --- a/sw/source/uibase/inc/cption.hxx +++ b/sw/source/uibase/inc/cption.hxx @@ -20,6 +20,7 @@ #define INCLUDED_SW_SOURCE_UIBASE_INC_CPTION_HXX #include <sfx2/basedlgs.hxx> +#include <vcl/weld/Entry.hxx> #include <com/sun/star/container/XNameAccess.hpp> diff --git a/sw/source/uibase/inc/drpcps.hxx b/sw/source/uibase/inc/drpcps.hxx index 75be43b488c0..13d5fd3b257f 100644 --- a/sw/source/uibase/inc/drpcps.hxx +++ b/sw/source/uibase/inc/drpcps.hxx @@ -25,6 +25,7 @@ #include <sfx2/tabdlg.hxx> #include <vcl/print.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/MetricSpinButton.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/customweld.hxx> diff --git a/sw/source/uibase/inc/frmpage.hxx b/sw/source/uibase/inc/frmpage.hxx index 26e35cb4011f..bbe76c8a3576 100644 --- a/sw/source/uibase/inc/frmpage.hxx +++ b/sw/source/uibase/inc/frmpage.hxx @@ -26,6 +26,7 @@ #include <svx/frmdirlbox.hxx> #include <svx/swframeexample.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/MetricSpinButton.hxx> #include <vcl/weld/TextView.hxx> #include <swtypes.hxx> diff --git a/sw/source/uibase/inc/glosbib.hxx b/sw/source/uibase/inc/glosbib.hxx index 3ffe8acc9cf2..8a77f52905c7 100644 --- a/sw/source/uibase/inc/glosbib.hxx +++ b/sw/source/uibase/inc/glosbib.hxx @@ -23,6 +23,7 @@ #include <sfx2/basedlgs.hxx> #include <rtl/ustring.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> diff --git a/sw/source/uibase/inc/glossary.hxx b/sw/source/uibase/inc/glossary.hxx index 33cd7d0eeb9f..e09cfe7a7418 100644 --- a/sw/source/uibase/inc/glossary.hxx +++ b/sw/source/uibase/inc/glossary.hxx @@ -20,6 +20,7 @@ #define INCLUDED_SW_SOURCE_UIBASE_INC_GLOSSARY_HXX #include <vcl/textfilter.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/customweld.hxx> #include <vcl/weld/weld.hxx> diff --git a/sw/source/uibase/inc/inpdlg.hxx b/sw/source/uibase/inc/inpdlg.hxx index 554293ddc398..62279119a504 100644 --- a/sw/source/uibase/inc/inpdlg.hxx +++ b/sw/source/uibase/inc/inpdlg.hxx @@ -20,6 +20,7 @@ #define INCLUDED_SW_SOURCE_UIBASE_INC_INPDLG_HXX #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TextView.hxx> #include <vcl/weld/weld.hxx> diff --git a/sw/source/uibase/inc/inputwin.hxx b/sw/source/uibase/inc/inputwin.hxx index ec3aa1190c2e..b88d7ce41c6f 100644 --- a/sw/source/uibase/inc/inputwin.hxx +++ b/sw/source/uibase/inc/inputwin.hxx @@ -25,6 +25,7 @@ #include <vcl/InterimItemWindow.hxx> #include <vcl/toolbox.hxx> +#include <vcl/weld/Entry.hxx> #include <sfx2/childwin.hxx> #include <names.hxx> diff --git a/sw/source/uibase/inc/insfnote.hxx b/sw/source/uibase/inc/insfnote.hxx index b876eea50a4b..0e524ed0e5ce 100644 --- a/sw/source/uibase/inc/insfnote.hxx +++ b/sw/source/uibase/inc/insfnote.hxx @@ -20,6 +20,7 @@ #define INCLUDED_SW_SOURCE_UIBASE_INC_INSFNOTE_HXX #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> class SwWrtShell; diff --git a/sw/source/uibase/inc/instable.hxx b/sw/source/uibase/inc/instable.hxx index 493e0d4a857f..38a5479348c8 100644 --- a/sw/source/uibase/inc/instable.hxx +++ b/sw/source/uibase/inc/instable.hxx @@ -24,6 +24,7 @@ #include <rtl/ustring.hxx> #include <tools/link.hxx> #include <vcl/textfilter.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/TreeView.hxx> diff --git a/sw/source/uibase/inc/javaedit.hxx b/sw/source/uibase/inc/javaedit.hxx index 41e48c09af1d..b3cbc89a9762 100644 --- a/sw/source/uibase/inc/javaedit.hxx +++ b/sw/source/uibase/inc/javaedit.hxx @@ -19,6 +19,7 @@ #pragma once #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TextView.hxx> #include <vcl/weld/weld.hxx> diff --git a/sw/source/uibase/inc/linenum.hxx b/sw/source/uibase/inc/linenum.hxx index 47c0c24bb00f..f82325b75477 100644 --- a/sw/source/uibase/inc/linenum.hxx +++ b/sw/source/uibase/inc/linenum.hxx @@ -21,6 +21,7 @@ #include <sfx2/basedlgs.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/MetricSpinButton.hxx> #include <vcl/weld/SpinButton.hxx> #include "numberingtypelistbox.hxx" diff --git a/sw/source/uibase/inc/mailconfigpage.hxx b/sw/source/uibase/inc/mailconfigpage.hxx index d2260e5fa550..0a0a5c3fd90a 100644 --- a/sw/source/uibase/inc/mailconfigpage.hxx +++ b/sw/source/uibase/inc/mailconfigpage.hxx @@ -21,6 +21,7 @@ #include <sfx2/tabdlg.hxx> #include <sfx2/basedlgs.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> class SwMailMergeConfigItem; diff --git a/sw/source/uibase/inc/mailmrge.hxx b/sw/source/uibase/inc/mailmrge.hxx index 8e83a6e7739a..a08fa50de966 100644 --- a/sw/source/uibase/inc/mailmrge.hxx +++ b/sw/source/uibase/inc/mailmrge.hxx @@ -23,6 +23,7 @@ #include <sfx2/basedlgs.hxx> #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> #include <com/sun/star/uno/Sequence.h> diff --git a/sw/source/uibase/inc/optload.hxx b/sw/source/uibase/inc/optload.hxx index 94b278e0fb76..07b582f5d828 100644 --- a/sw/source/uibase/inc/optload.hxx +++ b/sw/source/uibase/inc/optload.hxx @@ -26,6 +26,7 @@ #include <utility> #include <vcl/textfilter.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/MetricSpinButton.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/TreeView.hxx> diff --git a/sw/source/uibase/inc/outline.hxx b/sw/source/uibase/inc/outline.hxx index 0d3b32fbe444..9034b982caaf 100644 --- a/sw/source/uibase/inc/outline.hxx +++ b/sw/source/uibase/inc/outline.hxx @@ -21,6 +21,7 @@ #include <memory> #include <sfx2/tabdlg.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> #include <swtypes.hxx> #include "numprevw.hxx" diff --git a/sw/source/uibase/inc/srtdlg.hxx b/sw/source/uibase/inc/srtdlg.hxx index cb22a612959d..30f0ccfab5dd 100644 --- a/sw/source/uibase/inc/srtdlg.hxx +++ b/sw/source/uibase/inc/srtdlg.hxx @@ -23,6 +23,7 @@ #include <svx/langbox.hxx> #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/weld.hxx> diff --git a/sw/source/uibase/inc/swmessdialog.hxx b/sw/source/uibase/inc/swmessdialog.hxx index 628de6859ff5..91210daf0636 100644 --- a/sw/source/uibase/inc/swmessdialog.hxx +++ b/sw/source/uibase/inc/swmessdialog.hxx @@ -11,6 +11,7 @@ #define INCLUDED_SW_SOURCE_UIBASE_INC_SWMESSDIALOG_HXX #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> class SwMessageAndEditDialog : public weld::MessageDialogController diff --git a/sw/source/uibase/inc/swrenamexnameddlg.hxx b/sw/source/uibase/inc/swrenamexnameddlg.hxx index bb7ec753795d..e25618f44d45 100644 --- a/sw/source/uibase/inc/swrenamexnameddlg.hxx +++ b/sw/source/uibase/inc/swrenamexnameddlg.hxx @@ -20,6 +20,7 @@ #include <vcl/textfilter.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> #include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/container/XNamed.hpp> diff --git a/sw/source/uibase/inc/swuicnttab.hxx b/sw/source/uibase/inc/swuicnttab.hxx index 09ced19d4249..ff0db9d5f8a1 100644 --- a/sw/source/uibase/inc/swuicnttab.hxx +++ b/sw/source/uibase/inc/swuicnttab.hxx @@ -24,6 +24,7 @@ #include <vcl/idle.hxx> #include <vcl/weld/Builder.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/MetricSpinButton.hxx> #include <vcl/weld/ScrolledWindow.hxx> #include <vcl/weld/SpinButton.hxx> diff --git a/sw/source/uibase/inc/swuiidxmrk.hxx b/sw/source/uibase/inc/swuiidxmrk.hxx index f8f94a74c6f7..82df94699b7f 100644 --- a/sw/source/uibase/inc/swuiidxmrk.hxx +++ b/sw/source/uibase/inc/swuiidxmrk.hxx @@ -25,6 +25,7 @@ #include <sfx2/childwin.hxx> #include <vcl/weld/Builder.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/weld.hxx> #include <toxe.hxx> diff --git a/sw/source/uibase/inc/watermarkdialog.hxx b/sw/source/uibase/inc/watermarkdialog.hxx index b66c893d9719..2e4692f17326 100644 --- a/sw/source/uibase/inc/watermarkdialog.hxx +++ b/sw/source/uibase/inc/watermarkdialog.hxx @@ -11,6 +11,7 @@ #include <sfx2/bindings.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/MetricSpinButton.hxx> #include <vcl/weld/weld.hxx> #include <svx/colorbox.hxx> diff --git a/sw/source/uibase/table/tablepg.hxx b/sw/source/uibase/table/tablepg.hxx index 1dff98654f0a..bb5d70a23f2a 100644 --- a/sw/source/uibase/table/tablepg.hxx +++ b/sw/source/uibase/table/tablepg.hxx @@ -23,6 +23,7 @@ #include <swtypes.hxx> #include <svx/frmdirlbox.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/MetricSpinButton.hxx> #include <vcl/weld/SpinButton.hxx> diff --git a/uui/source/authfallbackdlg.hxx b/uui/source/authfallbackdlg.hxx index 2812ecf23bc1..42bc886b6340 100644 --- a/uui/source/authfallbackdlg.hxx +++ b/uui/source/authfallbackdlg.hxx @@ -10,6 +10,7 @@ #pragma once #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> class AuthFallbackDlg : public weld::GenericDialogController diff --git a/uui/source/logindlg.hxx b/uui/source/logindlg.hxx index c67fc8847c14..7f8b4bef7fbc 100644 --- a/uui/source/logindlg.hxx +++ b/uui/source/logindlg.hxx @@ -20,6 +20,7 @@ #pragma once #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> #include <o3tl/typed_flags_set.hxx> diff --git a/uui/source/masterpasscrtdlg.hxx b/uui/source/masterpasscrtdlg.hxx index d043480ebd30..4ba81e870c4f 100644 --- a/uui/source/masterpasscrtdlg.hxx +++ b/uui/source/masterpasscrtdlg.hxx @@ -20,6 +20,7 @@ #pragma once #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> class MasterPasswordCreateDialog : public weld::GenericDialogController diff --git a/uui/source/masterpassworddlg.hxx b/uui/source/masterpassworddlg.hxx index 4e30d1781b63..9739b87dbe21 100644 --- a/uui/source/masterpassworddlg.hxx +++ b/uui/source/masterpassworddlg.hxx @@ -21,6 +21,7 @@ #include <com/sun/star/task/PasswordRequestMode.hpp> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> class MasterPasswordDialog : public weld::GenericDialogController diff --git a/uui/source/nameclashdlg.hxx b/uui/source/nameclashdlg.hxx index 4a09e66436b6..6b441f0ca465 100644 --- a/uui/source/nameclashdlg.hxx +++ b/uui/source/nameclashdlg.hxx @@ -20,6 +20,7 @@ #pragma once #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> enum NameClashResolveDialogResult { ABORT, RENAME, OVERWRITE }; diff --git a/uui/source/passworddlg.hxx b/uui/source/passworddlg.hxx index 1ca2ff12ebdf..dcd0f0f5b3b1 100644 --- a/uui/source/passworddlg.hxx +++ b/uui/source/passworddlg.hxx @@ -21,6 +21,7 @@ #include <com/sun/star/task/PasswordRequestMode.hpp> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> class PasswordDialog : public weld::GenericDialogController diff --git a/vcl/Library_vcl.mk b/vcl/Library_vcl.mk index 9f6d96320674..1856a82ea221 100644 --- a/vcl/Library_vcl.mk +++ b/vcl/Library_vcl.mk @@ -587,6 +587,7 @@ $(eval $(call gb_Library_add_exception_objects,vcl,\ vcl/source/weld/Builder \ vcl/source/weld/ComboBox \ vcl/source/weld/DialogController \ + vcl/source/weld/Entry \ vcl/source/weld/EntryTreeView \ vcl/source/weld/IconView \ vcl/source/weld/ItemView \ diff --git a/vcl/inc/colorpicker.hxx b/vcl/inc/colorpicker.hxx index 0cfdbf63f1b3..da749d6c9b60 100644 --- a/vcl/inc/colorpicker.hxx +++ b/vcl/inc/colorpicker.hxx @@ -20,6 +20,7 @@ #pragma once #include <vcl/ColorDialog.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/hexcolorcontrol.hxx> #include <vcl/virdev.hxx> #include <vcl/weld/DialogController.hxx> diff --git a/vcl/inc/printdlg.hxx b/vcl/inc/printdlg.hxx index 88913cb3c5d8..04c48e5718b3 100644 --- a/vcl/inc/printdlg.hxx +++ b/vcl/inc/printdlg.hxx @@ -25,6 +25,7 @@ #include <vcl/print.hxx> #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/MetricSpinButton.hxx> #include <vcl/weld/ScrolledWindow.hxx> #include <vcl/weld/SpinButton.hxx> diff --git a/vcl/inc/qt5/QtInstanceBuilder.hxx b/vcl/inc/qt5/QtInstanceBuilder.hxx index da80878c3789..81ff045fbfd9 100644 --- a/vcl/inc/qt5/QtInstanceBuilder.hxx +++ b/vcl/inc/qt5/QtInstanceBuilder.hxx @@ -19,6 +19,7 @@ #include <vcl/weld/Assistant.hxx> #include <vcl/weld/Builder.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/EntryTreeView.hxx> #include <vcl/weld/FormattedSpinButton.hxx> #include <vcl/weld/MetricSpinButton.hxx> diff --git a/vcl/inc/qt5/QtInstanceEntry.hxx b/vcl/inc/qt5/QtInstanceEntry.hxx index 6e6c85a06c05..fb7714312f59 100644 --- a/vcl/inc/qt5/QtInstanceEntry.hxx +++ b/vcl/inc/qt5/QtInstanceEntry.hxx @@ -11,6 +11,8 @@ #include "QtInstanceWidget.hxx" +#include <vcl/weld/Entry.hxx> + #include <QtWidgets/QLineEdit> class QtInstanceEntry : public QtInstanceWidget, public virtual weld::Entry diff --git a/vcl/inc/salvtables.hxx b/vcl/inc/salvtables.hxx index d4e01dd0fbe2..47db40b633c9 100644 --- a/vcl/inc/salvtables.hxx +++ b/vcl/inc/salvtables.hxx @@ -13,6 +13,7 @@ #include <vcl/weld/Builder.hxx> #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/EntryTreeView.hxx> #include <vcl/weld/FormattedSpinButton.hxx> #include <vcl/weld/MetricSpinButton.hxx> diff --git a/vcl/source/weld/Entry.cxx b/vcl/source/weld/Entry.cxx new file mode 100644 index 000000000000..4b5497b67325 --- /dev/null +++ b/vcl/source/weld/Entry.cxx @@ -0,0 +1,57 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#include <vcl/weld/Entry.hxx> + +namespace weld +{ +void Entry::signal_changed() +{ + if (notify_events_disabled()) + return; + m_aChangeHdl.Call(*this); +} + +void Entry::signal_activated() +{ + if (notify_events_disabled()) + return; + m_aActivateHdl.Call(*this); +} + +void Entry::signal_cursor_position() +{ + if (notify_events_disabled()) + return; + m_aCursorPositionHdl.Call(*this); +} + +void Entry::set_text(const OUString& rText) +{ + disable_notify_events(); + do_set_text(rText); + enable_notify_events(); +} + +void Entry::select_region(int nStartPos, int nEndPos) +{ + disable_notify_events(); + do_select_region(nStartPos, nEndPos); + enable_notify_events(); +} + +void Entry::set_position(int nCursorPos) +{ + disable_notify_events(); + do_set_position(nCursorPos); + enable_notify_events(); +} +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/vcl/unx/generic/print/prtsetup.hxx b/vcl/unx/generic/print/prtsetup.hxx index 67786fab19ea..acc0657a14d0 100644 --- a/vcl/unx/generic/print/prtsetup.hxx +++ b/vcl/unx/generic/print/prtsetup.hxx @@ -23,6 +23,7 @@ #include <vcl/weld/Builder.hxx> #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> #include <ppdparser.hxx> diff --git a/vcl/unx/generic/printer/cupsmgr.cxx b/vcl/unx/generic/printer/cupsmgr.cxx index 64d74c9bb75b..cb6aacb02b71 100644 --- a/vcl/unx/generic/printer/cupsmgr.cxx +++ b/vcl/unx/generic/printer/cupsmgr.cxx @@ -38,6 +38,7 @@ #include <vcl/svapp.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> #include <vcl/window.hxx> diff --git a/writerperfect/source/writer/EPUBExportDialog.hxx b/writerperfect/source/writer/EPUBExportDialog.hxx index 82655c388625..614f1168684d 100644 --- a/writerperfect/source/writer/EPUBExportDialog.hxx +++ b/writerperfect/source/writer/EPUBExportDialog.hxx @@ -11,6 +11,7 @@ #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/weld.hxx> #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/lang/XComponent.hpp> diff --git a/xmlsecurity/inc/certificatechooser.hxx b/xmlsecurity/inc/certificatechooser.hxx index f39fa3141794..3c09f9ed8fbd 100644 --- a/xmlsecurity/inc/certificatechooser.hxx +++ b/xmlsecurity/inc/certificatechooser.hxx @@ -21,6 +21,7 @@ #include <com/sun/star/uno/Sequence.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/Entry.hxx> #include <vcl/weld/TreeView.hxx> #include <vcl/weld/weld.hxx> #include <unotools/resmgr.hxx> commit 7fb6442c829c49b54cb921b2335efdac4f2f9070 Author: Michael Weghorn <[email protected]> AuthorDate: Sat Jan 3 12:05:07 2026 +0100 Commit: Michael Weghorn <[email protected]> CommitDate: Sun Jan 4 15:03:26 2026 +0100 weld: Move weld::FormattedSpinButton to own header Move the class out of weld.hxx into its own header file, in order to make it easier to keep an overview and to avoid having to recompile ~all UI code when the class is modified. This also prepare for moving weld::Entry (which is a weld::FormattedSpinButton base class) to its own header. Change-Id: Iceb05e4055a22d483be9e0052199f738a7406097 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196447 Reviewed-by: Michael Weghorn <[email protected]> Tested-by: Jenkins diff --git a/chart2/source/controller/dialogs/res_Trendline.cxx b/chart2/source/controller/dialogs/res_Trendline.cxx index e27ba7979942..bf9f18dbfdf7 100644 --- a/chart2/source/controller/dialogs/res_Trendline.cxx +++ b/chart2/source/controller/dialogs/res_Trendline.cxx @@ -29,6 +29,7 @@ #include <vcl/formatter.hxx> #include <vcl/weld/Builder.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/FormattedSpinButton.hxx> #include <vcl/weld/weld.hxx> using namespace css::chart2; diff --git a/chart2/source/controller/dialogs/tp_AxisPositions.hxx b/chart2/source/controller/dialogs/tp_AxisPositions.hxx index 398d7937985b..c902bdda5374 100644 --- a/chart2/source/controller/dialogs/tp_AxisPositions.hxx +++ b/chart2/source/controller/dialogs/tp_AxisPositions.hxx @@ -20,6 +20,7 @@ #include <sfx2/tabdlg.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/FormattedSpinButton.hxx> class SvNumberFormatter; diff --git a/chart2/source/controller/dialogs/tp_Scale.hxx b/chart2/source/controller/dialogs/tp_Scale.hxx index 7f4c05ebf50a..db776a9ea2c9 100644 --- a/chart2/source/controller/dialogs/tp_Scale.hxx +++ b/chart2/source/controller/dialogs/tp_Scale.hxx @@ -21,6 +21,7 @@ #include <sfx2/tabdlg.hxx> #include <unotools/resmgr.hxx> #include <vcl/weld/ComboBox.hxx> +#include <vcl/weld/FormattedSpinButton.hxx> #include <vcl/weld/SpinButton.hxx> class SvNumberFormatter; diff --git a/cui/inc/dlgname.hxx b/cui/inc/dlgname.hxx index 7855b02164e3..2583f5003c98 100644 --- a/cui/inc/dlgname.hxx +++ b/cui/inc/dlgname.hxx @@ -20,6 +20,7 @@ #include <vcl/formatter.hxx> #include <vcl/weld/DialogController.hxx> +#include <vcl/weld/FormattedSpinButton.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/TextView.hxx> #include <vcl/weld/TreeView.hxx> diff --git a/extensions/source/propctrlr/commoncontrol.hxx b/extensions/source/propctrlr/commoncontrol.hxx index db16c9cec6e6..7d8c2a6d5a34 100644 --- a/extensions/source/propctrlr/commoncontrol.hxx +++ b/extensions/source/propctrlr/commoncontrol.hxx @@ -25,6 +25,7 @@ #include <cppuhelper/basemutex.hxx> #include <tools/link.hxx> #include <vcl/weld/Builder.hxx> +#include <vcl/weld/FormattedSpinButton.hxx> #include <vcl/weld/MetricSpinButton.hxx> #include <vcl/weld/weld.hxx> #include <vcl/weld/weldutils.hxx> diff --git a/extensions/source/propctrlr/standardcontrol.hxx b/extensions/source/propctrlr/standardcontrol.hxx index 90340544ee6d..a8b3049e175c 100644 --- a/extensions/source/propctrlr/standardcontrol.hxx +++ b/extensions/source/propctrlr/standardcontrol.hxx @@ -28,6 +28,7 @@ #include <comphelper/interfacecontainer2.hxx> #include <svtools/ctrlbox.hxx> #include <svx/colorbox.hxx> +#include <vcl/weld/FormattedSpinButton.hxx> #include <vcl/weld/MetricSpinButton.hxx> #include <vcl/weld/TextView.hxx> diff --git a/extensions/source/propctrlr/usercontrol.hxx b/extensions/source/propctrlr/usercontrol.hxx index 86b53e7f122e..287206dfb973 100644 --- a/extensions/source/propctrlr/usercontrol.hxx +++ b/extensions/source/propctrlr/usercontrol.hxx @@ -22,6 +22,7 @@ #include "commoncontrol.hxx" #include <svtools/inettbc.hxx> #include <svl/zforlist.hxx> +#include <vcl/weld/FormattedSpinButton.hxx> class SvNumberFormatsSupplierObj; diff --git a/framework/source/uielement/spinfieldtoolbarcontroller.cxx b/framework/source/uielement/spinfieldtoolbarcontroller.cxx index ef180bd5d51d..f0b86ff3fbb7 100644 --- a/framework/source/uielement/spinfieldtoolbarcontroller.cxx +++ b/framework/source/uielement/spinfieldtoolbarcontroller.cxx @@ -32,6 +32,7 @@ #include <vcl/formatter.hxx> #include <vcl/svapp.hxx> #include <vcl/toolbox.hxx> +#include <vcl/weld/FormattedSpinButton.hxx> #include <o3tl/char16_t2wchar_t.hxx> using namespace ::com::sun::star; diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx index 4e9dd6ff5f8c..6080e6981409 100644 --- a/include/sfx2/dinfdlg.hxx +++ b/include/sfx2/dinfdlg.hxx @@ -34,6 +34,7 @@ #include <vcl/idle.hxx> #include <vcl/weld/Builder.hxx> +#include <vcl/weld/FormattedSpinButton.hxx> #include <vcl/weld/ScrolledWindow.hxx> #include <vcl/weld/SpinButton.hxx> #include <vcl/weld/TextView.hxx> -e ... etc. - the rest is truncated
