LibreOffice Module dbaccess (master) 1
|
#include <queryorder.hxx>
Public Member Functions | |
DlgOrderCrit (weld::Window *pParent, const css::uno::Reference< css::sdbc::XConnection > &_rxConnection, const css::uno::Reference< css::sdb::XSingleSelectQueryComposer > &_rxComposer, const css::uno::Reference< css::container::XNameAccess > &_rxCols) | |
virtual | ~DlgOrderCrit () override |
void | BuildOrderPart () |
OUString | GetOrderList () const |
const OUString & | GetOriginalOrder () const |
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 |
Private Member Functions | |
DECL_LINK (FieldListSelectHdl, weld::ComboBox &, void) | |
void | EnableLines () |
void | impl_initializeOrderList_nothrow () |
Private Attributes | |
OUString | m_sOrgOrder |
css::uno::Reference< css::sdb::XSingleSelectQueryComposer > | m_xQueryComposer |
css::uno::Reference< css::container::XNameAccess > | m_xColumns |
css::uno::Reference< css::sdbc::XConnection > | m_xConnection |
weld::ComboBox * | m_aColumnList [DOG_ROWS] |
weld::ComboBox * | m_aValueList [DOG_ROWS] |
std::unique_ptr< weld::ComboBox > | m_xLB_ORDERFIELD1 |
std::unique_ptr< weld::ComboBox > | m_xLB_ORDERVALUE1 |
std::unique_ptr< weld::ComboBox > | m_xLB_ORDERFIELD2 |
std::unique_ptr< weld::ComboBox > | m_xLB_ORDERVALUE2 |
std::unique_ptr< weld::ComboBox > | m_xLB_ORDERFIELD3 |
std::unique_ptr< weld::ComboBox > | m_xLB_ORDERVALUE3 |
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 43 of file queryorder.hxx.
DlgOrderCrit::DlgOrderCrit | ( | weld::Window * | pParent, |
const css::uno::Reference< css::sdbc::XConnection > & | _rxConnection, | ||
const css::uno::Reference< css::sdb::XSingleSelectQueryComposer > & | _rxComposer, | ||
const css::uno::Reference< css::container::XNameAccess > & | _rxCols | ||
) |
Definition at line 43 of file queryorder.cxx.
References DBA_RES, DBG_UNHANDLED_EXCEPTION, DOG_ROWS, EnableLines(), Exception, dbtools::getSearchColumnFlag(), impl_initializeOrderList_nothrow(), LINK, m_aColumnList, m_aValueList, m_sOrgOrder, m_xColumns, m_xConnection, m_xLB_ORDERFIELD1, m_xLB_ORDERFIELD2, m_xLB_ORDERFIELD3, m_xLB_ORDERVALUE1, m_xLB_ORDERVALUE2, m_xLB_ORDERVALUE3, m_xQueryComposer, nDataType, PROPERTY_TYPE(), weld::ComboBox::set_active(), and xColumn.
|
overridevirtual |
Definition at line 116 of file queryorder.cxx.
void DlgOrderCrit::BuildOrderPart | ( | ) |
Definition at line 213 of file queryorder.cxx.
References GetOrderList(), and m_xQueryComposer.
Referenced by dbaui::SbaXDataBrowserController::ExecuteFilterSortCrit().
|
private |
|
private |
Definition at line 157 of file queryorder.cxx.
References m_xLB_ORDERFIELD1, m_xLB_ORDERFIELD2, m_xLB_ORDERFIELD3, m_xLB_ORDERVALUE2, and m_xLB_ORDERVALUE3.
Referenced by DlgOrderCrit().
OUString DlgOrderCrit::GetOrderList | ( | ) | const |
Definition at line 189 of file queryorder.cxx.
References DOG_ROWS, weld::ComboBox::get_active_text(), i, m_aColumnList, m_aValueList, m_xConnection, sName, and sQuote.
Referenced by BuildOrderPart().
|
inline |
Definition at line 74 of file queryorder.hxx.
References m_sOrgOrder.
Referenced by dbaui::RowsetOrderDialog::executedDialog().
|
private |
Definition at line 125 of file queryorder.cxx.
References DBG_UNHANDLED_EXCEPTION, DOG_ROWS, Exception, i, m_aColumnList, m_aValueList, m_xQueryComposer, weld::ComboBox::set_active(), weld::ComboBox::set_active_text(), u, and xColumn.
Referenced by DlgOrderCrit().
|
private |
Definition at line 51 of file queryorder.hxx.
Referenced by DlgOrderCrit(), GetOrderList(), and impl_initializeOrderList_nothrow().
|
private |
Definition at line 52 of file queryorder.hxx.
Referenced by DlgOrderCrit(), GetOrderList(), and impl_initializeOrderList_nothrow().
|
private |
Definition at line 45 of file queryorder.hxx.
Referenced by DlgOrderCrit(), and GetOriginalOrder().
|
private |
Definition at line 48 of file queryorder.hxx.
Referenced by DlgOrderCrit().
|
private |
Definition at line 49 of file queryorder.hxx.
Referenced by DlgOrderCrit(), and GetOrderList().
|
private |
Definition at line 54 of file queryorder.hxx.
Referenced by DlgOrderCrit(), and EnableLines().
|
private |
Definition at line 56 of file queryorder.hxx.
Referenced by DlgOrderCrit(), and EnableLines().
|
private |
Definition at line 58 of file queryorder.hxx.
Referenced by DlgOrderCrit(), and EnableLines().
|
private |
Definition at line 55 of file queryorder.hxx.
Referenced by DlgOrderCrit().
|
private |
Definition at line 57 of file queryorder.hxx.
Referenced by DlgOrderCrit(), and EnableLines().
|
private |
Definition at line 59 of file queryorder.hxx.
Referenced by DlgOrderCrit(), and EnableLines().
|
private |
Definition at line 47 of file queryorder.hxx.
Referenced by BuildOrderPart(), DlgOrderCrit(), and impl_initializeOrderList_nothrow().