Lines Matching refs:Widget
134 class Widget : public layoutimpl::LayoutWidget class
138 Widget *mpParent;
139 std::vector< Widget *> maChildren;
152 Widget( uno::Reference< awt::XLayoutConstrains > xImport, const char *label ) in Widget() function in Widget
167 Widget *pChild = new Widget( aChildren[ i ], "---" ); in Widget()
174 Widget( rtl::OUString id, uno::Reference< awt::XToolkit > xToolkit, in Widget() function in Widget
233 ~Widget() in ~Widget()
235 for ( std::vector< Widget *>::const_iterator it = maChildren.begin(); in ~Widget()
255 return addChild( static_cast< Widget * >( pChild ) ); in addChild()
271 Widget *up() in up()
276 Widget *down() in down()
283 Widget *next() in next()
293 Widget *prev() in prev()
304 bool addChild( Widget *pChild, int pos = 0xffff ) in addChild()
359 bool removeChild( Widget *pChild ) in removeChild()
374 bool swapWithChild( Widget *pChild ) in swapWithChild()
383 std::vector< Widget *> aChildren = maChildren; in swapWithChild()
384 std::vector< Widget *> aChildChildren = pChild->maChildren; in swapWithChild()
386 for ( std::vector< Widget *>::const_iterator it = aChildChildren.begin(); in swapWithChild()
390 for ( std::vector< Widget *>::const_iterator it = aChildChildren.begin(); in swapWithChild()
394 for ( std::vector< Widget *>::const_iterator jt = aChildChildren.begin(); in swapWithChild()
397 for ( std::vector< Widget *>::const_iterator jt = aChildChildren.begin(); in swapWithChild()
403 Widget *pParent = up(); in swapWithChild()
414 unsigned int getChildPos( Widget *pChild ) in getChildPos()
417 for ( std::vector< Widget *>::const_iterator it = maChildren.begin(); in getChildPos()
424 Widget *getChild( int pos ) in getChild()
444 for ( Widget *pWidget = mpParent; pWidget; pWidget = pWidget->mpParent ) in getDepth()
533 friend class Widget;
538 PropertyIterator( Widget *pWidget, PropertyKind rKind ) in PropertyIterator()
591 Widget *mpParent;
595 Widget *pParent ) in EditorRoot()
608 Widget *pWidget = new Widget( id, mxToolkit, xParent, unoName, attrbs ); in create()
622 Widget *next( Widget *pWidget ) in next()
624 Widget *pNext; in next()
629 for ( Widget *pUp = pWidget->up(); pUp != NULL; pUp = pUp->up() ) in next()
660 bool moveWidget( Widget *pWidget, bool up /*or down*/ ) in moveWidget()
663 Widget *pOriContainer = pWidget->up(); in moveWidget()
667 Widget *pSibling = up ? pWidget->prev() : pWidget->next(); in moveWidget()
668 Widget *pContainer = pWidget->up(); in moveWidget()
726 Widget *get( Widget *pRoot, int nb ) in get()
728 Widget *it; in get()
734 int get( Widget *pRoot, Widget *pWidget ) in get()
737 Widget *it; in get()
758 AnyWidget( Widget *pWidget, rtl::OUString aPropName, Widget::PropertyKind aPropKind ) in AnyWidget()
817 Widget *mpWidget;
819 Widget::PropertyKind maPropKind;
835 AnyEdit( Widget *pWidget, rtl::OUString aPropName, in AnyEdit()
836 Widget::PropertyKind aPropKind, layout::Window *pWinParent ) in AnyEdit()
957 AnyInteger( Widget *pWidget, rtl::OUString aPropName, in AnyInteger()
958 Widget::PropertyKind aPropKind, Window *pWinParent ) in AnyInteger()
986 AnyFloat( Widget *pWidget, rtl::OUString aPropName, in AnyFloat()
987 Widget::PropertyKind aPropKind, Window *pWinParent ) in AnyFloat()
999 AnyCheckBox( Widget *pWidget, rtl::OUString aPropName, in AnyCheckBox()
1000 Widget::PropertyKind aPropKind, layout::Window *pWinParent ) in AnyCheckBox()
1043 AnyListBox( Widget *pWidget, rtl::OUString aPropName, in AnyListBox()
1044 Widget::PropertyKind aPropKind, Window *pWinParent ) in AnyListBox()
1067 AnyAlign( Widget *pWidget, rtl::OUString aPropName, in AnyAlign()
1068 Widget::PropertyKind aPropKind, Window *pWinParent ) in AnyAlign()
1083 AnyComboBox( Widget *pWidget, rtl::OUString aPropName, in AnyComboBox()
1084 Widget::PropertyKind aPropKind, Window *pWinParent ) in AnyComboBox()
1107 AnyFontStyle( Widget *pWidget, rtl::OUString aPropName, in AnyFontStyle()
1108 Widget::PropertyKind aPropKind, Window *pWinParent ) in AnyFontStyle()
1150 static PropertyEntry *construct( Widget *pWidget, rtl::OUString aPropName, in construct()
1151 Widget::PropertyKind aPropKind, sal_uInt16 nType, in construct()
1250 void addProperties( Widget *pWidget, Widget::PropertyKind rKind ) in addProperties()
1252 Widget::PropertyIterator it( pWidget, rKind ); in addProperties()
1279 void selectedWidget( Widget *pWidget ) in selectedWidget()
1286 addProperties( pWidget, Widget::CONTAINER_PROPERTY ); in selectedWidget()
1292 addProperties( pWidget, Widget::WINDOW_PROPERTY ); in selectedWidget()
1491 virtual void widgetSelected( Widget *pWidget ) = 0;
1498 Widget *mpRootWidget;
1508 mpRootWidget = new Widget( xWidget, "root" ); in LayoutTree()
1513 Widget *getWidget( int nPos ) in getWidget()
1520 Widget *getSelectedWidget() in getSelectedWidget()
1522 Widget *pWidget = getWidget( mpListBox->GetSelectEntryPos() ); in getSelectedWidget()
1528 void selectWidget( Widget *pWidget ) in selectWidget()
1554 for ( Widget *i = FlatLayout::next( mpRootWidget ); i; i = FlatLayout::next( i ) ) in rebuild()
1593 for ( Widget *i = FlatLayout::next( mpRootWidget ); i; i = FlatLayout::next( i ) ) in print()
1601 Widget::PropertyKind wKind = kind == 0 ? Widget::WINDOW_PROPERTY in print()
1602 : Widget::CONTAINER_PROPERTY; in print()
1603 Widget::PropertyIterator it( i, wKind ); in print()
1635 Widget *pWidget = getWidget( nPos ); in upPressed()
1643 Widget *pWidget = getWidget( nPos ); in downPressed()
1651 Widget *pWidget = getWidget( nPos ); in removePressed()
1696 virtual void widgetSelected( Widget *pWidget );
1839 Widget *pWidget = mpLayoutTree->getSelectedWidget(); in createWidget()
1841 …Widget *pChild = new Widget( rtl::OUString(), mxToolkit, uno::Reference< awt::XLayoutContainer >( … in createWidget()
1854 void EditorImpl::widgetSelected( Widget *pWidget ) in widgetSelected()