Searched refs:textView (Results 1 - 25 of 34) sorted by last modified time

12

/haiku/src/kits/tracker/
H A DWidgetAttributeText.cpp545 StringAttributeText::CommitEditedText(BTextView* textView) argument
548 const char* text = textView->Text();
555 if (textView->TextLength() == 0) {
563 if (!CommitEditedTextFlavor(textView))
768 NameAttributeText::SetupEditing(BTextView* textView) argument
770 DisallowFilenameKeys(textView);
772 textView->SetMaxBytes(B_FILE_NAME_LENGTH);
773 textView->SetText(fFullValueText.String(), fFullValueText.Length());
778 NameAttributeText::CommitEditedTextFlavor(BTextView* textView) argument
780 if (textView
861 SetupEditing(BTextView* textView) argument
1528 CommitEditedText(BTextView* textView) argument
1551 SetupEditing(BTextView* textView) argument
1559 CommitEditedTextFlavor(BTextView* textView) argument
[all...]
H A DTextWidget.cpp343 BTextView* textView = dynamic_cast<BTextView*>( local
345 if (textView != NULL) {
348 bool tooWide = textView->TextRect().Width() > maxWidth;
349 textView->MakeResizable(!tooWide, tooWide ? NULL : scrollView);
375 BTextView* textView = dynamic_cast<BTextView*>( local
377 if (textView != NULL) {
378 float textWidth = textView->TextRect().Width();
382 textView->GetSelection(&start, &finish);
385 textView->GetTextRegion(start, finish, &selectedRegion);
398 textWidth += textView
449 BTextView* textView = new BTextView(rect, "WidgetTextView", rect, local
[all...]
H A DUtilities.cpp158 DisallowFilenameKeys(BTextView* textView) argument
160 textView->DisallowChar('/');
165 DisallowMetaKeys(BTextView* textView) argument
167 textView->DisallowChar(B_TAB);
168 textView->DisallowChar(B_ESCAPE);
169 textView->DisallowChar(B_INSERT);
170 textView->DisallowChar(B_DELETE);
171 textView->DisallowChar(B_HOME);
172 textView->DisallowChar(B_END);
173 textView
[all...]
/haiku/src/apps/aboutsystem/
H A DAboutSystem.cpp1002 SysInfoView::_UpdateText(BTextView* textView) argument
1004 textView->SetExplicitAlignment(BAlignment(B_ALIGN_LEFT, B_ALIGN_TOP));
1005 textView->SetFontAndColor(be_plain_font, B_FONT_FAMILY_AND_STYLE);
1006 textView->SetColorSpace(B_RGBA32);
1007 textView->MakeResizable(false);
1008 textView->MakeEditable(false);
1009 textView->MakeSelectable(false);
1010 textView->SetWordWrap(true);
1011 textView->SetDoesUndo(false);
1012 textView
[all...]
/haiku/src/apps/haikudepot/ui/
H A DPackageInfoView.cpp876 TextView* textView = new TextView("rating-text"); local
877 ParagraphStyle paragraphStyle(textView->ParagraphStyle());
879 textView->SetParagraphStyle(paragraphStyle);
880 textView->SetText(rating->Comment());
882 verticalGroup->AddView(textView);
H A DShuttingDownWindow.cpp27 BTextView* textView = new BTextView("shutting down message"); local
28 textView->AdoptSystemColors();
29 textView->MakeEditable(false);
30 textView->MakeSelectable(false);
31 textView->SetText(B_TRANSLATE("HaikuDepot is stopping or completing "
37 .Add(textView)
/haiku/src/apps/webpositive/
H A DBrowserWindow.cpp1085 BTextView* textView = dynamic_cast<BTextView*>(CurrentFocus()); local
1086 if (textView != NULL)
1087 textView->MessageReceived(message);
H A DAuthenticationPanel.cpp120 BTextView* textView = new BTextView(textBounds, "text", textBounds, local
123 textView->SetViewUIColor(B_PANEL_BACKGROUND_COLOR);
124 textView->SetText(text.String());
125 textView->MakeEditable(false);
126 textView->MakeSelectable(false);
141 .Add(textView, 0, 0, 2)
160 float textHeight = textView->LineHeight(0) * textView->CountLines();
161 textView->SetExplicitMinSize(BSize(B_SIZE_UNSET, textHeight));
/haiku/src/apps/people/
H A DPersonWindow.cpp143 BTextView* textView = dynamic_cast<BTextView*>(CurrentFocus()); local
144 if (textView != NULL) {
145 undo_state state = textView->UndoState(&isRedo);
/haiku/src/apps/mail/
H A DMailWindow.cpp991 BTextView* textView = dynamic_cast<BTextView*>(CurrentFocus()); local
992 if (textView != NULL
993 && (dynamic_cast<AddressTextControl*>(textView->Parent()) != NULL
994 || dynamic_cast<BTextControl*>(textView->Parent()) != NULL)) {
996 textView->GetSelection(&start, &finish);
H A DHeader.cpp233 BTextView* textView = TextView(); local
234 if (textView != NULL)
235 textView->SelectAll();
249 BTextView* textView = TextView(); local
252 textView->GetFontAndColor(0, &font);
255 if (!textView->IsEditable() || IsEnabled())
262 textView->SetFontAndColor(&font, B_FONT_ALL, &textColor);
265 if (!textView->IsEditable())
274 textView->SetViewColor(color);
275 textView
690 BTextView* textView = dynamic_cast<BTextView*>(Window()->CurrentFocus()); local
[all...]
H A DSignature.cpp135 BTextView* textView = fSigView->fName->TextView(); local
138 if (textView->IsFocus())
139 textView->GetSelection(&start, &finish);
146 fNew->SetEnabled(textView->TextLength()
235 BTextView* textView = fSigView->fName->TextView(); local
236 textView->Select(0, textView->TextLength());
283 BTextView* textView = (BTextView *)fSigView->fName->TextView(); local
285 textView->Select(0, textView
[all...]
H A DAddressTextControl.cpp813 BTextView *textView = (BTextView *)ChildAt(0); local
814 if (textView != NULL)
815 textView->Select(0, textView->TextLength());
/haiku/src/preferences/filetypes/
H A DApplicationTypeWindow.cpp336 BTextView* textView = fSignatureControl->TextView(); local
337 textView->SetMaxBytes(B_MIME_TYPE_LENGTH);
340 textView->DisallowChar(disallowedCharacters[i]);
708 BTextView* textView = control->TextView(); local
709 textView->SetMaxBytes(10);
713 textView->DisallowChar(i);
H A DAttributeWindow.cpp108 BTextView* textView = fAttributeControl->TextView(); local
111 textView->DisallowChar(disallowedCharacters[i]);
185 textView = fWidthControl->TextView();
188 textView->DisallowChar(i);
190 textView->SetMaxBytes(4);
H A DFileTypeWindow.cpp67 BTextView* textView = fTypeControl->TextView(); local
70 textView->DisallowChar(disallowedCharacters[i]);
H A DExtensionWindow.cpp129 BTextView* textView = fExtensionControl->TextView(); local
132 textView->DisallowChar(disallowedCharacters[i]);
/haiku/src/kits/interface/
H A DWindow.cpp3714 BTextView* textView = dynamic_cast<BTextView*>(CurrentFocus()); local
3715 if (textView != NULL) {
3716 textView->KeyDown(bytes, modifiers);
/haiku/src/apps/installer/
H A DEULAWindow.cpp70 BTextView* textView = new BTextView("eula", be_plain_font, NULL, B_WILL_DRAW); local
71 textView->SetInsets(10, 10, 10, 10);
72 textView->MakeEditable(false);
73 textView->MakeSelectable(false);
74 textView->SetText(infoText);
77 textView, B_WILL_DRAW, false, true);
/haiku/src/apps/screenshot/
H A DScreenshotWindow.cpp474 ScreenshotWindow::_DisallowChar(BTextView* textView) argument
477 textView->DisallowChar(i);
480 textView->DisallowChar(i);
H A DScreenshotWindow.h46 void _DisallowChar(BTextView* textView);
/haiku/src/kits/interface/textview_support/
H A DUndoBuffer.cpp28 BTextView::UndoBuffer::UndoBuffer(BTextView* textView, undo_state state) argument
30 fTextView(textView),
91 BTextView::CutUndoBuffer::CutUndoBuffer(BTextView* textView) argument
92 : BTextView::UndoBuffer(textView, B_UNDO_CUT)
126 BTextView::PasteUndoBuffer::PasteUndoBuffer(BTextView* textView, argument
129 : BTextView::UndoBuffer(textView, B_UNDO_PASTE),
172 BTextView::ClearUndoBuffer::ClearUndoBuffer(BTextView* textView) argument
173 : BTextView::UndoBuffer(textView, B_UNDO_CLEAR)
194 BTextView::DropUndoBuffer::DropUndoBuffer(BTextView* textView, argument
197 : BTextView::UndoBuffer(textView, B_UNDO_DRO
252 TypingUndoBuffer(BTextView* textView) argument
[all...]
/haiku/src/libs/print/libprint/
H A DJobSetupDlg.cpp180 JobSetupView::AllowOnlyDigits(BTextView* textView, int maxDigits) argument
184 textView->DisallowChar(num);
187 textView->AllowChar('0' + num);
189 textView->SetMaxBytes(maxDigits);
/haiku/src/add-ons/screen_savers/ifs/
H A DIFSSaver.cpp114 BTextView* textView = new BTextView(bounds, B_EMPTY_STRING, textRect, local
116 textView->SetViewColor(view->ViewColor());
125 textView->Insert(aboutScreenSaver);
127 textView->SetStylable(true);
128 textView->SetFontAndColor(0, screenSaverName.Length(), be_bold_font);
130 textView->MakeEditable(false);
132 view->AddChild(textView);
/haiku/src/kits/print/
H A DJobSetupPanel.cpp364 BJobSetupPanel::_DisallowChar(BTextView* textView) argument
367 textView->DisallowChar(i);
370 textView->DisallowChar(i);

Completed in 193 milliseconds

12