|
LibreOffice Module dbaccess (master) 1
|
#include <curledit.hxx>
Public Member Functions | |
| OConnectionURLEdit (std::unique_ptr< weld::Entry > xEntry, std::unique_ptr< weld::Label > xForcedPrefix) | |
| ~OConnectionURLEdit () | |
| bool | get_visible () const |
| void | connect_changed (const Link< weld::Entry &, void > &rLink) |
| void | set_help_id (const OUString &rName) |
| void | hide () |
| void | show () |
| void | save_value () |
| bool | get_value_changed_from_saved () const |
| void | grab_focus () |
| void | set_sensitive (bool bSensitive) |
| void | connect_focus_in (const Link< weld::Widget &, void > &rLink) |
| void | connect_focus_out (const Link< weld::Widget &, void > &rLink) |
| void | SetText (const OUString &_rStr) |
| void | SetText (const OUString &_rStr, const Selection &_rNewSelection) |
| OUString | GetText () const |
| void | ShowPrefix (bool _bShowPrefix) |
| Shows the Prefix. More... | |
| OUString | GetTextNoPrefix () const |
| get the currently set text, excluding the prefix indicating the type More... | |
| void | SetTextNoPrefix (const OUString &_rText) |
| set a new text, leave the current prefix unchanged More... | |
| void | SaveValueNoPrefix () |
| const OUString & | GetSavedValueNoPrefix () const |
| void | SetTypeCollection (::dbaccess::ODsnTypeCollection *_pTypeCollection) |
Private Attributes | |
| OUString | m_sSavedValue |
| ::dbaccess::ODsnTypeCollection * | m_pTypeCollection |
| OUString | m_sSaveValueNoPrefix |
| bool | m_bShowPrefix |
| std::unique_ptr< weld::Entry > | m_xEntry |
| std::unique_ptr< weld::Label > | m_xForcedPrefix |
Definition at line 28 of file curledit.hxx.
| dbaui::OConnectionURLEdit::OConnectionURLEdit | ( | std::unique_ptr< weld::Entry > | xEntry, |
| std::unique_ptr< weld::Label > | xForcedPrefix | ||
| ) |
Definition at line 25 of file curledit.cxx.
| dbaui::OConnectionURLEdit::~OConnectionURLEdit | ( | ) |
Definition at line 33 of file curledit.cxx.
|
inline |
Definition at line 45 of file curledit.hxx.
References m_xEntry.
|
inline |
Definition at line 71 of file curledit.hxx.
References m_xEntry.
|
inline |
Definition at line 75 of file curledit.hxx.
References m_xEntry.
|
inline |
Definition at line 60 of file curledit.hxx.
References GetText(), and m_sSavedValue.
Referenced by dbaui::OGenericAdministrationPage::fillString().
|
inline |
Definition at line 44 of file curledit.hxx.
References m_xEntry.
|
inline |
Definition at line 96 of file curledit.hxx.
References m_sSaveValueNoPrefix.
| OUString dbaui::OConnectionURLEdit::GetText | ( | ) | const |
Definition at line 76 of file curledit.cxx.
References m_xEntry, and m_xForcedPrefix.
Referenced by dbaui::OGenericAdministrationPage::fillString(), get_value_changed_from_saved(), and save_value().
| OUString dbaui::OConnectionURLEdit::GetTextNoPrefix | ( | ) | const |
get the currently set text, excluding the prefix indicating the type
Definition at line 42 of file curledit.cxx.
References m_xEntry.
Referenced by SaveValueNoPrefix().
|
inline |
Definition at line 61 of file curledit.hxx.
References m_xEntry.
|
inline |
Definition at line 47 of file curledit.hxx.
References m_bShowPrefix, m_xEntry, and m_xForcedPrefix.
|
inline |
Definition at line 59 of file curledit.hxx.
References GetText(), and m_sSavedValue.
|
inline |
Definition at line 95 of file curledit.hxx.
References GetTextNoPrefix(), and m_sSaveValueNoPrefix.
|
inline |
Definition at line 46 of file curledit.hxx.
References m_xEntry.
|
inline |
Definition at line 65 of file curledit.hxx.
References m_bShowPrefix, m_xEntry, and m_xForcedPrefix.
| void dbaui::OConnectionURLEdit::SetText | ( | const OUString & | _rStr | ) |
| void dbaui::OConnectionURLEdit::SetText | ( | const OUString & | _rStr, |
| const Selection & | _rNewSelection | ||
| ) |
Definition at line 53 of file curledit.cxx.
References dbaccess::ODsnTypeCollection::cutPrefix(), dbaccess::ODsnTypeCollection::getPrefix(), m_bShowPrefix, m_pTypeCollection, m_xEntry, m_xForcedPrefix, and sPrefix.
| void dbaui::OConnectionURLEdit::SetTextNoPrefix | ( | const OUString & | _rText | ) |
set a new text, leave the current prefix unchanged
Definition at line 37 of file curledit.cxx.
References m_xEntry.
|
inline |
Definition at line 97 of file curledit.hxx.
References m_pTypeCollection.
|
inline |
Definition at line 53 of file curledit.hxx.
References m_bShowPrefix, m_xEntry, and m_xForcedPrefix.
| void dbaui::OConnectionURLEdit::ShowPrefix | ( | bool | _bShowPrefix | ) |
Shows the Prefix.
| _bShowPrefix | If <TRUE> than the prefix will be visible, otherwise not. |
Definition at line 81 of file curledit.cxx.
References m_bShowPrefix, and m_xForcedPrefix.
|
private |
Definition at line 34 of file curledit.hxx.
Referenced by hide(), set_sensitive(), SetText(), show(), and ShowPrefix().
|
private |
Definition at line 32 of file curledit.hxx.
Referenced by SetText(), and SetTypeCollection().
|
private |
Definition at line 30 of file curledit.hxx.
Referenced by get_value_changed_from_saved(), and save_value().
|
private |
Definition at line 33 of file curledit.hxx.
Referenced by GetSavedValueNoPrefix(), and SaveValueNoPrefix().
|
private |
Definition at line 36 of file curledit.hxx.
Referenced by connect_changed(), connect_focus_in(), connect_focus_out(), get_visible(), GetText(), GetTextNoPrefix(), grab_focus(), hide(), set_help_id(), set_sensitive(), SetText(), SetTextNoPrefix(), and show().
|
private |
Definition at line 37 of file curledit.hxx.
Referenced by GetText(), hide(), set_sensitive(), SetText(), show(), and ShowPrefix().