LibreOffice Module vcl (master) 1
|
Creates a hierarchy of vcl::Windows (widgets) from a .ui file for dialogs, sidebar, etc. More...
#include <builder.hxx>
Classes | |
struct | ButtonImageWidgetMap |
struct | ComboBoxModelMap |
struct | ListStore |
struct | MenuAndId |
struct | PackingData |
struct | ParserState |
struct | SizeGroup |
class | sortIntoBestTabTraversalOrder |
struct | StringPair |
struct | UStringPair |
struct | WinAndId |
Public Types | |
typedef std::map< OUString, OUString > | stringmap |
typedef std::map< OUString, std::pair< OUString, OUString > > | accelmap |
typedef void(* | customMakeWidget) (VclPtr< vcl::Window > &rRet, const VclPtr< vcl::Window > &pParent, stringmap &rVec) |
These functions create a new widget with parent pParent and return it in rRet. More... | |
Public Member Functions | |
VclBuilder (vcl::Window *pParent, const OUString &sUIRootDir, const OUString &sUIFile, OUString sID={}, css::uno::Reference< css::frame::XFrame > xFrame=css::uno::Reference< css::frame::XFrame >(), bool bLegacy=true, const NotebookBarAddonsItem *pNotebookBarAddonsItem=nullptr) | |
~VclBuilder () | |
void | disposeBuilder () |
releases references and disposes all children. More... | |
template<typename T > | |
T * | get (VclPtr< T > &ret, const OUString &sID) |
template<typename T = vcl::Window> | |
T * | get (const OUString &sID) |
vcl::Window * | get_widget_root () |
PopupMenu * | get_menu (std::u16string_view sID) |
void | drop_ownership (const vcl::Window *pWindow) |
void | setDeferredProperties () |
const OUString & | getUIFile () const |
return UI-File name (without '.ui') More... | |
Static Public Member Functions | |
static SymbolType | mapStockToSymbol (std::u16string_view icon_name) |
Private Types | |
typedef StringPair | RadioButtonGroupMap |
typedef UStringPair | TextBufferMap |
typedef UStringPair | WidgetAdjustmentMap |
typedef UStringPair | ButtonMenuMap |
typedef UStringPair | MnemonicWidgetMap |
typedef stringmap | TextBuffer |
typedef stringmap | Adjustment |
typedef std::map< OUString, int > | ImageSizeMap |
Private Member Functions | |
VclBuilder (const VclBuilder &)=delete | |
VclBuilder & | operator= (const VclBuilder &)=delete |
const ListStore * | get_model_by_name (const OUString &sID) const |
void | mungeModel (ListBox &rTarget, const ListStore &rStore, sal_uInt16 nActiveId) |
void | mungeModel (ComboBox &rTarget, const ListStore &rStore, sal_uInt16 nActiveId) |
void | mungeModel (SvTabListBox &rTarget, const ListStore &rStore, sal_uInt16 nActiveId) |
const TextBuffer * | get_buffer_by_name (const OUString &sID) const |
const Adjustment * | get_adjustment_by_name (const OUString &sID) const |
vcl::Window * | get_by_name (std::u16string_view sID) |
void | delete_by_name (const OUString &sID) |
VclPtr< vcl::Window > | insertObject (vcl::Window *pParent, const OUString &rClass, const OUString &rID, stringmap &rProps, stringmap &rPangoAttributes, stringmap &rAtkProps) |
VclPtr< vcl::Window > | makeObject (vcl::Window *pParent, const OUString &rClass, const OUString &rID, stringmap &rVec) |
void | connectNumericFormatterAdjustment (const OUString &id, const OUString &rAdjustment) |
void | connectFormattedFormatterAdjustment (const OUString &id, const OUString &rAdjustment) |
void | extractGroup (const OUString &id, stringmap &rVec) |
void | extractModel (const OUString &id, stringmap &rVec) |
void | extractBuffer (const OUString &id, stringmap &rVec) |
void | extractButtonImage (const OUString &id, stringmap &rMap, bool bRadio) |
void | extractMnemonicWidget (const OUString &id, stringmap &rMap) |
void | handleChild (vcl::Window *pParent, stringmap *pAtkProps, xmlreader::XmlReader &reader) |
VclPtr< vcl::Window > | handleObject (vcl::Window *pParent, stringmap *pAtkProps, xmlreader::XmlReader &reader) |
void | handlePacking (vcl::Window *pCurrent, vcl::Window *pParent, xmlreader::XmlReader &reader) |
void | applyPackingProperty (vcl::Window *pCurrent, vcl::Window *pParent, xmlreader::XmlReader &reader) |
void | collectProperty (xmlreader::XmlReader &reader, stringmap &rVec) const |
void | insertMenuObject (Menu *pParent, PopupMenu *pSubMenu, const OUString &rClass, const OUString &rID, stringmap &rProps, stringmap &rAtkProps, accelmap &rAccels) |
void | handleMenuChild (Menu *pParent, xmlreader::XmlReader &reader) |
void | handleMenuObject (Menu *pParent, xmlreader::XmlReader &reader) |
void | handleListStore (xmlreader::XmlReader &reader, const OUString &rID, std::u16string_view rClass) |
void | handleRow (xmlreader::XmlReader &reader, const OUString &rID) |
void | handleTabChild (vcl::Window *pParent, xmlreader::XmlReader &reader) |
VclPtr< Menu > | handleMenu (xmlreader::XmlReader &reader, const OUString &rID, bool bMenuBar) |
std::vector< ComboBoxTextItem > | handleItems (xmlreader::XmlReader &reader) const |
void | handleSizeGroup (xmlreader::XmlReader &reader) |
stringmap | handleAtkObject (xmlreader::XmlReader &reader) const |
void | handleActionWidget (xmlreader::XmlReader &reader) |
PackingData | get_window_packing_data (const vcl::Window *pWindow) const |
void | set_window_packing_position (const vcl::Window *pWindow, sal_Int32 nPosition) |
void | cleanupWidgetOwnScrolling (vcl::Window *pScrollParent, vcl::Window *pWindow, stringmap &rMap) |
void | set_response (std::u16string_view sID, short nResponse) |
OUString | get_by_window (const vcl::Window *pWindow) const |
void | delete_by_window (vcl::Window *pWindow) |
Private Attributes | |
std::vector< std::unique_ptr< OUString > > | m_aUserData |
stringmap | m_aDeferredProperties |
std::unique_ptr< NotebookBarAddonsItem > | m_pNotebookBarAddonsItem |
std::vector< WinAndId > | m_aChildren |
std::vector< MenuAndId > | m_aMenus |
OUString | m_sID |
OUString | m_sHelpRoot |
ResHookProc | m_pStringReplace |
VclPtr< vcl::Window > | m_pParent |
bool | m_bToplevelHasDeferredInit |
bool | m_bToplevelHasDeferredProperties |
bool | m_bToplevelParentFound |
bool | m_bLegacy |
std::unique_ptr< ParserState > | m_pParserState |
css::uno::Reference< css::frame::XFrame > | m_xFrame |
XFrame to be able to extract labels and other properties of the UNO commands (like of .uno:Bold). More... | |
Creates a hierarchy of vcl::Windows (widgets) from a .ui file for dialogs, sidebar, etc.
Definition at line 68 of file builder.hxx.
typedef std::map<OUString, std::pair<OUString, OUString> > VclBuilder::accelmap |
Definition at line 72 of file builder.hxx.
|
private |
Definition at line 234 of file builder.hxx.
|
private |
Definition at line 202 of file builder.hxx.
typedef void(* VclBuilder::customMakeWidget) (VclPtr< vcl::Window > &rRet, const VclPtr< vcl::Window > &pParent, stringmap &rVec) |
These functions create a new widget with parent pParent and return it in rRet.
Definition at line 74 of file builder.hxx.
|
private |
Definition at line 242 of file builder.hxx.
|
private |
Definition at line 203 of file builder.hxx.
|
private |
Definition at line 185 of file builder.hxx.
typedef std::map<OUString, OUString> VclBuilder::stringmap |
Definition at line 71 of file builder.hxx.
|
private |
Definition at line 229 of file builder.hxx.
|
private |
Definition at line 200 of file builder.hxx.
|
private |
Definition at line 201 of file builder.hxx.
VclBuilder::VclBuilder | ( | vcl::Window * | pParent, |
const OUString & | sUIRootDir, | ||
const OUString & | sUIFile, | ||
OUString | sID = {} , |
||
css::uno::Reference< css::frame::XFrame > | xFrame = css::uno::Reference<css::frame::XFrame>() , |
||
bool | bLegacy = true , |
||
const NotebookBarAddonsItem * | pNotebookBarAddonsItem = nullptr |
||
) |
Definition at line 446 of file builder.cxx.
References vcl::Window::add_to_size_group(), CrashReporter::addKeyValue(), Size::AdjustHeight(), Size::AdjustWidth(), DBG_UNHANDLED_EXCEPTION, delete_by_name(), delete_by_window(), DONTKNOW, psp::eSymbol, FIXEDTEXT, get(), get_adjustment_by_name(), get_buffer_by_name(), get_by_name(), vcl::Window::get_height_request(), get_menu(), get_model_by_name(), vcl::Window::get_width_request(), vcl::Window::GetControlFont(), FixedImage::GetImage(), Control::GetOptimalSize(), GetReadStringHook(), BuilderUtils::getRoleFromName(), Image::GetSizePixel(), Image::GetStock(), vcl::Window::GetStyle(), vcl::Window::GetText(), vcl::Window::GetType(), vcl::Window::GetWindow(), RadioButton::group(), handleChild(), Size::Height(), IMAGE, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), comphelper::LibreOfficeKit::isActive(), vcl::Window::IsControlFont(), vcl::Window::IsDialog(), vcl::Window::IsDockingWindow(), vcl::Window::IsSystemWindow(), LastChild, m_aChildren, m_bLegacy, m_bToplevelHasDeferredInit, m_bToplevelHasDeferredProperties, m_bToplevelParentFound, m_pParent, m_pParserState, m_sHelpRoot, m_sID, m_xFrame, RadioButton::m_xGroup, mapStockToSymbol(), mungeAdjustment(), mungeModel(), mungeTextBuffer(), SAL_WARN, SAL_WARN_IF, vcl::Window::set_height_request(), FixedText::set_mnemonic_widget(), vcl::Window::set_width_request(), vcl::Window::SetAccessibleRelationLabeledBy(), vcl::Window::SetAccessibleRelationLabelFor(), vcl::Window::SetAccessibleRole(), vcl::Window::SetControlFont(), Button::SetModeImage(), RadioButton::SetModeRadioImage(), MenuButton::SetPopupMenu(), Button::SetSmallSymbol(), vcl::Window::SetStyle(), PushButton::SetSymbol(), WB_DEFBUTTON, WB_SMALLSTYLE, Size::Width(), CrashReporter::Write, and xFrame.
VclBuilder::~VclBuilder | ( | ) |
Definition at line 803 of file builder.cxx.
References disposeBuilder().
|
privatedelete |
|
staticprivate |
Definition at line 3090 of file builder.cxx.
References SAL_WARN, and vcl::Window::set_property().
Referenced by handleObject().
|
private |
Definition at line 3748 of file builder.cxx.
References End, xmlreader::XmlReader::getAttributeValue(), vcl::Window::GetType(), m_pParserState, name, xmlreader::XmlReader::nextAttribute(), xmlreader::XmlReader::nextItem(), SAL_WARN_IF, SCROLLWINDOW, vcl::Window::set_expand(), vcl::Window::set_fill(), vcl::Window::set_grid_height(), vcl::Window::set_grid_left_attach(), vcl::Window::set_grid_top_attach(), vcl::Window::set_grid_width(), vcl::Window::set_non_homogeneous(), vcl::Window::set_pack_type(), vcl::Window::set_padding(), vcl::Window::set_secondary(), set_window_packing_position(), ToolBox::SetItemExpand(), Start, and toBool().
Referenced by handlePacking().
|
private |
Definition at line 1409 of file builder.cxx.
References vcl::Window::get_height_request(), vcl::Window::get_width_request(), and m_pParserState.
Referenced by makeObject().
|
staticprivate |
Definition at line 3993 of file builder.cxx.
References xmlreader::XmlReader::getAttributeValue(), name, and xmlreader::XmlReader::nextAttribute().
Referenced by handleMenuObject().
|
staticprivate |
Definition at line 2892 of file builder.cxx.
References xmlreader::Span::begin, xmlreader::XmlReader::getAttributeValue(), xmlreader::Span::length, and xmlreader::XmlReader::nextAttribute().
Referenced by handleObject().
|
staticprivate |
Definition at line 2921 of file builder.cxx.
References xmlreader::Span::begin, xmlreader::XmlReader::getAttributeValue(), xmlreader::Span::length, and xmlreader::XmlReader::nextAttribute().
Referenced by handleObject().
|
staticprivate |
Definition at line 2866 of file builder.cxx.
References xmlreader::Span::begin, xmlreader::XmlReader::getAttributeValue(), xmlreader::Span::length, and xmlreader::XmlReader::nextAttribute().
Referenced by handleObject().
|
private |
Definition at line 3922 of file builder.cxx.
References Translate::get(), xmlreader::XmlReader::getAttributeValue(), m_pParserState, m_pStringReplace, name, xmlreader::XmlReader::nextAttribute(), and xmlreader::XmlReader::nextItem().
Referenced by handleAtkObject(), handleMenu(), handleMenuObject(), handleObject(), handleSizeGroup(), and handleTabChild().
|
private |
|
private |
Definition at line 1261 of file builder.cxx.
References m_pParserState.
|
private |
|
private |
Definition at line 4108 of file builder.cxx.
References VclReferenceBase::disposeOnce(), and drop_ownership().
Referenced by VclBuilder().
void VclBuilder::disposeBuilder | ( | ) |
releases references and disposes all children.
Definition at line 808 of file builder.cxx.
References VclPtr< reference_type >::clear(), m_aChildren, m_aMenus, and m_pParent.
Referenced by ~VclBuilder().
void VclBuilder::drop_ownership | ( | const vcl::Window * | pWindow | ) |
Definition at line 4114 of file builder.cxx.
References m_aChildren.
Referenced by delete_by_window().
|
staticprivate |
Definition at line 1273 of file builder.cxx.
Referenced by makeObject().
|
private |
|
private |
|
private |
|
private |
|
private |
|
inline |
Definition at line 435 of file builder.hxx.
References get_by_name(), name, SAL_WARN_IF, and w.
|
inline |
Definition at line 421 of file builder.hxx.
References VclPtr< reference_type >::get(), get_by_name(), name, SAL_WARN_IF, and w.
Referenced by VclBuilder().
|
private |
|
private |
|
private |
Definition at line 4032 of file builder.cxx.
References m_aChildren.
Referenced by get(), and VclBuilder().
|
private |
PopupMenu * VclBuilder::get_menu | ( | std::u16string_view | sID | ) |
|
private |
vcl::Window * VclBuilder::get_widget_root | ( | ) |
Definition at line 4027 of file builder.cxx.
References m_aChildren.
|
private |
Definition at line 4133 of file builder.cxx.
References vcl::Window::ImplGetWindow(), and m_aChildren.
Referenced by VclBuilder::sortIntoBestTabTraversalOrder::operator()().
Definition at line 1358 of file builder.cxx.
Referenced by makeObject().
|
staticprivate |
Definition at line 3904 of file builder.cxx.
References xmlreader::XmlReader::getAttributeValue(), name, and xmlreader::XmlReader::nextAttribute().
Referenced by handleStyle().
|
inline |
return UI-File name (without '.ui')
Definition at line 107 of file builder.hxx.
|
private |
Definition at line 3969 of file builder.cxx.
References xmlreader::XmlReader::getAttributeValue(), name, xmlreader::XmlReader::nextAttribute(), xmlreader::XmlReader::nextItem(), and set_response().
Referenced by handleObject().
|
private |
Definition at line 3054 of file builder.cxx.
References aProperties, collectProperty(), name, and xmlreader::XmlReader::nextItem().
Referenced by handleObject().
|
private |
Definition at line 2729 of file builder.cxx.
References Translate::Create(), FirstChild, VclPtr< reference_type >::get(), xmlreader::XmlReader::getAttributeValue(), TabControl::GetPageId(), vcl::Window::GetParent(), vcl::Window::GetType(), vcl::Window::GetWindow(), handleObject(), handlePacking(), handleTabChild(), m_pParserState, name, Next, xmlreader::XmlReader::nextAttribute(), xmlreader::XmlReader::nextItem(), BuilderUtils::reorderWithinParent(), TabControl::SetCurPageId(), vcl::Window::Show(), sType, and TABCONTROL.
Referenced by handleMenuObject(), handleObject(), handleTabChild(), and VclBuilder().
|
private |
Definition at line 3102 of file builder.cxx.
References Translate::get(), xmlreader::XmlReader::getAttributeValue(), m_pParserState, m_pStringReplace, name, xmlreader::XmlReader::nextAttribute(), xmlreader::XmlReader::nextItem(), and sId.
Referenced by handleObject().
|
private |
Definition at line 3016 of file builder.cxx.
References handleRow(), name, xmlreader::XmlReader::nextItem(), and u.
Referenced by handleObject().
|
private |
Definition at line 3177 of file builder.cxx.
References aProperties, collectProperty(), VclPtr< reference_type >::Create(), handleMenuChild(), m_aMenus, name, xmlreader::XmlReader::nextItem(), and Menu::set_id().
Referenced by handleObject().
|
private |
Definition at line 3230 of file builder.cxx.
References handleMenuObject(), name, and xmlreader::XmlReader::nextItem().
Referenced by handleMenu().
|
private |
Definition at line 3262 of file builder.cxx.
References aProperties, collectAccelerator(), collectProperty(), xmlreader::XmlReader::getAttributeValue(), handleChild(), insertMenuObject(), m_aMenus, m_bLegacy, name, xmlreader::XmlReader::nextAttribute(), and xmlreader::XmlReader::nextItem().
Referenced by handleMenuChild().
|
private |
Definition at line 3548 of file builder.cxx.
References applyAtkProperties(), aProperties, collectAtkRelationAttribute(), collectAtkRoleAttribute(), collectPangoAttribute(), collectProperty(), VclPtr< reference_type >::get(), xmlreader::XmlReader::getAttributeValue(), vcl::Window::GetSystemWindow(), handleActionWidget(), handleAtkObject(), handleChild(), handleItems(), handleListStore(), handleMenu(), handleSizeGroup(), handleStyle(), insertObject(), m_aUserData, m_bLegacy, m_pParserState, name, xmlreader::XmlReader::nextAttribute(), xmlreader::XmlReader::nextItem(), and SAL_WARN_IF.
Referenced by handleChild().
|
private |
Definition at line 3716 of file builder.cxx.
References applyPackingProperty(), name, and xmlreader::XmlReader::nextItem().
Referenced by handleChild().
|
private |
Definition at line 2941 of file builder.cxx.
References Translate::get(), xmlreader::XmlReader::getAttributeValue(), m_pParserState, name, xmlreader::XmlReader::nextAttribute(), xmlreader::XmlReader::nextItem(), and nId.
Referenced by handleListStore().
|
private |
Definition at line 3344 of file builder.cxx.
References collectProperty(), xmlreader::XmlReader::getAttributeValue(), VclBuilder::SizeGroup::m_aProperties, VclBuilder::SizeGroup::m_aWidgets, m_pParserState, name, xmlreader::XmlReader::nextAttribute(), and xmlreader::XmlReader::nextItem().
Referenced by handleObject().
|
staticprivate |
Definition at line 3852 of file builder.cxx.
References vcl::EnumContext::GetContextEnum(), getStyleClass(), name, xmlreader::XmlReader::nextItem(), and SAL_WARN.
Referenced by handleObject(), and handleTabChild().
|
private |
Definition at line 2547 of file builder.cxx.
References aProperties, collectProperty(), BuilderUtils::convertMnemonicMarkup(), xmlreader::XmlReader::getAttributeValue(), TabControl::GetCurPageId(), VerticalTabControl::GetPageParent(), TabControl::GetTabPage(), vcl::Window::GetType(), vcl::Window::GetWindow(), handleChild(), handleStyle(), VerticalTabControl::InsertPage(), LastChild, FixedImage::loadThemeImage(), name, xmlreader::XmlReader::nextAttribute(), xmlreader::XmlReader::nextItem(), nPageId, TabControl::RemovePage(), SAL_INFO, TabControl::SetAccessibleDescription(), TabControl::SetAccessibleName(), TabControl::SetHelpText(), TabControl::SetPageName(), TabControl::SetPageText(), TABCONTROL, and VERTICALTABCONTROL.
Referenced by handleChild().
|
private |
Definition at line 3443 of file builder.cxx.
References aCommand, AUTOCHECK, CHECKABLE, BuilderUtils::convertMnemonicMarkup(), Menu::GetItemCount(), Menu::HideItem(), Menu::InsertItem(), Menu::InsertSeparator(), m_pNotebookBarAddonsItem, m_pParserState, m_sHelpRoot, NotebookBarAddonsMerger::MergeNotebookBarMenuAddons(), NONE, RADIOCHECK, SAL_INFO, SAL_WARN_IF, Menu::SetAccelKey(), Menu::SetAccessibleDescription(), Menu::SetAccessibleName(), Menu::SetHelpId(), Menu::SetItemCommand(), Menu::SetPopupMenu(), and Menu::SetTipHelpText().
Referenced by handleMenuObject().
|
private |
Definition at line 2469 of file builder.cxx.
References DockingWindow::doDeferredInit(), SystemWindow::doDeferredInit(), VclPtr< reference_type >::get(), vcl::Window::GetHelpId(), vcl::Window::GetType(), vcl::Window::IsDockingWindow(), vcl::Window::IsSystemWindow(), m_aChildren, m_aDeferredProperties, m_bToplevelHasDeferredInit, m_bToplevelHasDeferredProperties, m_bToplevelParentFound, m_pParent, m_pParserState, m_sHelpRoot, m_sID, makeObject(), SAL_INFO, vcl::Window::set_font_attribute(), vcl::Window::set_id(), BuilderUtils::set_properties(), vcl::Window::SetHelpId(), and TOOLBOX.
Referenced by handleObject().
|
private |
Definition at line 1585 of file builder.cxx.
References aCommand, AUTOCHECK, CENTER, CHECKABLE, cleanupWidgetOwnScrolling(), CLICKABLE, connectFormattedFormatterAdjustment(), VclPtr< reference_type >::Create(), Dialog::Default, DOWNARROW, DROPDOWN, CheckBox::EnableTriState(), BuilderUtils::ensureDefaultWidthChars(), extractAdjustmentToMap(), extractBuffer(), extractButtonImage(), BuilderUtils::extractCustomProperty(), BuilderUtils::extractDropdown(), extractGroup(), extractMnemonicWidget(), extractModel(), VclPtr< reference_type >::get(), get_by_window(), vcl::Window::get_preferred_size(), SvHeaderTabListBox::GetHeaderBar(), vcl::Window::GetHelpId(), getImageSize(), ToolBox::GetItemCount(), ToolBox::GetItemId(), TabControl::GetPageCount(), VerticalTabControl::GetPageParent(), vcl::Window::GetSizePixel(), vcl::Window::GetType(), Size::Height(), ToolBox::HideItem(), vcl::Window::ImplGetWindowImpl(), ToolBox::InsertItem(), TabControl::InsertPage(), ToolBox::InsertSeparator(), LEFT, Left, LEFTIMAGE, FixedImage::loadThemeImage(), m_aChildren, m_bLegacy, m_pNotebookBarAddonsItem, m_pParserState, m_sHelpRoot, m_xFrame, WindowImpl::mbDisabled, MENUBUTTON, NotebookBarAddonsMerger::MergeNotebookBarAddons(), MODELESSDIALOG, WindowImpl::mpBorderWindow, WindowImpl::mpParent, WindowImpl::mpRealParent, name, NONE, Dialog::NoParent, prepareWidgetOwnScrolling(), PUSHBUTTON, RADIOCHECK, RIGHT, SAL_INFO, SAL_INFO_IF, SAL_WARN_IF, sBorder, vcl::Window::set_border_width(), vcl::Window::set_expand(), vcl::Window::SetAccessibleRole(), TabControl::SetCurPageId(), PushButton::SetDropDown(), SvTreeListBox::SetEntryHeight(), Size::setHeight(), vcl::Window::SetHelpId(), ToolBox::SetHelpId(), SvTreeListBox::SetHighlightRange(), FixedImage::SetImage(), Button::SetImageAlign(), ToolBox::SetItemExpand(), ToolBox::SetItemImage(), ToolBox::SetItemWindow(), SvTreeListBox::SetNoAutoCurEntry(), ToolBox::SetQuickHelpText(), SvTreeListBox::SetQuickSearch(), vcl::Window::SetSizePixel(), SvTreeListBox::SetSpaceBetweenEntries(), CheckBox::SetState(), TabControl::SetTabPage(), vcl::Window::SetType(), vcl::Window::Show(), sType, TABCONTROL, TOOLBOX, TRISTATE_INDET, VERTICALTABCONTROL, WB_3DLOOK, WB_ALLOWMENUBAR, WB_BORDER, WB_BUTTONSTYLE, WB_CENTER, WB_CLIPCHILDREN, WB_CLOSEABLE, WB_DOCKABLE, WB_DROPDOWN, WB_FLATBUTTON, WB_HASBUTTONS, WB_HASBUTTONSATROOT, WB_HORZ, WB_LEFT, WB_MOVEABLE, WB_NOLABEL, WB_REPEAT, WB_SCALE, WB_SIMPLEMODE, WB_SIZEABLE, WB_SPIN, WB_STDTABCONTROL, WB_TABSTOP, WB_VCENTER, and WB_VERT.
Referenced by insertObject().
|
static |
Definition at line 126 of file builder.cxx.
References ARROW_DOWN, ARROW_LEFT, ARROW_RIGHT, ARROW_UP, CLOSE, DONTKNOW, FIRST, HELP, IMAGE, LAST, NEXT, PLAY, PLUS, PREV, SPIN_DOWN, SPIN_UP, STOP, sType, and u.
Referenced by VclBuilder().
|
staticprivate |
Definition at line 4302 of file builder.cxx.
References nValue, rTarget, SAL_INFO, Formatter::SetMaxValue(), Formatter::SetMinValue(), Formatter::SetSpinSize(), and Formatter::SetValue().
|
staticprivate |
Definition at line 4267 of file builder.cxx.
References nValue, rTarget, and SAL_INFO.
Referenced by VclBuilder().
|
staticprivate |
Definition at line 4327 of file builder.cxx.
|
staticprivate |
Definition at line 4348 of file builder.cxx.
|
private |
Definition at line 4183 of file builder.cxx.
References VclBuilder::ListStore::m_aEntries, m_aUserData, m_bLegacy, nValue, and rTarget.
|
private |
Definition at line 4210 of file builder.cxx.
References VclBuilder::ListStore::m_aEntries, m_aUserData, m_bLegacy, nValue, and rTarget.
Referenced by VclBuilder().
|
private |
Definition at line 4237 of file builder.cxx.
References VclBuilder::ListStore::m_aEntries, m_aUserData, m_bLegacy, nValue, and rTarget.
|
staticprivate |
Definition at line 4369 of file builder.cxx.
References rTarget, and SAL_INFO.
Referenced by VclBuilder().
|
privatedelete |
|
staticprivate |
Definition at line 1391 of file builder.cxx.
References vcl::Window::GetParent(), vcl::Window::GetStyle(), vcl::Window::GetType(), VclScrolledWindow::HasVisibleBorder(), SCROLLWINDOW, WB_AUTOHSCROLL, WB_AUTOVSCROLL, WB_BORDER, WB_HSCROLL, and WB_VSCROLL.
Referenced by makeObject().
|
private |
Definition at line 4054 of file builder.cxx.
References Dialog::add_button(), vcl::Window::GetParentDialog(), m_aChildren, RET_CANCEL, RET_CLOSE, RET_HELP, RET_NO, RET_OK, and RET_YES.
Referenced by handleActionWidget().
|
private |
Definition at line 4150 of file builder.cxx.
References m_aChildren.
Referenced by applyPackingProperty().
void VclBuilder::setDeferredProperties | ( | ) |
Definition at line 2232 of file builder.cxx.
References m_aDeferredProperties, m_bToplevelHasDeferredProperties, m_pParent, and BuilderUtils::set_properties().
|
private |
Definition at line 153 of file builder.hxx.
Referenced by delete_by_name(), disposeBuilder(), drop_ownership(), get_by_name(), get_by_window(), get_widget_root(), get_window_packing_data(), insertObject(), makeObject(), set_response(), set_window_packing_position(), and VclBuilder().
|
private |
Definition at line 126 of file builder.hxx.
Referenced by insertObject(), and setDeferredProperties().
|
private |
Definition at line 161 of file builder.hxx.
Referenced by disposeBuilder(), get_menu(), handleMenu(), and handleMenuObject().
|
private |
Definition at line 119 of file builder.hxx.
Referenced by handleObject(), and mungeModel().
|
private |
Definition at line 302 of file builder.hxx.
Referenced by handleMenuObject(), handleObject(), makeObject(), mungeModel(), and VclBuilder().
|
private |
Definition at line 299 of file builder.hxx.
Referenced by insertObject(), and VclBuilder().
|
private |
Definition at line 300 of file builder.hxx.
Referenced by insertObject(), setDeferredProperties(), and VclBuilder().
|
private |
Definition at line 301 of file builder.hxx.
Referenced by insertObject(), and VclBuilder().
|
private |
Definition at line 128 of file builder.hxx.
Referenced by insertMenuObject(), and makeObject().
|
private |
Definition at line 298 of file builder.hxx.
Referenced by disposeBuilder(), insertObject(), setDeferredProperties(), and VclBuilder().
|
private |
Definition at line 303 of file builder.hxx.
Referenced by applyPackingProperty(), cleanupWidgetOwnScrolling(), collectProperty(), connectFormattedFormatterAdjustment(), connectNumericFormatterAdjustment(), extractBuffer(), extractButtonImage(), extractGroup(), extractMnemonicWidget(), extractModel(), get_adjustment_by_name(), get_buffer_by_name(), get_model_by_name(), handleChild(), handleItems(), handleObject(), handleRow(), handleSizeGroup(), insertMenuObject(), insertObject(), makeObject(), and VclBuilder().
|
private |
Definition at line 297 of file builder.hxx.
Referenced by collectProperty(), and handleItems().
|
private |
Definition at line 296 of file builder.hxx.
Referenced by insertMenuObject(), insertObject(), makeObject(), and VclBuilder().
|
private |
Definition at line 295 of file builder.hxx.
Referenced by insertObject(), and VclBuilder().
|
private |
XFrame to be able to extract labels and other properties of the UNO commands (like of .uno:Bold).
Definition at line 321 of file builder.hxx.
Referenced by makeObject().