LibreOffice Module dbaccess (master) 1
|
#include <AppTitleWindow.hxx>
Public Member Functions | |
OTitleWindow (weld::Container *pParent, TranslateId pTitleId) | |
~OTitleWindow () | |
void | GrabFocus () |
bool | HasChildPathFocus () const |
weld::Container * | getChildContainer () |
gets the window which should be used as a child's parent More... | |
void | setChildWindow (const std::shared_ptr< OChildWindow > &rChild) |
sets the child window which should be displayed below the title. More... | |
OChildWindow * | getChildWindow () const |
gets the child window. More... | |
void | setTitle (TranslateId pTitleId) |
sets the title text out of the resource More... | |
Private Attributes | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
std::unique_ptr< weld::Container > | m_xTitleFrame |
std::unique_ptr< weld::Label > | m_xTitle |
std::unique_ptr< weld::Container > | m_xChildContainer |
std::shared_ptr< OChildWindow > | m_xChild |
Definition at line 26 of file AppTitleWindow.hxx.
dbaui::OTitleWindow::OTitleWindow | ( | weld::Container * | pParent, |
TranslateId | pTitleId | ||
) |
Definition at line 26 of file AppTitleWindow.cxx.
References m_xContainer, m_xTitle, m_xTitleFrame, setTitle(), and weld::Title.
dbaui::OTitleWindow::~OTitleWindow | ( | ) |
Definition at line 40 of file AppTitleWindow.cxx.
weld::Container * dbaui::OTitleWindow::getChildContainer | ( | ) |
gets the window which should be used as a child's parent
Definition at line 42 of file AppTitleWindow.cxx.
References m_xChildContainer.
|
inline |
gets the child window.
Definition at line 57 of file AppTitleWindow.hxx.
References m_xChild.
void dbaui::OTitleWindow::GrabFocus | ( | ) |
Definition at line 56 of file AppTitleWindow.cxx.
References m_xChild.
bool dbaui::OTitleWindow::HasChildPathFocus | ( | ) | const |
Definition at line 62 of file AppTitleWindow.cxx.
References m_xChild.
void dbaui::OTitleWindow::setChildWindow | ( | const std::shared_ptr< OChildWindow > & | rChild | ) |
sets the child window which should be displayed below the title.
It will be destroyed at the end.
_pChild | The child window. |
Definition at line 44 of file AppTitleWindow.cxx.
References m_xChild.
void dbaui::OTitleWindow::setTitle | ( | TranslateId | pTitleId | ) |
sets the title text out of the resource
pTitleId | The resource id of the title text. |
Definition at line 49 of file AppTitleWindow.cxx.
References DBA_RES, and m_xTitle.
Referenced by OTitleWindow().
|
private |
Definition at line 28 of file AppTitleWindow.hxx.
|
private |
Definition at line 33 of file AppTitleWindow.hxx.
Referenced by getChildWindow(), GrabFocus(), HasChildPathFocus(), and setChildWindow().
|
private |
Definition at line 32 of file AppTitleWindow.hxx.
Referenced by getChildContainer().
|
private |
Definition at line 29 of file AppTitleWindow.hxx.
Referenced by OTitleWindow().
|
private |
Definition at line 31 of file AppTitleWindow.hxx.
Referenced by OTitleWindow(), and setTitle().
|
private |
Definition at line 30 of file AppTitleWindow.hxx.
Referenced by OTitleWindow().