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

#include <TableFieldDescWin.hxx>

Inheritance diagram for dbaui::OTableFieldDescWin:
[legend]
Collaboration diagram for dbaui::OTableFieldDescWin:
[legend]

Public Member Functions

 OTableFieldDescWin (weld::Container *pParent, OTableDesignView *pView)
 
virtual ~OTableFieldDescWin () override
 
void Init ()
 
void DisplayData (OFieldDescription *pFieldDescr)
 
void SaveData (OFieldDescription *pFieldDescr)
 
void SetReadOnly (bool bReadOnly)
 
void SetControlText (sal_uInt16 nControlId, const OUString &rText)
 
OUString BoolStringPersistent (std::u16string_view rUIString) const
 
OUString BoolStringUI (const OUString &rPersistentString) const
 
virtual bool HasChildPathFocus () const override
 
virtual void GrabFocus () override
 
virtual bool isCutAllowed () override
 
virtual bool isCopyAllowed () override
 
virtual bool isPasteAllowed () override
 
virtual void copy () override
 
virtual void cut () override
 
virtual void paste () override
 
void connect_focus_in (const Link< weld::Widget &, void > &rLink)
 
OTableFieldControlgetGenPage () const
 
- Public Member Functions inherited from dbaui::OChildWindow
virtual ~OChildWindow ()
 
virtual void GrabFocus ()=0
 
virtual bool HasChildPathFocus () const =0
 
void Enable (bool bEnable)
 
void SetHelpId (const OUString &rHelpId)
 
void Show ()
 
virtual bool isCutAllowed ()=0
 
virtual bool isCopyAllowed ()=0
 
virtual bool isPasteAllowed ()=0
 
virtual void copy ()=0
 
virtual void cut ()=0
 
virtual void paste ()=0
 

Private Types

enum  ChildFocusState {
  DESCRIPTION ,
  HELP ,
  NONE
}
 

Private Member Functions

IClipboardTestgetActiveChild () const
 
 DECL_LINK (HelpFocusIn, weld::Widget &, void)
 
 DECL_LINK (FieldFocusIn, weld::Widget &, void)
 

Private Attributes

OTableDesignHelpBar m_aHelpBar
 
std::unique_ptr< weld::Containerm_xBox
 
std::unique_ptr< OTableFieldControlm_xFieldControl
 
std::unique_ptr< weld::Labelm_xHeader
 
Link< weld::Widget &, void > m_aFocusInHdl
 
ChildFocusState m_eChildFocus
 

Additional Inherited Members

- Protected Member Functions inherited from dbaui::OChildWindow
 OChildWindow (weld::Container *pParent, const OUString &rUIXMLDescription, const OUString &rID)
 
- Protected Member Functions inherited from dbaui::IClipboardTest
 ~IClipboardTest ()
 
- Protected Attributes inherited from dbaui::OChildWindow
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 31 of file TableFieldDescWin.hxx.

Member Enumeration Documentation

◆ ChildFocusState

Enumerator
DESCRIPTION 
HELP 
NONE 

Definition at line 34 of file TableFieldDescWin.hxx.

Constructor & Destructor Documentation

◆ OTableFieldDescWin()

OTableFieldDescWin::OTableFieldDescWin ( weld::Container pParent,
OTableDesignView pView 
)
explicit

◆ ~OTableFieldDescWin()

OTableFieldDescWin::~OTableFieldDescWin ( )
overridevirtual

Definition at line 51 of file TableFieldDescWin.cxx.

Member Function Documentation

◆ BoolStringPersistent()

OUString dbaui::OTableFieldDescWin::BoolStringPersistent ( std::u16string_view  rUIString) const
inline

Definition at line 67 of file TableFieldDescWin.hxx.

References m_xFieldControl.

◆ BoolStringUI()

OUString dbaui::OTableFieldDescWin::BoolStringUI ( const OUString &  rPersistentString) const
inline

Definition at line 68 of file TableFieldDescWin.hxx.

References m_xFieldControl.

Referenced by dbaui::OTableEditorCtrl::GetCellData().

◆ connect_focus_in()

void dbaui::OTableFieldDescWin::connect_focus_in ( const Link< weld::Widget &, void > &  rLink)
inline

Definition at line 82 of file TableFieldDescWin.hxx.

References m_aFocusInHdl.

◆ copy()

void OTableFieldDescWin::copy ( )
overridevirtual

Implements dbaui::IClipboardTest.

Definition at line 111 of file TableFieldDescWin.cxx.

References dbaui::IClipboardTest::copy(), and getActiveChild().

◆ cut()

void OTableFieldDescWin::cut ( )
overridevirtual

Implements dbaui::IClipboardTest.

Definition at line 105 of file TableFieldDescWin.cxx.

References dbaui::IClipboardTest::cut(), and getActiveChild().

◆ DECL_LINK() [1/2]

dbaui::OTableFieldDescWin::DECL_LINK ( FieldFocusIn  ,
weld::Widget ,
void   
)
private

◆ DECL_LINK() [2/2]

dbaui::OTableFieldDescWin::DECL_LINK ( HelpFocusIn  ,
weld::Widget ,
void   
)
private

◆ DisplayData()

void OTableFieldDescWin::DisplayData ( OFieldDescription pFieldDescr)

◆ getActiveChild()

IClipboardTest * OTableFieldDescWin::getActiveChild ( ) const
private

◆ getGenPage()

OTableFieldControl * dbaui::OTableFieldDescWin::getGenPage ( ) const
inline

Definition at line 87 of file TableFieldDescWin.hxx.

References m_xFieldControl.

◆ GrabFocus()

void OTableFieldDescWin::GrabFocus ( )
overridevirtual

Implements dbaui::OChildWindow.

Definition at line 123 of file TableFieldDescWin.cxx.

References m_xFieldControl.

◆ HasChildPathFocus()

bool OTableFieldDescWin::HasChildPathFocus ( ) const
overridevirtual

◆ Init()

void OTableFieldDescWin::Init ( void  )

Definition at line 55 of file TableFieldDescWin.cxx.

References m_xFieldControl.

Referenced by dbaui::OTableDesignView::initialize().

◆ isCopyAllowed()

bool OTableFieldDescWin::isCopyAllowed ( )
overridevirtual

◆ isCutAllowed()

bool OTableFieldDescWin::isCutAllowed ( )
overridevirtual

◆ isPasteAllowed()

bool OTableFieldDescWin::isPasteAllowed ( )
overridevirtual

◆ paste()

void OTableFieldDescWin::paste ( )
overridevirtual

Implements dbaui::IClipboardTest.

Definition at line 117 of file TableFieldDescWin.cxx.

References getActiveChild(), and dbaui::IClipboardTest::paste().

◆ SaveData()

void OTableFieldDescWin::SaveData ( OFieldDescription pFieldDescr)

◆ SetControlText()

void dbaui::OTableFieldDescWin::SetControlText ( sal_uInt16  nControlId,
const OUString &  rText 
)
inline

Definition at line 64 of file TableFieldDescWin.hxx.

References m_xFieldControl, and nControlId.

Referenced by dbaui::OTableEditorCtrl::SetControlText().

◆ SetReadOnly()

void OTableFieldDescWin::SetReadOnly ( bool  bReadOnly)

Member Data Documentation

◆ m_aFocusInHdl

Link<weld::Widget&, void> dbaui::OTableFieldDescWin::m_aFocusInHdl
private

Definition at line 45 of file TableFieldDescWin.hxx.

Referenced by connect_focus_in().

◆ m_aHelpBar

OTableDesignHelpBar dbaui::OTableFieldDescWin::m_aHelpBar
private

Definition at line 41 of file TableFieldDescWin.hxx.

Referenced by getActiveChild(), HasChildPathFocus(), and OTableFieldDescWin().

◆ m_eChildFocus

ChildFocusState dbaui::OTableFieldDescWin::m_eChildFocus
private

Definition at line 47 of file TableFieldDescWin.hxx.

Referenced by getActiveChild().

◆ m_xBox

std::unique_ptr<weld::Container> dbaui::OTableFieldDescWin::m_xBox
private

Definition at line 42 of file TableFieldDescWin.hxx.

◆ m_xFieldControl

std::unique_ptr<OTableFieldControl> dbaui::OTableFieldDescWin::m_xFieldControl
private

◆ m_xHeader

std::unique_ptr<weld::Label> dbaui::OTableFieldDescWin::m_xHeader
private

Definition at line 44 of file TableFieldDescWin.hxx.

Referenced by OTableFieldDescWin().


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