LibreOffice Module dbaccess (master) 1
|
#include <TableFieldDescWin.hxx>
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) |
OTableFieldControl * | getGenPage () 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 | |
IClipboardTest * | getActiveChild () const |
DECL_LINK (HelpFocusIn, weld::Widget &, void) | |
DECL_LINK (FieldFocusIn, weld::Widget &, void) | |
Private Attributes | |
OTableDesignHelpBar | m_aHelpBar |
std::unique_ptr< weld::Container > | m_xBox |
std::unique_ptr< OTableFieldControl > | m_xFieldControl |
std::unique_ptr< weld::Label > | m_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::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
Definition at line 31 of file TableFieldDescWin.hxx.
|
private |
Enumerator | |
---|---|
DESCRIPTION | |
HELP | |
NONE |
Definition at line 34 of file TableFieldDescWin.hxx.
|
explicit |
Definition at line 29 of file TableFieldDescWin.cxx.
References dbaui::OTableDesignHelpBar::connect_focus_in(), DBA_RES, get(), HID_TAB_DESIGN_FIELDCONTROL, LINK, m_aHelpBar, m_xFieldControl, m_xHeader, and NONE.
|
overridevirtual |
Definition at line 51 of file TableFieldDescWin.cxx.
|
inline |
Definition at line 67 of file TableFieldDescWin.hxx.
References m_xFieldControl.
|
inline |
Definition at line 68 of file TableFieldDescWin.hxx.
References m_xFieldControl.
Referenced by dbaui::OTableEditorCtrl::GetCellData().
|
inline |
Definition at line 82 of file TableFieldDescWin.hxx.
References m_aFocusInHdl.
|
overridevirtual |
Implements dbaui::IClipboardTest.
Definition at line 111 of file TableFieldDescWin.cxx.
References dbaui::IClipboardTest::copy(), and getActiveChild().
|
overridevirtual |
Implements dbaui::IClipboardTest.
Definition at line 105 of file TableFieldDescWin.cxx.
References dbaui::IClipboardTest::cut(), and getActiveChild().
|
private |
|
private |
void OTableFieldDescWin::DisplayData | ( | OFieldDescription * | pFieldDescr | ) |
Definition at line 65 of file TableFieldDescWin.cxx.
References m_xFieldControl.
Referenced by dbaui::OTableEditorCtrl::AdjustFieldDescription(), dbaui::OTableEditorCtrl::CellModified(), dbaui::OTableEditorCtrl::CursorMoving(), dbaui::OTableEditorCtrl::DeleteRows(), dbaui::OTableEditorCtrl::DisplayData(), dbaui::OTableDesignView::reSync(), dbaui::OTableEditorCtrl::SetDescrWin(), and dbaui::OTableEditorCtrl::SwitchType().
|
private |
Definition at line 75 of file TableFieldDescWin.cxx.
References DESCRIPTION, m_aHelpBar, m_eChildFocus, and m_xFieldControl.
Referenced by copy(), cut(), isCopyAllowed(), isCutAllowed(), isPasteAllowed(), and paste().
|
inline |
Definition at line 87 of file TableFieldDescWin.hxx.
References m_xFieldControl.
|
overridevirtual |
Implements dbaui::OChildWindow.
Definition at line 123 of file TableFieldDescWin.cxx.
References m_xFieldControl.
|
overridevirtual |
Implements dbaui::OChildWindow.
Definition at line 46 of file TableFieldDescWin.cxx.
References dbaui::OTableDesignHelpBar::HasFocus(), m_aHelpBar, and m_xFieldControl.
void OTableFieldDescWin::Init | ( | void | ) |
Definition at line 55 of file TableFieldDescWin.cxx.
References m_xFieldControl.
Referenced by dbaui::OTableDesignView::initialize().
|
overridevirtual |
Implements dbaui::IClipboardTest.
Definition at line 90 of file TableFieldDescWin.cxx.
References getActiveChild(), and dbaui::IClipboardTest::isCopyAllowed().
|
overridevirtual |
Implements dbaui::IClipboardTest.
Definition at line 95 of file TableFieldDescWin.cxx.
References getActiveChild(), and dbaui::IClipboardTest::isCutAllowed().
|
overridevirtual |
Implements dbaui::IClipboardTest.
Definition at line 100 of file TableFieldDescWin.cxx.
References getActiveChild(), and dbaui::IClipboardTest::isPasteAllowed().
|
overridevirtual |
Implements dbaui::IClipboardTest.
Definition at line 117 of file TableFieldDescWin.cxx.
References getActiveChild(), and dbaui::IClipboardTest::paste().
void OTableFieldDescWin::SaveData | ( | OFieldDescription * | pFieldDescr | ) |
Definition at line 70 of file TableFieldDescWin.cxx.
References m_xFieldControl.
Referenced by dbaui::OTableEditorCtrl::Command(), dbaui::OTableEditorCtrl::CopyRows(), dbaui::OTableEditorCtrl::CursorMoving(), dbaui::OTableEditorCtrl::SaveCurRow(), dbaui::OTableEditorCtrl::SaveData(), and dbaui::OTableEditorCtrl::SwitchType().
|
inline |
Definition at line 64 of file TableFieldDescWin.hxx.
References m_xFieldControl, and nControlId.
Referenced by dbaui::OTableEditorCtrl::SetControlText().
void OTableFieldDescWin::SetReadOnly | ( | bool | bReadOnly | ) |
Definition at line 60 of file TableFieldDescWin.cxx.
References m_xFieldControl.
Referenced by dbaui::OTableEditorCtrl::DeactivateCell(), and dbaui::OTableDesignView::setReadOnly().
|
private |
Definition at line 45 of file TableFieldDescWin.hxx.
Referenced by connect_focus_in().
|
private |
Definition at line 41 of file TableFieldDescWin.hxx.
Referenced by getActiveChild(), HasChildPathFocus(), and OTableFieldDescWin().
|
private |
Definition at line 47 of file TableFieldDescWin.hxx.
Referenced by getActiveChild().
|
private |
Definition at line 42 of file TableFieldDescWin.hxx.
|
private |
Definition at line 43 of file TableFieldDescWin.hxx.
Referenced by BoolStringPersistent(), BoolStringUI(), DisplayData(), getActiveChild(), getGenPage(), GrabFocus(), HasChildPathFocus(), Init(), OTableFieldDescWin(), SaveData(), SetControlText(), and SetReadOnly().
|
private |
Definition at line 44 of file TableFieldDescWin.hxx.
Referenced by OTableFieldDescWin().