LibreOffice Module dbaccess (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
dbaui::OpenDocumentButton Class Reference

a button which can be used to open a document More...

#include <opendoccontrols.hxx>

Public Member Functions

 OpenDocumentButton (std::unique_ptr< weld::Button > xControl, const char *_pAsciiModuleName)
 
void set_sensitive (bool bSensitive)
 
void connect_clicked (const Link< weld::Button &, void > &rLink)
 

Private Member Functions

void impl_init (const char *_pAsciiModuleName)
 

Private Attributes

OUString m_sModule
 
std::unique_ptr< weld::Buttonm_xControl
 

Detailed Description

a button which can be used to open a document

The text of the button is the same as for the "Open" command in the application UI. Additionally, the icon for this command is also displayed on the button.

Definition at line 34 of file opendoccontrols.hxx.

Constructor & Destructor Documentation

◆ OpenDocumentButton()

dbaui::OpenDocumentButton::OpenDocumentButton ( std::unique_ptr< weld::Button xControl,
const char *  _pAsciiModuleName 
)

Definition at line 97 of file opendoccontrols.cxx.

References impl_init(), and m_xControl.

Member Function Documentation

◆ connect_clicked()

void dbaui::OpenDocumentButton::connect_clicked ( const Link< weld::Button &, void > &  rLink)
inline

Definition at line 44 of file opendoccontrols.hxx.

References m_xControl.

◆ impl_init()

void dbaui::OpenDocumentButton::impl_init ( const char *  _pAsciiModuleName)
private

◆ set_sensitive()

void dbaui::OpenDocumentButton::set_sensitive ( bool  bSensitive)
inline

Definition at line 43 of file opendoccontrols.hxx.

References m_xControl.

Member Data Documentation

◆ m_sModule

OUString dbaui::OpenDocumentButton::m_sModule
private

Definition at line 37 of file opendoccontrols.hxx.

Referenced by impl_init().

◆ m_xControl

std::unique_ptr<weld::Button> dbaui::OpenDocumentButton::m_xControl
private

Definition at line 39 of file opendoccontrols.hxx.

Referenced by connect_clicked(), impl_init(), and set_sensitive().


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