LibreOffice Module dbaccess (master) 1
|
#include <RelationDlg.hxx>
Public Member Functions | |
ORelationDialog (OJoinTableView *pParent, const TTableConnectionData::value_type &pConnectionData, bool bAllowTableSelect=false) | |
virtual | ~ORelationDialog () override |
virtual short | run () override |
virtual void | setValid (bool _bValid) override |
setValid set the valid inside, can be used for OK buttons More... | |
virtual void | notifyConnectionChange () override |
notifyConnectionChange is callback which is called when the table selection has changed and a new connection exists More... | |
Public Member Functions inherited from weld::GenericDialogController | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () const |
virtual short | run () |
void | set_title (const OUString &rTitle) |
OUString | get_title () const |
void | set_help_id (const OUString &rHelpId) |
OUString | get_help_id () const |
void | response (int nResponse) |
virtual | ~DialogController () COVERITY_NOEXCEPT_FALSE |
Public Member Functions inherited from dbaui::IRelationControlInterface | |
virtual | ~IRelationControlInterface () |
virtual void | setValid (bool _bValid)=0 |
setValid set the valid inside, can be used for OK buttons More... | |
virtual void | notifyConnectionChange ()=0 |
notifyConnectionChange is callback which is called when the table selection has changed and a new connection exists More... | |
Private Member Functions | |
void | Init (const TTableConnectionData::value_type &_pConnectionData) |
DECL_LINK (OKClickHdl, weld::Button &, void) | |
Private Attributes | |
VclPtr< OJoinTableView > | m_pParent |
TTableConnectionData::value_type | m_pConnData |
TTableConnectionData::value_type | m_pOrigConnData |
bool | m_bTriedOneUpdate |
std::unique_ptr< weld::RadioButton > | m_xRB_NoCascUpd |
std::unique_ptr< weld::RadioButton > | m_xRB_CascUpd |
std::unique_ptr< weld::RadioButton > | m_xRB_CascUpdNull |
std::unique_ptr< weld::RadioButton > | m_xRB_CascUpdDefault |
std::unique_ptr< weld::RadioButton > | m_xRB_NoCascDel |
std::unique_ptr< weld::RadioButton > | m_xRB_CascDel |
std::unique_ptr< weld::RadioButton > | m_xRB_CascDelNull |
std::unique_ptr< weld::RadioButton > | m_xRB_CascDelDefault |
std::unique_ptr< weld::Button > | m_xPB_OK |
std::unique_ptr< OTableListBoxControl > | m_xTableControl |
Additional Inherited Members | |
Static Public Member Functions inherited from weld::DialogController | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
Protected Attributes inherited from weld::GenericDialogController | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 30 of file RelationDlg.hxx.
ORelationDialog::ORelationDialog | ( | OJoinTableView * | pParent, |
const TTableConnectionData::value_type & | pConnectionData, | ||
bool | bAllowTableSelect = false |
||
) |
Definition at line 41 of file RelationDlg.cxx.
References GetFrameWeld(), dbaui::OJoinTableView::GetTabWinMap(), Init(), LINK, m_pConnData, weld::GenericDialogController::m_xBuilder, m_xPB_OK, and m_xTableControl.
|
overridevirtual |
Definition at line 79 of file RelationDlg.cxx.
|
private |
|
private |
Definition at line 83 of file RelationDlg.cxx.
References dbaui::ORelationTableConnectionData::GetDeleteRules(), dbaui::ORelationTableConnectionData::GetUpdateRules(), m_xRB_CascDel, m_xRB_CascDelDefault, m_xRB_CascDelNull, m_xRB_CascUpd, m_xRB_CascUpdDefault, m_xRB_CascUpdNull, m_xRB_NoCascDel, and m_xRB_NoCascUpd.
Referenced by notifyConnectionChange(), and ORelationDialog().
|
overridevirtual |
notifyConnectionChange is callback which is called when the table selection has changed and a new connection exists
_pConnectionData | the connection which exists between the new tables |
Implements dbaui::IRelationControlInterface.
Definition at line 210 of file RelationDlg.cxx.
References Init(), and m_pConnData.
|
overridevirtual |
Reimplemented from weld::DialogController.
Definition at line 196 of file RelationDlg.cxx.
References m_bTriedOneUpdate, RET_NO, and RET_OK.
Referenced by dbaui::ORelationTableView::AddNewRelation(), dbaui::ORelationTableView::ConnDoubleClicked(), and dbaui::ORelationTableView::lookForUiActivities().
|
overridevirtual |
setValid set the valid inside, can be used for OK buttons
_bValid | true when the using control allows an update |
Implements dbaui::IRelationControlInterface.
Definition at line 205 of file RelationDlg.cxx.
References m_xPB_OK.
|
private |
Definition at line 36 of file RelationDlg.hxx.
Referenced by run().
|
private |
Definition at line 34 of file RelationDlg.hxx.
Referenced by notifyConnectionChange(), and ORelationDialog().
|
private |
Definition at line 35 of file RelationDlg.hxx.
|
private |
Definition at line 33 of file RelationDlg.hxx.
|
private |
Definition at line 46 of file RelationDlg.hxx.
Referenced by ORelationDialog(), and setValid().
|
private |
Definition at line 43 of file RelationDlg.hxx.
Referenced by Init().
|
private |
Definition at line 45 of file RelationDlg.hxx.
Referenced by Init().
|
private |
Definition at line 44 of file RelationDlg.hxx.
Referenced by Init().
|
private |
Definition at line 39 of file RelationDlg.hxx.
Referenced by Init().
|
private |
Definition at line 41 of file RelationDlg.hxx.
Referenced by Init().
|
private |
Definition at line 40 of file RelationDlg.hxx.
Referenced by Init().
|
private |
Definition at line 42 of file RelationDlg.hxx.
Referenced by Init().
|
private |
Definition at line 38 of file RelationDlg.hxx.
Referenced by Init().
|
private |
Definition at line 48 of file RelationDlg.hxx.
Referenced by ORelationDialog().