LibreOffice Module dbaccess (master) 1
|
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::Button > | m_xControl |
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.
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.
|
inline |
Definition at line 44 of file opendoccontrols.hxx.
References m_xControl.
|
private |
Definition at line 103 of file opendoccontrols.cxx.
References aProperties, vcl::CommandInfoProvider::GetCommandProperties(), vcl::CommandInfoProvider::GetLabelForCommand(), m_sModule, and m_xControl.
Referenced by OpenDocumentButton().
|
inline |
Definition at line 43 of file opendoccontrols.hxx.
References m_xControl.
|
private |
Definition at line 37 of file opendoccontrols.hxx.
Referenced by impl_init().
|
private |
Definition at line 39 of file opendoccontrols.hxx.
Referenced by connect_clicked(), impl_init(), and set_sensitive().