LibreOffice Module dbaccess (master) 1
|
#include <querydlg.hxx>
Public Member Functions | |
DlgQryJoin (const OQueryTableView *pParent, const TTableConnectionData::value_type &pData, const OJoinTableView::OTableWindowMap *_pTableMap, const css::uno::Reference< css::sdbc::XConnection > &_xConnection, bool _bAllowTableSelect) | |
virtual | ~DlgQryJoin () override |
EJoinType | GetJoinType () const |
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 | |
DECL_LINK (OKClickHdl, weld::Button &, void) | |
DECL_LINK (LBChangeHdl, weld::ComboBox &, void) | |
DECL_LINK (NaturalToggleHdl, weld::Toggleable &, void) | |
void | setJoinType (EJoinType _eNewJoinType) |
setJoinType enables and set the new join type More... | |
Private Attributes | |
EJoinType | eJoinType |
TTableConnectionData::value_type | m_pConnData |
TTableConnectionData::value_type | m_pOrigConnData |
css::uno::Reference< css::sdbc::XConnection > | m_xConnection |
std::unique_ptr< weld::Label > | m_xML_HelpText |
std::unique_ptr< weld::Button > | m_xPB_OK |
std::unique_ptr< weld::ComboBox > | m_xLB_JoinType |
std::unique_ptr< weld::CheckButton > | m_xCBNatural |
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 33 of file querydlg.hxx.
DlgQryJoin::DlgQryJoin | ( | const OQueryTableView * | pParent, |
const TTableConnectionData::value_type & | pData, | ||
const OJoinTableView::OTableWindowMap * | _pTableMap, | ||
const css::uno::Reference< css::sdbc::XConnection > & | _xConnection, | ||
bool | _bAllowTableSelect | ||
) |
Definition at line 43 of file querydlg.cxx.
References dbaui::CROSS_JOIN, eJoinType, get(), dbaui::OJoinDesignView::getController(), dbaui::OJoinTableView::getDesignView(), GetFrameWeld(), Size::Height(), i, ID_FULL_JOIN, ID_LEFT_JOIN, ID_RIGHT_JOIN, dbaui::OQueryTableConnectionData::isNatural(), LINK, m_pConnData, weld::GenericDialogController::m_xBuilder, m_xCBNatural, m_xConnection, m_xLB_JoinType, m_xML_HelpText, m_xPB_OK, m_xTableControl, setJoinType(), and Size::Width().
|
overridevirtual |
Definition at line 136 of file querydlg.cxx.
|
private |
|
private |
|
private |
|
inline |
Definition at line 62 of file querydlg.hxx.
References eJoinType.
|
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 263 of file querydlg.cxx.
References dbaui::OQueryTableConnectionData::GetJoinType(), dbaui::OQueryTableConnectionData::isNatural(), m_pConnData, m_xCBNatural, and setJoinType().
|
private |
setJoinType enables and set the new join type
_eNewJoinType | the new jointype |
Definition at line 270 of file querydlg.cxx.
References dbaui::CROSS_JOIN, eJoinType, dbaui::FULL_JOIN, i, ID_CROSS_JOIN, ID_FULL_JOIN, ID_INNER_JOIN, ID_LEFT_JOIN, ID_RIGHT_JOIN, dbaui::INNER_JOIN, dbaui::LEFT_JOIN, m_xCBNatural, m_xLB_JoinType, nCount, and dbaui::RIGHT_JOIN.
Referenced by DlgQryJoin(), and notifyConnectionChange().
|
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 258 of file querydlg.cxx.
References dbaui::CROSS_JOIN, eJoinType, and m_xPB_OK.
|
private |
Definition at line 36 of file querydlg.hxx.
Referenced by DlgQryJoin(), GetJoinType(), setJoinType(), and setValid().
|
private |
Definition at line 37 of file querydlg.hxx.
Referenced by DlgQryJoin(), and notifyConnectionChange().
|
private |
Definition at line 38 of file querydlg.hxx.
|
private |
Definition at line 44 of file querydlg.hxx.
Referenced by DlgQryJoin(), notifyConnectionChange(), and setJoinType().
|
private |
Definition at line 39 of file querydlg.hxx.
Referenced by DlgQryJoin().
|
private |
Definition at line 43 of file querydlg.hxx.
Referenced by DlgQryJoin(), and setJoinType().
|
private |
Definition at line 41 of file querydlg.hxx.
Referenced by DlgQryJoin().
|
private |
Definition at line 42 of file querydlg.hxx.
Referenced by DlgQryJoin(), and setValid().
|
private |
Definition at line 45 of file querydlg.hxx.
Referenced by DlgQryJoin().