|
LibreOffice Module dbaccess (master) 1
|
#include <adtabdlg.hxx>
Public Member Functions | |
| OAddTableDlg (weld::Window *_pParent, IAddTableDialogContext &_rContext) | |
| virtual | ~OAddTableDlg () override |
| void | Update () |
| void | OnClose () |
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 |
Static Public Member Functions | |
| static OUString | getDialogTitleForContext (IAddTableDialogContext const &_rContext) |
Static Public Member Functions inherited from weld::DialogController | |
| static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
Private Types | |
| enum | ObjectList { Tables , Queries } |
Private Member Functions | |
| DECL_LINK (AddClickHdl, weld::Button &, void) | |
| DECL_LINK (CloseClickHdl, weld::Button &, void) | |
| DECL_LINK (TableListDoubleClickHdl, weld::TreeView &, bool) | |
| DECL_LINK (TableListSelectHdl, weld::TreeView &, void) | |
| DECL_LINK (OnTypeSelected, weld::Toggleable &, void) | |
| bool | impl_isAddAllowed () |
| void | impl_switchTo (ObjectList _eList) |
Private Attributes | |
| IAddTableDialogContext & | m_rContext |
| std::unique_ptr< TableObjectListFacade > | m_xCurrentList |
| std::unique_ptr< weld::RadioButton > | m_xCaseTables |
| std::unique_ptr< weld::RadioButton > | m_xCaseQueries |
| std::unique_ptr< OTableTreeListBox > | m_xTableList |
| std::unique_ptr< weld::TreeView > | m_xQueryList |
| std::unique_ptr< weld::Button > | m_xAddButton |
| std::unique_ptr< weld::Button > | m_xCloseButton |
Additional Inherited Members | |
Protected Attributes inherited from weld::GenericDialogController | |
| std::unique_ptr< weld::Builder > | m_xBuilder |
| std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 55 of file adtabdlg.hxx.
|
private |
| Enumerator | |
|---|---|
| Tables | |
| Queries | |
Definition at line 89 of file adtabdlg.hxx.
| OAddTableDlg::OAddTableDlg | ( | weld::Window * | _pParent, |
| IAddTableDialogContext & | _rContext | ||
| ) |
Definition at line 333 of file adtabdlg.cxx.
References dbaui::IAddTableDialogContext::allowQueries(), weld::TreeView::connect_changed(), weld::TreeView::connect_row_activated(), weld::Widget::get_approximate_digit_width(), weld::TreeView::get_height_rows(), getDialogTitleForContext(), Size::Height(), LINK, m_rContext, m_xAddButton, m_xCaseQueries, m_xCaseTables, m_xCloseButton, weld::GenericDialogController::m_xDialog, m_xQueryList, m_xTableList, weld::TreeView::set_selection_mode(), weld::Widget::set_size_request(), and Size::Width().
|
overridevirtual |
Definition at line 372 of file adtabdlg.cxx.
|
private |
|
private |
|
private |
|
private |
|
private |
|
static |
Definition at line 455 of file adtabdlg.cxx.
References dbaui::IAddTableDialogContext::allowQueries(), and DBA_RES.
Referenced by dbaui::OJoinController::GetState(), and OAddTableDlg().
|
private |
Definition at line 450 of file adtabdlg.cxx.
References dbaui::IAddTableDialogContext::allowAddition(), and m_rContext.
|
private |
Definition at line 376 of file adtabdlg.cxx.
References dbaui::IAddTableDialogContext::allowViews(), dbaui::IAddTableDialogContext::getConnection(), m_rContext, m_xCaseQueries, m_xCaseTables, m_xCurrentList, m_xQueryList, m_xTableList, Queries, and Tables.
Referenced by Update().
| void OAddTableDlg::OnClose | ( | ) |
Definition at line 445 of file adtabdlg.cxx.
References m_rContext, and dbaui::IAddTableDialogContext::onWindowClosing().
| void OAddTableDlg::Update | ( | ) |
Definition at line 397 of file adtabdlg.cxx.
References dbaui::IAddTableDialogContext::allowViews(), impl_switchTo(), m_rContext, m_xCurrentList, and Tables.
Referenced by dbaui::OQueryViewSwitch::forceInitialView(), and dbaui::OQueryViewSwitch::switchView().
|
private |
Definition at line 57 of file adtabdlg.hxx.
Referenced by impl_isAddAllowed(), impl_switchTo(), OAddTableDlg(), OnClose(), and Update().
|
private |
Definition at line 66 of file adtabdlg.hxx.
Referenced by OAddTableDlg().
|
private |
Definition at line 61 of file adtabdlg.hxx.
Referenced by impl_switchTo(), and OAddTableDlg().
|
private |
Definition at line 60 of file adtabdlg.hxx.
Referenced by impl_switchTo(), and OAddTableDlg().
|
private |
Definition at line 67 of file adtabdlg.hxx.
Referenced by OAddTableDlg().
|
private |
Definition at line 58 of file adtabdlg.hxx.
Referenced by impl_switchTo(), and Update().
|
private |
Definition at line 64 of file adtabdlg.hxx.
Referenced by impl_switchTo(), and OAddTableDlg().
|
private |
Definition at line 63 of file adtabdlg.hxx.
Referenced by impl_switchTo(), and OAddTableDlg().