Lines Matching refs:pBtn
473 NSPopUpButton* pBtn = (NSPopUpButton*)pSender;
474 NSMenuItem* pSelected = [pBtn selectedItem];
483 NSButton* pBtn = (NSButton*)pSender;
484 int nTag = [pBtn tag];
485 mpController->changePropertyWithBoolValue( nTag, [pBtn state] == NSOnState );
743 static void linebreakCell( NSCell* pBtn, const rtl::OUString& i_rText )
746 [pBtn setTitle: pText];
748 NSSize aSize = [pBtn cellSize];
760 [pBtn setTitle: pText];
793 NSButton* pBtn = [[NSButton alloc] initWithFrame: aCheckRect];
794 [pBtn setButtonType: NSSwitchButton];
795 [pBtn setState: bValue ? NSOnState : NSOffState];
797 [pBtn setEnabled: NO];
798 linebreakCell( [pBtn cell], rText );
799 [pBtn sizeToFit];
801 rRightColumn.push_back( ColumnItem( pBtn ) );
804 [pBtn setTarget: pCtrlTarget];
805 [pBtn setAction: @selector(triggered:)];
807 pControllerProperties->addObservedControl( pBtn );
808 [pBtn setTag: nTag];
810 aCheckRect = [pBtn frame];
819 [pBtn setFrame: aCheckRect];
821 [pCurParent addSubview: [pBtn autorelease]];
920 NSPopUpButton* pBtn = [[NSPopUpButton alloc] initWithFrame: aBtnRect pullsDown: NO];
926 [pBtn addItemWithTitle: pItemText];
927 NSMenuItem* pItem = [pBtn itemWithTitle: pItemText];
933 [pBtn selectItemAtIndex: nSelectValue];
937 pControllerProperties->addObservedControl( pBtn );
938 [pBtn setTag: pControllerProperties->addNameTag( rProperty )];
940 [pBtn sizeToFit];
941 [pCurParent addSubview: [pBtn autorelease]];
943 rRightColumn.push_back( ColumnItem( pBtn ) );
946 [pBtn setTarget: pCtrlTarget];
947 [pBtn setAction: @selector(triggered:)];
950 aBtnRect = [pBtn frame];
952 [pBtn setFrame: aBtnRect];