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

#include <RelationDlg.hxx>

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

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 DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () 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< OJoinTableViewm_pParent
 
TTableConnectionData::value_type m_pConnData
 
TTableConnectionData::value_type m_pOrigConnData
 
bool m_bTriedOneUpdate
 
std::unique_ptr< weld::RadioButtonm_xRB_NoCascUpd
 
std::unique_ptr< weld::RadioButtonm_xRB_CascUpd
 
std::unique_ptr< weld::RadioButtonm_xRB_CascUpdNull
 
std::unique_ptr< weld::RadioButtonm_xRB_CascUpdDefault
 
std::unique_ptr< weld::RadioButtonm_xRB_NoCascDel
 
std::unique_ptr< weld::RadioButtonm_xRB_CascDel
 
std::unique_ptr< weld::RadioButtonm_xRB_CascDelNull
 
std::unique_ptr< weld::RadioButtonm_xRB_CascDelDefault
 
std::unique_ptr< weld::Buttonm_xPB_OK
 
std::unique_ptr< OTableListBoxControlm_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::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 30 of file RelationDlg.hxx.

Constructor & Destructor Documentation

◆ ORelationDialog()

ORelationDialog::ORelationDialog ( OJoinTableView pParent,
const TTableConnectionData::value_type &  pConnectionData,
bool  bAllowTableSelect = false 
)

◆ ~ORelationDialog()

ORelationDialog::~ORelationDialog ( )
overridevirtual

Definition at line 79 of file RelationDlg.cxx.

Member Function Documentation

◆ DECL_LINK()

dbaui::ORelationDialog::DECL_LINK ( OKClickHdl  ,
weld::Button ,
void   
)
private

◆ Init()

void ORelationDialog::Init ( const TTableConnectionData::value_type &  _pConnectionData)
private

◆ notifyConnectionChange()

void ORelationDialog::notifyConnectionChange ( )
overridevirtual

notifyConnectionChange is callback which is called when the table selection has changed and a new connection exists

Parameters
_pConnectionDatathe connection which exists between the new tables

Implements dbaui::IRelationControlInterface.

Definition at line 210 of file RelationDlg.cxx.

References Init(), and m_pConnData.

◆ run()

short ORelationDialog::run ( )
overridevirtual

◆ setValid()

void ORelationDialog::setValid ( bool  _bValid)
overridevirtual

setValid set the valid inside, can be used for OK buttons

Parameters
_bValidtrue when the using control allows an update

Implements dbaui::IRelationControlInterface.

Definition at line 205 of file RelationDlg.cxx.

References m_xPB_OK.

Member Data Documentation

◆ m_bTriedOneUpdate

bool dbaui::ORelationDialog::m_bTriedOneUpdate
private

Definition at line 36 of file RelationDlg.hxx.

Referenced by run().

◆ m_pConnData

TTableConnectionData::value_type dbaui::ORelationDialog::m_pConnData
private

Definition at line 34 of file RelationDlg.hxx.

Referenced by notifyConnectionChange(), and ORelationDialog().

◆ m_pOrigConnData

TTableConnectionData::value_type dbaui::ORelationDialog::m_pOrigConnData
private

Definition at line 35 of file RelationDlg.hxx.

◆ m_pParent

VclPtr<OJoinTableView> dbaui::ORelationDialog::m_pParent
private

Definition at line 33 of file RelationDlg.hxx.

◆ m_xPB_OK

std::unique_ptr<weld::Button> dbaui::ORelationDialog::m_xPB_OK
private

Definition at line 46 of file RelationDlg.hxx.

Referenced by ORelationDialog(), and setValid().

◆ m_xRB_CascDel

std::unique_ptr<weld::RadioButton> dbaui::ORelationDialog::m_xRB_CascDel
private

Definition at line 43 of file RelationDlg.hxx.

Referenced by Init().

◆ m_xRB_CascDelDefault

std::unique_ptr<weld::RadioButton> dbaui::ORelationDialog::m_xRB_CascDelDefault
private

Definition at line 45 of file RelationDlg.hxx.

Referenced by Init().

◆ m_xRB_CascDelNull

std::unique_ptr<weld::RadioButton> dbaui::ORelationDialog::m_xRB_CascDelNull
private

Definition at line 44 of file RelationDlg.hxx.

Referenced by Init().

◆ m_xRB_CascUpd

std::unique_ptr<weld::RadioButton> dbaui::ORelationDialog::m_xRB_CascUpd
private

Definition at line 39 of file RelationDlg.hxx.

Referenced by Init().

◆ m_xRB_CascUpdDefault

std::unique_ptr<weld::RadioButton> dbaui::ORelationDialog::m_xRB_CascUpdDefault
private

Definition at line 41 of file RelationDlg.hxx.

Referenced by Init().

◆ m_xRB_CascUpdNull

std::unique_ptr<weld::RadioButton> dbaui::ORelationDialog::m_xRB_CascUpdNull
private

Definition at line 40 of file RelationDlg.hxx.

Referenced by Init().

◆ m_xRB_NoCascDel

std::unique_ptr<weld::RadioButton> dbaui::ORelationDialog::m_xRB_NoCascDel
private

Definition at line 42 of file RelationDlg.hxx.

Referenced by Init().

◆ m_xRB_NoCascUpd

std::unique_ptr<weld::RadioButton> dbaui::ORelationDialog::m_xRB_NoCascUpd
private

Definition at line 38 of file RelationDlg.hxx.

Referenced by Init().

◆ m_xTableControl

std::unique_ptr<OTableListBoxControl> dbaui::ORelationDialog::m_xTableControl
private

Definition at line 48 of file RelationDlg.hxx.

Referenced by ORelationDialog().


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