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

Dialog to set such properties of a query as distinct values and limit It can be opened from Edit menu in Query Design View. More...

#include <QueryPropertiesDialog.hxx>

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

Public Member Functions

 QueryPropertiesDialog (weld::Window *pParent, const bool bDistinct, const sal_Int64 nLimit)
 
virtual ~QueryPropertiesDialog () override
 
bool getDistinct () const
 
sal_Int64 getLimit () const
 
- 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
 

Private Attributes

std::unique_ptr< weld::RadioButtonm_xRB_Distinct
 
std::unique_ptr< weld::RadioButtonm_xRB_NonDistinct
 
std::unique_ptr< weld::ComboBoxm_xLB_Limit
 

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

Dialog to set such properties of a query as distinct values and limit It can be opened from Edit menu in Query Design View.

Definition at line 21 of file QueryPropertiesDialog.hxx.

Constructor & Destructor Documentation

◆ QueryPropertiesDialog()

dbaui::QueryPropertiesDialog::QueryPropertiesDialog ( weld::Window pParent,
const bool  bDistinct,
const sal_Int64  nLimit 
)

Default values

Definition at line 17 of file QueryPropertiesDialog.cxx.

References a, DBA_RES, m_xLB_Limit, m_xRB_Distinct, m_xRB_NonDistinct, and nPos.

◆ ~QueryPropertiesDialog()

dbaui::QueryPropertiesDialog::~QueryPropertiesDialog ( )
overridevirtual

Definition at line 54 of file QueryPropertiesDialog.cxx.

Member Function Documentation

◆ getDistinct()

bool dbaui::QueryPropertiesDialog::getDistinct ( ) const
inline

Definition at line 29 of file QueryPropertiesDialog.hxx.

References m_xRB_Distinct.

Referenced by dbaui::OQueryController::execute_QueryPropDlg().

◆ getLimit()

sal_Int64 dbaui::QueryPropertiesDialog::getLimit ( ) const

Definition at line 46 of file QueryPropertiesDialog.cxx.

References m_xLB_Limit.

Referenced by dbaui::OQueryController::execute_QueryPropDlg().

Member Data Documentation

◆ m_xLB_Limit

std::unique_ptr<weld::ComboBox> dbaui::QueryPropertiesDialog::m_xLB_Limit
private

Definition at line 40 of file QueryPropertiesDialog.hxx.

Referenced by getLimit(), and QueryPropertiesDialog().

◆ m_xRB_Distinct

std::unique_ptr<weld::RadioButton> dbaui::QueryPropertiesDialog::m_xRB_Distinct
private

Definition at line 38 of file QueryPropertiesDialog.hxx.

Referenced by getDistinct(), and QueryPropertiesDialog().

◆ m_xRB_NonDistinct

std::unique_ptr<weld::RadioButton> dbaui::QueryPropertiesDialog::m_xRB_NonDistinct
private

Definition at line 39 of file QueryPropertiesDialog.hxx.

Referenced by QueryPropertiesDialog().


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