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

#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
 

Detailed Description

Definition at line 26 of file AppTitleWindow.hxx.

Constructor & Destructor Documentation

◆ OTitleWindow()

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.

◆ ~OTitleWindow()

dbaui::OTitleWindow::~OTitleWindow ( )

Definition at line 40 of file AppTitleWindow.cxx.

Member Function Documentation

◆ getChildContainer()

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.

◆ getChildWindow()

OChildWindow * dbaui::OTitleWindow::getChildWindow ( ) const
inline

gets the child window.

Returns
The child window.

Definition at line 57 of file AppTitleWindow.hxx.

References m_xChild.

◆ GrabFocus()

void dbaui::OTitleWindow::GrabFocus ( )

Definition at line 56 of file AppTitleWindow.cxx.

References m_xChild.

◆ HasChildPathFocus()

bool dbaui::OTitleWindow::HasChildPathFocus ( ) const

Definition at line 62 of file AppTitleWindow.cxx.

References m_xChild.

◆ setChildWindow()

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.

Parameters
_pChildThe child window.

Definition at line 44 of file AppTitleWindow.cxx.

References m_xChild.

◆ setTitle()

void dbaui::OTitleWindow::setTitle ( TranslateId  pTitleId)

sets the title text out of the resource

Parameters
pTitleIdThe resource id of the title text.

Definition at line 49 of file AppTitleWindow.cxx.

References DBA_RES, and m_xTitle.

Referenced by OTitleWindow().

Member Data Documentation

◆ m_xBuilder

std::unique_ptr<weld::Builder> dbaui::OTitleWindow::m_xBuilder
private

Definition at line 28 of file AppTitleWindow.hxx.

◆ m_xChild

std::shared_ptr<OChildWindow> dbaui::OTitleWindow::m_xChild
private

Definition at line 33 of file AppTitleWindow.hxx.

Referenced by getChildWindow(), GrabFocus(), HasChildPathFocus(), and setChildWindow().

◆ m_xChildContainer

std::unique_ptr<weld::Container> dbaui::OTitleWindow::m_xChildContainer
private

Definition at line 32 of file AppTitleWindow.hxx.

Referenced by getChildContainer().

◆ m_xContainer

std::unique_ptr<weld::Container> dbaui::OTitleWindow::m_xContainer
private

Definition at line 29 of file AppTitleWindow.hxx.

Referenced by OTitleWindow().

◆ m_xTitle

std::unique_ptr<weld::Label> dbaui::OTitleWindow::m_xTitle
private

Definition at line 31 of file AppTitleWindow.hxx.

Referenced by OTitleWindow(), and setTitle().

◆ m_xTitleFrame

std::unique_ptr<weld::Container> dbaui::OTitleWindow::m_xTitleFrame
private

Definition at line 30 of file AppTitleWindow.hxx.

Referenced by OTitleWindow().


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