22#include <com/sun/star/container/XNameAccess.hpp>
23#include <com/sun/star/sdbc/XConnection.hpp>
24#include <com/sun/star/uno/Sequence.hxx>
25#include <com/sun/star/uno/XComponentContext.hpp>
32 class IndexFieldsControl;
33 class OIndexCollection;
44 css::uno::Reference< css::uno::XComponentContext >
62 const css::uno::Sequence< OUString >& _rFieldNames,
63 const css::uno::Reference< css::container::XNameAccess >& _rxIndexes,
64 const css::uno::Reference< css::sdbc::XConnection >& _rxConnection,
65 const css::uno::Reference< css::uno::XComponentContext >& _rxContext);
68 typedef std::pair<const weld::TreeIter&, OUString>
IterString;
std::unique_ptr< weld::Container > m_xTable
DECL_LINK(OnModifiedClick, weld::Toggleable &, void)
css::uno::Reference< css::uno::XComponentContext > m_xContext
css::uno::Reference< css::awt::XWindow > m_xTableCtrlParent
std::unique_ptr< OIndexCollection > m_xIndexes
virtual ~DbaIndexDialog() override
bool implCommitPreviouslySelected()
std::unique_ptr< weld::Label > m_xDescription
css::uno::Reference< css::sdbc::XConnection > m_xConnection
std::unique_ptr< weld::Label > m_xDescriptionLabel
DECL_LINK(OnCloseDialog, weld::Button &, void)
DECL_LINK(OnIndexAction, const OUString &, void)
DECL_LINK(OnEditIndexAgain, void *, void)
DECL_LINK(OnIndexSelected, weld::TreeView &, void)
std::unique_ptr< weld::Toolbar > m_xActions
std::pair< const weld::TreeIter &, OUString > IterString
std::unique_ptr< weld::Button > m_xClose
void updateControls(const weld::TreeIter *pEntry)
DbaIndexDialog(weld::Window *_pParent, const css::uno::Sequence< OUString > &_rFieldNames, const css::uno::Reference< css::container::XNameAccess > &_rxIndexes, const css::uno::Reference< css::sdbc::XConnection > &_rxConnection, const css::uno::Reference< css::uno::XComponentContext > &_rxContext)
DECL_LINK(OnEntryEdited, const IterString &, bool)
DECL_LINK(OnEntryEditing, const weld::TreeIter &, bool)
std::unique_ptr< weld::Label > m_xIndexDetails
bool implDropIndex(const weld::TreeIter *pEntry, bool _bRemoveFromCollection)
std::unique_ptr< weld::TreeIter > m_xPreviousSelection
std::unique_ptr< weld::TreeView > m_xIndexList
void OnDropIndex(bool _bConfirm=true)
bool implSaveModified(bool _bPlausibility=true)
VclPtr< IndexFieldsControl > m_xFields
std::unique_ptr< weld::CheckButton > m_xUnique
DECL_LINK(OnModified, IndexFieldsControl &, void)
bool implCheckPlausibility(const Indexes::const_iterator &_rPos)
bool implCommit(const weld::TreeIter *pEntry)
std::unique_ptr< weld::Label > m_xFieldsLabel