summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorrafaelhlima <rafael.palma.lima@gmail.com>2022-01-18 11:25:59 -0300
committerRafael Lima <rafael.palma.lima@gmail.com>2022-01-24 18:16:09 +0100
commit2e1a38ceb6866248ec30f6fe58cd3adc1b910eec (patch)
treec00cd2f96a31995b04a16fcdf7adf1bf5783639f /include/svx
parent7679820af5739d3b6d5de0c4cb771d081407f406 (diff)
tdf#146893 Rework Manage Changes dialog
This patch reworks the "Manage Changes" dialog (In Writer, Edit > Track Changes > Manage) so that the buttons "Accept", "Accept all", "Reject", "Reject all" and "Undo" only appear in the List tab, since they're not needed in the Filter tab. A help button is also added and HID constants are defined for both tabs. Change-Id: I12da7811635dfc142d5d0a66d3275d3d170692e1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128563 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/ctredlin.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/svx/ctredlin.hxx b/include/svx/ctredlin.hxx
index 57059f8e249a..ed12b6d10f9f 100644
--- a/include/svx/ctredlin.hxx
+++ b/include/svx/ctredlin.hxx
@@ -274,7 +274,6 @@ private:
bool bEnableClearFormat;
bool bEnableClearFormatAll;
- weld::Window* m_pDialog;
std::unique_ptr<weld::Button> m_xAccept;
std::unique_ptr<weld::Button> m_xReject;
std::unique_ptr<weld::Button> m_xAcceptAll;
@@ -284,9 +283,8 @@ private:
DECL_DLLPRIVATE_LINK( PbClickHdl, weld::Button&, void );
- void EnableClearFormatButton(weld::Button&, bool bFlag);
public:
- SvxTPView(weld::Container* pParent, weld::Window* pDialog, weld::Builder* pTopLevel);
+ SvxTPView(weld::Container* pParent);
virtual ~SvxTPView() override;
SvxRedlinTable* GetTableControl() { return m_xViewData.get(); }
@@ -329,7 +327,7 @@ private:
DECL_DLLPRIVATE_LINK(DeactivatePageHdl, const OString&, bool);
public:
- SvxAcceptChgCtr(weld::Container* pParent, weld::Window* pDialog, weld::Builder* pTopLevel);
+ SvxAcceptChgCtr(weld::Container* pParent);
~SvxAcceptChgCtr();
void ShowFilterPage();