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

#include <WTypeSelect.hxx>

Collaboration diagram for dbaui::OWizTypeSelectList:
[legend]

Public Member Functions

 OWizTypeSelectList (std::unique_ptr< weld::TreeView > xControl)
 
void SetPKey (bool bPKey)
 
weld::TreeViewGetWidget ()
 
OUString get_selected_id () const
 
void clear ()
 
void append (const OUString &rId, const OUString &rStr)
 
void set_image (int nRow, const OUString &rImage)
 
void set_selection_mode (SelectionMode eMode)
 
int count_selected_rows () const
 
void select (int pos)
 
void connect_changed (const Link< weld::TreeView &, void > &rLink)
 

Private Member Functions

bool IsPrimaryKeyAllowed () const
 
void setPrimaryKey (OFieldDescription *_pFieldDescr, sal_uInt16 _nPos, bool _bSet=false)
 
 DECL_LINK (CommandHdl, const CommandEvent &, bool)
 

Private Attributes

std::unique_ptr< weld::TreeViewm_xControl
 
bool m_bPKey
 
Link< weld::TreeView &, void > m_aChangeHdl
 

Detailed Description

Definition at line 57 of file WTypeSelect.hxx.

Constructor & Destructor Documentation

◆ OWizTypeSelectList()

OWizTypeSelectList::OWizTypeSelectList ( std::unique_ptr< weld::TreeView xControl)

Definition at line 325 of file WTypeSelect.cxx.

References LINK, m_xControl, and m_xControl.

Member Function Documentation

◆ append()

void dbaui::OWizTypeSelectList::append ( const OUString &  rId,
const OUString &  rStr 
)
inline

Definition at line 76 of file WTypeSelect.hxx.

References m_xControl.

◆ clear()

void dbaui::OWizTypeSelectList::clear ( )
inline

Definition at line 75 of file WTypeSelect.hxx.

References m_xControl.

◆ connect_changed()

void dbaui::OWizTypeSelectList::connect_changed ( const Link< weld::TreeView &, void > &  rLink)
inline

Definition at line 87 of file WTypeSelect.hxx.

References m_aChangeHdl, and m_xControl.

◆ count_selected_rows()

int dbaui::OWizTypeSelectList::count_selected_rows ( ) const
inline

Definition at line 85 of file WTypeSelect.hxx.

References m_xControl.

◆ DECL_LINK()

dbaui::OWizTypeSelectList::DECL_LINK ( CommandHdl  ,
const CommandEvent ,
bool   
)
private

◆ get_selected_id()

OUString dbaui::OWizTypeSelectList::get_selected_id ( ) const
inline

Definition at line 74 of file WTypeSelect.hxx.

References m_xControl.

◆ GetWidget()

weld::TreeView * dbaui::OWizTypeSelectList::GetWidget ( )
inline

Definition at line 73 of file WTypeSelect.hxx.

References m_xControl.

◆ IsPrimaryKeyAllowed()

bool OWizTypeSelectList::IsPrimaryKeyAllowed ( ) const
private

Definition at line 332 of file WTypeSelect.cxx.

References dbaui::OFieldDescription::getTypeInfo(), m_bPKey, m_xControl, and nCount.

◆ select()

void dbaui::OWizTypeSelectList::select ( int  pos)
inline

Definition at line 86 of file WTypeSelect.hxx.

References m_xControl, and pos.

◆ set_image()

void dbaui::OWizTypeSelectList::set_image ( int  nRow,
const OUString &  rImage 
)
inline

Definition at line 80 of file WTypeSelect.hxx.

References m_xControl.

◆ set_selection_mode()

void dbaui::OWizTypeSelectList::set_selection_mode ( SelectionMode  eMode)
inline

Definition at line 84 of file WTypeSelect.hxx.

References eMode, and m_xControl.

◆ SetPKey()

void dbaui::OWizTypeSelectList::SetPKey ( bool  bPKey)
inline

Definition at line 72 of file WTypeSelect.hxx.

References m_bPKey.

◆ setPrimaryKey()

void OWizTypeSelectList::setPrimaryKey ( OFieldDescription _pFieldDescr,
sal_uInt16  _nPos,
bool  _bSet = false 
)
private

Member Data Documentation

◆ m_aChangeHdl

Link<weld::TreeView&, void> dbaui::OWizTypeSelectList::m_aChangeHdl
private

Definition at line 68 of file WTypeSelect.hxx.

Referenced by connect_changed().

◆ m_bPKey

bool dbaui::OWizTypeSelectList::m_bPKey
private

Definition at line 60 of file WTypeSelect.hxx.

Referenced by IsPrimaryKeyAllowed(), and SetPKey().

◆ m_xControl

std::unique_ptr<weld::TreeView> dbaui::OWizTypeSelectList::m_xControl
private

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