LibreOffice Module basctl (master) 1
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
basctl::ObjectPage Class Referencefinal

#include <moduldlg.hxx>

Inheritance diagram for basctl::ObjectPage:
[legend]
Collaboration diagram for basctl::ObjectPage:
[legend]

Public Member Functions

 ObjectPage (weld::Container *pParent, const OUString &rName, BrowseMode nMode, OrganizeDialog *pDialog)
 
virtual ~ObjectPage () override
 
void SetCurrentEntry (const EntryDescriptor &rDesc)
 
virtual void ActivatePage () override
 
virtual void ActivatePage ()=0
 

Private Types

typedef std::pair< const weld::TreeIter &, OUString > IterString
 

Private Member Functions

 DECL_LINK (BasicBoxHighlightHdl, weld::TreeView &, void)
 
 DECL_LINK (ButtonHdl, weld::Button &, void)
 
 DECL_LINK (EditingEntryHdl, const weld::TreeIter &, bool)
 
 DECL_LINK (EditedEntryHdl, const IterString &, bool)
 
void CheckButtons ()
 
bool GetSelection (ScriptDocument &rDocument, OUString &rLibName)
 
void DeleteCurrent ()
 
void NewModule ()
 
void NewDialog ()
 
void EndTabDialog ()
 

Private Attributes

std::unique_ptr< SbTreeListBoxm_xBasicBox
 
std::unique_ptr< weld::Buttonm_xEditButton
 
std::unique_ptr< weld::Buttonm_xNewModButton
 
std::unique_ptr< weld::Buttonm_xNewDlgButton
 
std::unique_ptr< weld::Buttonm_xDelButton
 
std::unique_ptr< SbTreeListBoxDropTargetm_xDropTarget
 

Additional Inherited Members

- Protected Member Functions inherited from basctl::OrganizePage
 OrganizePage (weld::Container *pParent, const OUString &rUIFile, const OUString &rName, OrganizeDialog *pDialog)
 
virtual ~OrganizePage ()
 
- Protected Attributes inherited from basctl::OrganizePage
OrganizeDialogm_pDialog
 
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 127 of file moduldlg.hxx.

Member Typedef Documentation

◆ IterString

typedef std::pair<const weld::TreeIter&, OUString> basctl::ObjectPage::IterString
private

Definition at line 139 of file moduldlg.hxx.

Constructor & Destructor Documentation

◆ ObjectPage()

basctl::ObjectPage::ObjectPage ( weld::Container pParent,
const OUString &  rName,
BrowseMode  nMode,
OrganizeDialog pDialog 
)

◆ ~ObjectPage()

basctl::ObjectPage::~ObjectPage ( )
overridevirtual

Definition at line 612 of file moduldlg.cxx.

Member Function Documentation

◆ ActivatePage()

void basctl::ObjectPage::ActivatePage ( )
overridevirtual

Implements basctl::OrganizePage.

Definition at line 616 of file moduldlg.cxx.

References CheckButtons(), and m_xBasicBox.

◆ CheckButtons()

void basctl::ObjectPage::CheckButtons ( )
private

◆ DECL_LINK() [1/4]

basctl::ObjectPage::DECL_LINK ( BasicBoxHighlightHdl  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [2/4]

basctl::ObjectPage::DECL_LINK ( ButtonHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/4]

basctl::ObjectPage::DECL_LINK ( EditedEntryHdl  ,
const IterString ,
bool   
)
private

◆ DECL_LINK() [4/4]

basctl::ObjectPage::DECL_LINK ( EditingEntryHdl  ,
const weld::TreeIter ,
bool   
)
private

◆ DeleteCurrent()

void basctl::ObjectPage::DeleteCurrent ( )
private

◆ EndTabDialog()

void basctl::ObjectPage::EndTabDialog ( )
private

◆ GetSelection()

bool basctl::ObjectPage::GetSelection ( ScriptDocument rDocument,
OUString &  rLibName 
)
private

◆ NewDialog()

void basctl::ObjectPage::NewDialog ( )
private

◆ NewModule()

void basctl::ObjectPage::NewModule ( )
private

◆ SetCurrentEntry()

void basctl::ObjectPage::SetCurrentEntry ( const EntryDescriptor rDesc)
inline

Definition at line 153 of file moduldlg.hxx.

References m_xBasicBox.

Member Data Documentation

◆ m_xBasicBox

std::unique_ptr<SbTreeListBox> basctl::ObjectPage::m_xBasicBox
private

◆ m_xDelButton

std::unique_ptr<weld::Button> basctl::ObjectPage::m_xDelButton
private

Definition at line 133 of file moduldlg.hxx.

Referenced by CheckButtons(), and ObjectPage().

◆ m_xDropTarget

std::unique_ptr<SbTreeListBoxDropTarget> basctl::ObjectPage::m_xDropTarget
private

Definition at line 134 of file moduldlg.hxx.

Referenced by ObjectPage().

◆ m_xEditButton

std::unique_ptr<weld::Button> basctl::ObjectPage::m_xEditButton
private

Definition at line 130 of file moduldlg.hxx.

Referenced by CheckButtons(), and ObjectPage().

◆ m_xNewDlgButton

std::unique_ptr<weld::Button> basctl::ObjectPage::m_xNewDlgButton
private

Definition at line 132 of file moduldlg.hxx.

Referenced by CheckButtons(), and ObjectPage().

◆ m_xNewModButton

std::unique_ptr<weld::Button> basctl::ObjectPage::m_xNewModButton
private

Definition at line 131 of file moduldlg.hxx.

Referenced by CheckButtons(), and ObjectPage().


The documentation for this class was generated from the following files: