summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-04-14 21:15:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-04-16 14:50:22 +0200
commit77a59cabf33d5d6ccc80ea62ee07162abc1b4e52 (patch)
tree57124d72a996510b4f6ab3f39a3732a9d4dfeff6 /cui/source
parenta9a94b744e9d61a3ff56c0b1830a56145607758f (diff)
weld SvxPostItDialog
Change-Id: I0aa88270aa604180223f2b35829b45e5828f792a Reviewed-on: https://gerrit.libreoffice.org/52896 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/dialogs/postdlg.cxx129
-rw-r--r--cui/source/factory/dlgfact.cxx51
-rw-r--r--cui/source/factory/dlgfact.hxx29
-rw-r--r--cui/source/inc/postdlg.hxx77
4 files changed, 141 insertions, 145 deletions
diff --git a/cui/source/dialogs/postdlg.cxx b/cui/source/dialogs/postdlg.cxx
index 36338937ed67..dbf6436e14d0 100644
--- a/cui/source/dialogs/postdlg.cxx
+++ b/cui/source/dialogs/postdlg.cxx
@@ -18,6 +18,7 @@
*/
#include <tools/date.hxx>
+#include <tools/lineend.hxx>
#include <tools/time.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
@@ -32,54 +33,49 @@
// class SvxPostItDialog -------------------------------------------------
-SvxPostItDialog::SvxPostItDialog(vcl::Window* pParent, const SfxItemSet& rCoreSet,
+SvxPostItDialog::SvxPostItDialog(weld::Window* pParent, const SfxItemSet& rCoreSet,
bool bPrevNext)
- : SfxModalDialog(pParent, "CommentDialog", "cui/ui/comment.ui")
- , rSet(rCoreSet)
- , pOutSet(nullptr)
+ : GenericDialogController(pParent, "cui/ui/comment.ui", "CommentDialog")
+ , m_rSet(rCoreSet)
+ , m_xLastEditFT(m_xBuilder->weld_label("lastedit"))
+ , m_xAltTitle(m_xBuilder->weld_label("alttitle"))
+ , m_xEditED(m_xBuilder->weld_text_view("edit"))
+ , m_xInsertAuthor(m_xBuilder->weld_widget("insertauthor"))
+ , m_xAuthorBtn(m_xBuilder->weld_button("author"))
+ , m_xOKBtn(m_xBuilder->weld_button("ok"))
+ , m_xPrevBtn(m_xBuilder->weld_button("previous"))
+ , m_xNextBtn(m_xBuilder->weld_button("next"))
{
- get(m_pLastEditFT, "lastedit");
- get(m_pInsertAuthor, "insertauthor");
- get(m_pAuthorBtn, "author");
- get(m_pOKBtn, "ok");
- get(m_pPrevBtn, "previous");
- get(m_pNextBtn, "next");
- get(m_pEditED, "edit");
-
- m_pPrevBtn->SetClickHdl( LINK( this, SvxPostItDialog, PrevHdl ) );
- m_pNextBtn->SetClickHdl( LINK( this, SvxPostItDialog, NextHdl ) );
- m_pAuthorBtn->SetClickHdl( LINK( this, SvxPostItDialog, Stamp ) );
- m_pOKBtn->SetClickHdl( LINK( this, SvxPostItDialog, OKHdl ) );
-
- vcl::Font aFont( m_pEditED->GetFont() );
- aFont.SetWeight( WEIGHT_LIGHT );
- m_pEditED->SetFont( aFont );
+ m_xPrevBtn->connect_clicked( LINK( this, SvxPostItDialog, PrevHdl ) );
+ m_xNextBtn->connect_clicked( LINK( this, SvxPostItDialog, NextHdl ) );
+ m_xAuthorBtn->connect_clicked( LINK( this, SvxPostItDialog, Stamp ) );
+ m_xOKBtn->connect_clicked( LINK( this, SvxPostItDialog, OKHdl ) );
bool bNew = true;
sal_uInt16 nWhich = 0;
- m_pPrevBtn->Show(bPrevNext);
- m_pNextBtn->Show(bPrevNext);
+ m_xPrevBtn->show(bPrevNext);
+ m_xNextBtn->show(bPrevNext);
- nWhich = rSet.GetPool()->GetWhich( SID_ATTR_POSTIT_AUTHOR );
+ nWhich = m_rSet.GetPool()->GetWhich( SID_ATTR_POSTIT_AUTHOR );
OUString aAuthorStr, aDateStr;
- if ( rSet.GetItemState( nWhich ) >= SfxItemState::DEFAULT )
+ if (m_rSet.GetItemState( nWhich ) >= SfxItemState::DEFAULT)
{
bNew = false;
const SvxPostItAuthorItem& rAuthor =
- static_cast<const SvxPostItAuthorItem&>(rSet.Get( nWhich ));
+ static_cast<const SvxPostItAuthorItem&>(m_rSet.Get(nWhich));
aAuthorStr = rAuthor.GetValue();
}
else
aAuthorStr = SvtUserOptions().GetID();
- nWhich = rSet.GetPool()->GetWhich( SID_ATTR_POSTIT_DATE );
+ nWhich = m_rSet.GetPool()->GetWhich( SID_ATTR_POSTIT_DATE );
- if ( rSet.GetItemState( nWhich ) >= SfxItemState::DEFAULT )
+ if (m_rSet.GetItemState( nWhich ) >= SfxItemState::DEFAULT)
{
const SvxPostItDateItem& rDate =
- static_cast<const SvxPostItDateItem&>(rSet.Get( nWhich ));
+ static_cast<const SvxPostItDateItem&>(m_rSet.Get( nWhich ));
aDateStr = rDate.GetValue();
}
else
@@ -88,56 +84,38 @@ SvxPostItDialog::SvxPostItDialog(vcl::Window* pParent, const SfxItemSet& rCoreSe
aDateStr = rLocaleWrapper.getDate( Date( Date::SYSTEM ) );
}
- nWhich = rSet.GetPool()->GetWhich( SID_ATTR_POSTIT_TEXT );
+ nWhich = m_rSet.GetPool()->GetWhich( SID_ATTR_POSTIT_TEXT );
OUString aTextStr;
- if ( rSet.GetItemState( nWhich ) >= SfxItemState::DEFAULT )
+ if (m_rSet.GetItemState( nWhich ) >= SfxItemState::DEFAULT)
{
const SvxPostItTextItem& rText =
- static_cast<const SvxPostItTextItem&>(rSet.Get( nWhich ));
+ static_cast<const SvxPostItTextItem&>(m_rSet.Get( nWhich ));
aTextStr = rText.GetValue();
}
ShowLastAuthor(aAuthorStr, aDateStr);
//lock to an initial size before replacing contents
- m_pEditED->set_width_request(m_pEditED->approximate_char_width() * 40);
- m_pEditED->set_height_request(m_pEditED->GetTextHeight() * 10);
-
- m_pEditED->SetText(convertLineEnd(aTextStr, GetSystemLineEnd()));
+ m_xEditED->set_size_request(m_xEditED->get_approximate_digit_width() * 32,
+ m_xEditED->get_height_rows(10));
+ m_xEditED->set_text(convertLineEnd(aTextStr, GetSystemLineEnd()));
if (!bNew)
- SetText( get<FixedText>("alttitle")->GetText() );
+ m_xDialog->set_title(m_xAltTitle->get_label());
}
SvxPostItDialog::~SvxPostItDialog()
{
- disposeOnce();
}
-void SvxPostItDialog::dispose()
-{
- delete pOutSet;
- pOutSet = nullptr;
- m_pLastEditFT.clear();
- m_pEditED.clear();
- m_pInsertAuthor.clear();
- m_pAuthorBtn.clear();
- m_pOKBtn.clear();
- m_pPrevBtn.clear();
- m_pNextBtn.clear();
- SfxModalDialog::dispose();
-}
-
-
void SvxPostItDialog::ShowLastAuthor(const OUString& rAuthor, const OUString& rDate)
{
OUString sTxt = rAuthor + ", " + rDate;
- m_pLastEditFT->SetText( sTxt );
+ m_xLastEditFT->set_label( sTxt );
}
-
const sal_uInt16* SvxPostItDialog::GetRanges()
{
static const sal_uInt16 pRanges[] =
@@ -149,31 +127,29 @@ const sal_uInt16* SvxPostItDialog::GetRanges()
return pRanges;
}
-
void SvxPostItDialog::EnableTravel(bool bNext, bool bPrev)
{
- m_pPrevBtn->Enable(bPrev);
- m_pNextBtn->Enable(bNext);
+ m_xPrevBtn->set_sensitive(bPrev);
+ m_xNextBtn->set_sensitive(bNext);
}
-
-IMPL_LINK_NOARG(SvxPostItDialog, PrevHdl, Button*, void)
+IMPL_LINK_NOARG(SvxPostItDialog, PrevHdl, weld::Button&, void)
{
- aPrevHdlLink.Call( *this );
+ m_aPrevHdlLink.Call( *this );
}
-IMPL_LINK_NOARG(SvxPostItDialog, NextHdl, Button*, void)
+IMPL_LINK_NOARG(SvxPostItDialog, NextHdl, weld::Button&, void)
{
- aNextHdlLink.Call( *this );
+ m_aNextHdlLink.Call( *this );
}
-IMPL_LINK_NOARG(SvxPostItDialog, Stamp, Button*, void)
+IMPL_LINK_NOARG(SvxPostItDialog, Stamp, weld::Button&, void)
{
Date aDate( Date::SYSTEM );
tools::Time aTime( tools::Time::SYSTEM );
OUString aTmp( SvtUserOptions().GetID() );
const LocaleDataWrapper& rLocaleWrapper( Application::GetSettings().GetLocaleDataWrapper() );
- OUString aStr( m_pEditED->GetText() );
+ OUString aStr( m_xEditED->get_text() );
aStr += "\n---- ";
if ( !aTmp.isEmpty() )
@@ -183,24 +159,23 @@ IMPL_LINK_NOARG(SvxPostItDialog, Stamp, Button*, void)
aStr += rLocaleWrapper.getDate(aDate) + ", " + rLocaleWrapper.getTime(aTime, false) + " ----\n";
aStr = convertLineEnd(aStr, GetSystemLineEnd());
- m_pEditED->SetText(aStr);
+ m_xEditED->set_text(aStr);
sal_Int32 nLen = aStr.getLength();
- m_pEditED->GrabFocus();
- m_pEditED->SetSelection( Selection( nLen, nLen ) );
+ m_xEditED->grab_focus();
+ m_xEditED->select_region(nLen, nLen);
}
-
-IMPL_LINK_NOARG(SvxPostItDialog, OKHdl, Button*, void)
+IMPL_LINK_NOARG(SvxPostItDialog, OKHdl, weld::Button&, void)
{
const LocaleDataWrapper& rLocaleWrapper( Application::GetSettings().GetLocaleDataWrapper() );
- pOutSet = new SfxItemSet( rSet );
- pOutSet->Put( SvxPostItAuthorItem( SvtUserOptions().GetID(),
- rSet.GetPool()->GetWhich( SID_ATTR_POSTIT_AUTHOR ) ) );
- pOutSet->Put( SvxPostItDateItem( rLocaleWrapper.getDate( Date( Date::SYSTEM ) ),
- rSet.GetPool()->GetWhich( SID_ATTR_POSTIT_DATE ) ) );
- pOutSet->Put( SvxPostItTextItem( m_pEditED->GetText(),
- rSet.GetPool()->GetWhich( SID_ATTR_POSTIT_TEXT ) ) );
- EndDialog( RET_OK );
+ m_xOutSet.reset(new SfxItemSet(m_rSet));
+ m_xOutSet->Put( SvxPostItAuthorItem(SvtUserOptions().GetID(),
+ m_rSet.GetPool()->GetWhich( SID_ATTR_POSTIT_AUTHOR ) ) );
+ m_xOutSet->Put( SvxPostItDateItem(rLocaleWrapper.getDate( Date( Date::SYSTEM ) ),
+ m_rSet.GetPool()->GetWhich( SID_ATTR_POSTIT_DATE ) ) );
+ m_xOutSet->Put( SvxPostItTextItem(m_xEditED->get_text(),
+ m_rSet.GetPool()->GetWhich( SID_ATTR_POSTIT_TEXT ) ) );
+ m_xDialog->response(RET_OK);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx
index 590c16867805..dc7ecab87fb5 100644
--- a/cui/source/factory/dlgfact.cxx
+++ b/cui/source/factory/dlgfact.cxx
@@ -171,7 +171,11 @@ short AbstractInsertObjectDialog_Impl::Execute()
IMPL_ABSTDLG_BASE(AbstractLinksDialog_Impl);
IMPL_ABSTDLG_BASE(AbstractSpellDialog_Impl);
-IMPL_ABSTDLG_BASE(AbstractSvxPostItDialog_Impl);
+
+short AbstractSvxPostItDialog_Impl::Execute()
+{
+ return m_xDlg->run();
+}
short AbstractPasswordToOpenModifyDialog_Impl::Execute()
{
@@ -783,63 +787,75 @@ void AbstractSvxAreaTabDialog_Impl::SetText( const OUString& rStr )
void AbstractSvxPostItDialog_Impl::SetText( const OUString& rStr )
{
- pDlg->SetText( rStr );
+ m_xDlg->set_title(rStr);
}
+
const SfxItemSet* AbstractSvxPostItDialog_Impl::GetOutputItemSet() const
{
- return pDlg->GetOutputItemSet();
+ return m_xDlg->GetOutputItemSet();
}
+
void AbstractSvxPostItDialog_Impl::EnableTravel(bool bNext, bool bPrev)
{
- pDlg->EnableTravel( bNext, bPrev );
+ m_xDlg->EnableTravel( bNext, bPrev );
}
+
OUString AbstractSvxPostItDialog_Impl::GetNote()
{
- return pDlg->GetNote();
+ return m_xDlg->GetNote();
}
+
void AbstractSvxPostItDialog_Impl::SetNote(const OUString& rTxt)
{
- pDlg->SetNote( rTxt );
+ m_xDlg->SetNote( rTxt );
}
+
void AbstractSvxPostItDialog_Impl::ShowLastAuthor(const OUString& rAuthor, const OUString& rDate)
{
- pDlg->ShowLastAuthor( rAuthor, rDate );
+ m_xDlg->ShowLastAuthor( rAuthor, rDate );
}
+
void AbstractSvxPostItDialog_Impl::DontChangeAuthor()
{
- pDlg->DontChangeAuthor();
+ m_xDlg->DontChangeAuthor();
}
+
void AbstractSvxPostItDialog_Impl::HideAuthor()
{
- pDlg->HideAuthor();
+ m_xDlg->HideAuthor();
}
+
void AbstractSvxPostItDialog_Impl::SetNextHdl( const Link<AbstractSvxPostItDialog&,void>& rLink )
{
aNextHdl = rLink;
if( rLink.IsSet() )
- pDlg->SetNextHdl( LINK(this, AbstractSvxPostItDialog_Impl, NextHdl ) );
+ m_xDlg->SetNextHdl( LINK(this, AbstractSvxPostItDialog_Impl, NextHdl ) );
else
- pDlg->SetNextHdl( Link<SvxPostItDialog&,void>() );
+ m_xDlg->SetNextHdl( Link<SvxPostItDialog&,void>() );
}
+
void AbstractSvxPostItDialog_Impl::SetPrevHdl( const Link<AbstractSvxPostItDialog&,void>& rLink )
{
aPrevHdl = rLink;
if( rLink.IsSet() )
- pDlg->SetPrevHdl( LINK(this, AbstractSvxPostItDialog_Impl, PrevHdl ) );
+ m_xDlg->SetPrevHdl( LINK(this, AbstractSvxPostItDialog_Impl, PrevHdl ) );
else
- pDlg->SetPrevHdl( Link<SvxPostItDialog&,void>() );
+ m_xDlg->SetPrevHdl( Link<SvxPostItDialog&,void>() );
}
+
IMPL_LINK_NOARG(AbstractSvxPostItDialog_Impl, NextHdl, SvxPostItDialog&, void)
{
aNextHdl.Call(*this);
}
+
IMPL_LINK_NOARG(AbstractSvxPostItDialog_Impl, PrevHdl, SvxPostItDialog&, void)
{
aPrevHdl.Call(*this);
}
-vcl::Window * AbstractSvxPostItDialog_Impl::GetWindow()
+
+std::shared_ptr<weld::Dialog> AbstractSvxPostItDialog_Impl::GetDialog()
{
- return static_cast<vcl::Window *>(pDlg);
+ return m_xDlg->GetDialog();
}
OUString AbstractPasswordToOpenModifyDialog_Impl::GetPasswordToOpen() const
@@ -1308,12 +1324,11 @@ VclPtr<SfxAbstractDialog> AbstractDialogFactory_Impl::CreateSfxDialog( vcl::Wind
return nullptr;
}
-VclPtr<AbstractSvxPostItDialog> AbstractDialogFactory_Impl::CreateSvxPostItDialog( vcl::Window* pParent,
+VclPtr<AbstractSvxPostItDialog> AbstractDialogFactory_Impl::CreateSvxPostItDialog( weld::Window* pParent,
const SfxItemSet& rCoreSet,
bool bPrevNext )
{
- VclPtrInstance<SvxPostItDialog> pDlg( pParent, rCoreSet, bPrevNext );
- return VclPtr<AbstractSvxPostItDialog_Impl>::Create( pDlg );
+ return VclPtr<AbstractSvxPostItDialog_Impl>::Create(new SvxPostItDialog(pParent, rCoreSet, bPrevNext));
}
class SvxMacroAssignDialog : public VclAbstractDialog
diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx
index 940a0b2ae580..923d74d1e55e 100644
--- a/cui/source/factory/dlgfact.hxx
+++ b/cui/source/factory/dlgfact.hxx
@@ -477,18 +477,25 @@ public:
class SvxPostItDialog;
class AbstractSvxPostItDialog_Impl :public AbstractSvxPostItDialog
{
- DECL_ABSTDLG_BASE( AbstractSvxPostItDialog_Impl, SvxPostItDialog )
+private:
+ std::unique_ptr<SvxPostItDialog> m_xDlg;
+public:
+ AbstractSvxPostItDialog_Impl(SvxPostItDialog* pDlg)
+ : m_xDlg(pDlg)
+ {
+ }
+ virtual short Execute() override;
virtual void SetText( const OUString& rStr ) override; //From class Window
virtual const SfxItemSet* GetOutputItemSet() const override;
- virtual void SetPrevHdl( const Link<AbstractSvxPostItDialog&,void>& rLink ) override ;
- virtual void SetNextHdl( const Link<AbstractSvxPostItDialog&,void>& rLink ) override ;
- virtual void EnableTravel(bool bNext, bool bPrev) override ;
- virtual OUString GetNote() override ;
- virtual void SetNote(const OUString& rTxt) override ;
- virtual void ShowLastAuthor(const OUString& rAuthor, const OUString& rDate) override ;
- virtual void DontChangeAuthor() override ;
- virtual void HideAuthor() override ;
- virtual vcl::Window * GetWindow() override;
+ virtual void SetPrevHdl( const Link<AbstractSvxPostItDialog&,void>& rLink ) override;
+ virtual void SetNextHdl( const Link<AbstractSvxPostItDialog&,void>& rLink ) override;
+ virtual void EnableTravel(bool bNext, bool bPrev) override;
+ virtual OUString GetNote() override;
+ virtual void SetNote(const OUString& rTxt) override;
+ virtual void ShowLastAuthor(const OUString& rAuthor, const OUString& rDate) override;
+ virtual void DontChangeAuthor() override;
+ virtual void HideAuthor() override;
+ virtual std::shared_ptr<weld::Dialog> GetDialog() override;
private:
Link<AbstractSvxPostItDialog&,void> aNextHdl;
Link<AbstractSvxPostItDialog&,void> aPrevHdl;
@@ -698,7 +705,7 @@ public:
SdrModel* pModel,
const SdrObject* pObj,
bool bHasObj ) override;
- virtual VclPtr<AbstractSvxPostItDialog> CreateSvxPostItDialog( vcl::Window* pParent,
+ virtual VclPtr<AbstractSvxPostItDialog> CreateSvxPostItDialog( weld::Window* pParent,
const SfxItemSet& rCoreSet,
bool bPrevNext = false ) override;
diff --git a/cui/source/inc/postdlg.hxx b/cui/source/inc/postdlg.hxx
index 9c33e4ab9dd6..0434f19b1f9d 100644
--- a/cui/source/inc/postdlg.hxx
+++ b/cui/source/inc/postdlg.hxx
@@ -19,12 +19,7 @@
#ifndef INCLUDED_CUI_SOURCE_INC_POSTDLG_HXX
#define INCLUDED_CUI_SOURCE_INC_POSTDLG_HXX
-#include <vcl/button.hxx>
-#include <vcl/edit.hxx>
-#include <vcl/group.hxx>
-#include <vcl/layout.hxx>
-#include <sfx2/basedlgs.hxx>
-#include <svtools/svmedit.hxx>
+#include <vcl/weld.hxx>
// class SvxPostItDialog -------------------------------------------------
/*
@@ -39,64 +34,68 @@
<SvxPostItTextItem><SID_ATTR_POSTIT_TEXT>
*/
-class SvxPostItDialog : public SfxModalDialog
+class SvxPostItDialog : public weld::GenericDialogController
{
public:
- SvxPostItDialog(vcl::Window* pParent, const SfxItemSet& rCoreSet,
+ SvxPostItDialog(weld::Window* pParent, const SfxItemSet& rCoreSet,
bool bPrevNext);
virtual ~SvxPostItDialog() override;
- virtual void dispose() override;
static const sal_uInt16* GetRanges();
- const SfxItemSet* GetOutputItemSet() const { return pOutSet; }
+ const SfxItemSet* GetOutputItemSet() { return m_xOutSet.get(); }
void SetPrevHdl( const Link<SvxPostItDialog&,void>& rLink )
- { aPrevHdlLink = rLink; }
+ { m_aPrevHdlLink = rLink; }
void SetNextHdl( const Link<SvxPostItDialog&,void>& rLink )
- { aNextHdlLink = rLink; }
+ { m_aNextHdlLink = rLink; }
void EnableTravel(bool bNext, bool bPrev);
- OUString GetNote()
+ OUString GetNote() const
{
- return m_pEditED->GetText();
+ return m_xEditED->get_text();
}
void SetNote(const OUString& rTxt)
{
- m_pEditED->SetText(rTxt);
+ m_xEditED->set_text(rTxt);
}
void ShowLastAuthor(const OUString& rAuthor, const OUString& rDate);
void DontChangeAuthor()
{
- m_pAuthorBtn->Enable(false);
+ m_xAuthorBtn->set_sensitive(false);
}
void HideAuthor()
{
- m_pInsertAuthor->Hide();
+ m_xInsertAuthor->hide();
+ }
+ void set_title(const OUString& rTitle)
+ {
+ m_xDialog->set_title(rTitle);
+ }
+ std::shared_ptr<weld::Dialog> GetDialog()
+ {
+ return m_xDialog;
}
private:
- VclPtr<FixedText> m_pLastEditFT;
-
- VclPtr<VclMultiLineEdit> m_pEditED;
-
- VclPtr<VclContainer> m_pInsertAuthor;
- VclPtr<PushButton> m_pAuthorBtn;
-
- VclPtr<OKButton> m_pOKBtn;
-
- VclPtr<PushButton> m_pPrevBtn;
- VclPtr<PushButton> m_pNextBtn;
-
- const SfxItemSet& rSet;
- SfxItemSet* pOutSet;
-
- Link<SvxPostItDialog&,void> aPrevHdlLink;
- Link<SvxPostItDialog&,void> aNextHdlLink;
-
- DECL_LINK(Stamp, Button*, void);
- DECL_LINK(OKHdl, Button*, void);
- DECL_LINK(PrevHdl, Button*, void);
- DECL_LINK(NextHdl, Button*, void);
+ const SfxItemSet& m_rSet;
+ std::unique_ptr<SfxItemSet> m_xOutSet;
+
+ Link<SvxPostItDialog&,void> m_aPrevHdlLink;
+ Link<SvxPostItDialog&,void> m_aNextHdlLink;
+
+ std::unique_ptr<weld::Label> m_xLastEditFT;
+ std::unique_ptr<weld::Label> m_xAltTitle;
+ std::unique_ptr<weld::TextView> m_xEditED;
+ std::unique_ptr<weld::Widget> m_xInsertAuthor;
+ std::unique_ptr<weld::Button> m_xAuthorBtn;
+ std::unique_ptr<weld::Button> m_xOKBtn;
+ std::unique_ptr<weld::Button> m_xPrevBtn;
+ std::unique_ptr<weld::Button> m_xNextBtn;
+
+ DECL_LINK(Stamp, weld::Button&, void);
+ DECL_LINK(OKHdl, weld::Button&, void);
+ DECL_LINK(PrevHdl, weld::Button&, void);
+ DECL_LINK(NextHdl, weld::Button&, void);
};
#endif