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

#include <paramdialog.hxx>

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

Public Member Functions

 OParameterDialog (weld::Window *_pParent, const css::uno::Reference< css::container::XIndexAccess > &_rParamContainer, const css::uno::Reference< css::sdbc::XConnection > &_rxConnection, const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
virtual ~OParameterDialog () override
 
const css::uno::Sequence< css::beans::PropertyValue > & getValues () 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 Member Functions

void Construct ()
 
 DECL_LINK (OnVisitedTimeout, Timer *, void)
 
 DECL_LINK (OnValueModified, weld::Entry &, void)
 
 DECL_LINK (OnEntryListBoxSelected, weld::TreeView &, void)
 
 DECL_LINK (OnButtonClicked, weld::Button &, void)
 
 DECL_LINK (OnValueLoseFocusHdl, weld::Widget &, void)
 
bool CheckValueForError ()
 
bool OnEntrySelected ()
 

Private Attributes

sal_Int32 m_nCurrentlySelected
 
css::uno::Reference< css::container::XIndexAccess > m_xParams
 
css::uno::Reference< css::sdbc::XConnection > m_xConnection
 
css::uno::Reference< css::util::XNumberFormatter > m_xFormatter
 
::dbtools::OPredicateInputController m_aPredicateInput
 
std::vector< VisitFlagsm_aVisitedParams
 
Timer m_aResetVisitFlag
 
css::uno::Sequence< css::beans::PropertyValue > m_aFinalValues
 
std::unique_ptr< weld::TreeViewm_xAllParams
 the final values as entered by the user More...
 
std::unique_ptr< weld::Entrym_xParam
 
std::unique_ptr< weld::Buttonm_xTravelNext
 
std::unique_ptr< weld::Buttonm_xOKBtn
 
std::unique_ptr< weld::Buttonm_xCancelBtn
 

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 Member Functions inherited from svxform::OParseContextClient
 OParseContextClient ()
 
virtual ~OParseContextClient ()
 
const OSystemParseContextgetParseContext () const
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 50 of file paramdialog.hxx.

Constructor & Destructor Documentation

◆ OParameterDialog()

dbaui::OParameterDialog::OParameterDialog ( weld::Window _pParent,
const css::uno::Reference< css::container::XIndexAccess > &  _rParamContainer,
const css::uno::Reference< css::sdbc::XConnection > &  _rxConnection,
const css::uno::Reference< css::uno::XComponentContext > &  rxContext 
)

◆ ~OParameterDialog()

dbaui::OParameterDialog::~OParameterDialog ( )
overridevirtual

Definition at line 106 of file paramdialog.cxx.

References Task::IsActive(), m_aResetVisitFlag, and Task::Stop().

Member Function Documentation

◆ CheckValueForError()

bool dbaui::OParameterDialog::CheckValueForError ( )
private

◆ Construct()

void dbaui::OParameterDialog::Construct ( )
private

◆ DECL_LINK() [1/5]

dbaui::OParameterDialog::DECL_LINK ( OnButtonClicked  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/5]

dbaui::OParameterDialog::DECL_LINK ( OnEntryListBoxSelected  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [3/5]

dbaui::OParameterDialog::DECL_LINK ( OnValueLoseFocusHdl  ,
weld::Widget ,
void   
)
private

◆ DECL_LINK() [4/5]

dbaui::OParameterDialog::DECL_LINK ( OnValueModified  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [5/5]

dbaui::OParameterDialog::DECL_LINK ( OnVisitedTimeout  ,
Timer ,
void   
)
private

◆ getValues()

const css::uno::Sequence< css::beans::PropertyValue > & dbaui::OParameterDialog::getValues ( ) const
inline

Definition at line 87 of file paramdialog.hxx.

References m_aFinalValues.

◆ OnEntrySelected()

bool dbaui::OParameterDialog::OnEntrySelected ( )
private

Member Data Documentation

◆ m_aFinalValues

css::uno::Sequence< css::beans::PropertyValue > dbaui::OParameterDialog::m_aFinalValues
private

Definition at line 70 of file paramdialog.hxx.

Referenced by getValues(), OnEntrySelected(), and OParameterDialog().

◆ m_aPredicateInput

::dbtools::OPredicateInputController dbaui::OParameterDialog::m_aPredicateInput
private

Definition at line 63 of file paramdialog.hxx.

Referenced by CheckValueForError().

◆ m_aResetVisitFlag

Timer dbaui::OParameterDialog::m_aResetVisitFlag
private

Definition at line 66 of file paramdialog.hxx.

Referenced by OnEntrySelected(), OParameterDialog(), and ~OParameterDialog().

◆ m_aVisitedParams

std::vector<VisitFlags> dbaui::OParameterDialog::m_aVisitedParams
private

Definition at line 65 of file paramdialog.hxx.

Referenced by CheckValueForError(), OnEntrySelected(), and OParameterDialog().

◆ m_nCurrentlySelected

sal_Int32 dbaui::OParameterDialog::m_nCurrentlySelected
private

Definition at line 54 of file paramdialog.hxx.

Referenced by CheckValueForError(), and OnEntrySelected().

◆ m_xAllParams

std::unique_ptr<weld::TreeView> dbaui::OParameterDialog::m_xAllParams
private

the final values as entered by the user

Definition at line 73 of file paramdialog.hxx.

Referenced by Construct(), OnEntrySelected(), and OParameterDialog().

◆ m_xCancelBtn

std::unique_ptr<weld::Button> dbaui::OParameterDialog::m_xCancelBtn
private

Definition at line 77 of file paramdialog.hxx.

Referenced by Construct().

◆ m_xConnection

css::uno::Reference< css::sdbc::XConnection > dbaui::OParameterDialog::m_xConnection
private

Definition at line 59 of file paramdialog.hxx.

Referenced by CheckValueForError(), and OParameterDialog().

◆ m_xFormatter

css::uno::Reference< css::util::XNumberFormatter > dbaui::OParameterDialog::m_xFormatter
private

Definition at line 61 of file paramdialog.hxx.

Referenced by CheckValueForError(), and OParameterDialog().

◆ m_xOKBtn

std::unique_ptr<weld::Button> dbaui::OParameterDialog::m_xOKBtn
private

Definition at line 76 of file paramdialog.hxx.

Referenced by CheckValueForError(), and Construct().

◆ m_xParam

std::unique_ptr<weld::Entry> dbaui::OParameterDialog::m_xParam
private

Definition at line 74 of file paramdialog.hxx.

Referenced by CheckValueForError(), Construct(), and OnEntrySelected().

◆ m_xParams

css::uno::Reference< css::container::XIndexAccess > dbaui::OParameterDialog::m_xParams
private

Definition at line 57 of file paramdialog.hxx.

Referenced by CheckValueForError(), and OParameterDialog().

◆ m_xTravelNext

std::unique_ptr<weld::Button> dbaui::OParameterDialog::m_xTravelNext
private

Definition at line 75 of file paramdialog.hxx.

Referenced by Construct().


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