Searched refs:fTextControl (Results 1 - 25 of 26) sorted by relevance

12

/haiku/src/tests/kits/interface/layout/widget_layout_test/tests/
H A DTextControlTest.cpp31 fTextControl = new BTextControl("Label", "Some Text", NULL);
33 SetView(fTextControl);
65 fTextControl->SetViewColor(background);
66 fTextControl->SetLowColor(background);
114 if (!fLongTextCheckBox || !fTextControl)
117 fTextControl->SetLabel(fLongTextCheckBox->IsSelected()
127 if (!fBigFontCheckBox || !fTextControl || !fTextControl->Window())
133 fTextControl->GetFont(fDefaultFont);
140 fTextControl
[all...]
H A DTextControlTest.h35 BTextControl* fTextControl; member in class:TextControlTest
/haiku/src/apps/mail/
H A DFindWindow.cpp107 fTextControl = new BTextControl("BTextControl", NULL,
110 fTextControl->SetModificationMessage(new BMessage(M_FIND_STRING_CHANGED));
111 fTextControl->SetText(sPreviousFind.String());
112 fTextControl->MakeFocus();
121 .Add(fTextControl)
132 sPreviousFind = fTextControl->Text();
143 fTextControl->SetTarget(this);
144 fTextControl->ResizeToPreferred();
145 fTextControl->ResizeTo(Bounds().Width() - 20,
146 fTextControl
[all...]
H A DFindWindow.h89 BTextControl* fTextControl; member in class:FindPanel
/haiku/src/kits/shared/
H A DPromptWindow.cpp26 fTextControl = new BTextControl("promptcontrol", label, NULL,
35 .Add(fTextControl)
46 fTextControl->TextView()->SetExplicitMinSize(BSize(200.0, B_SIZE_UNSET));
47 fTextControl->SetTarget(this);
50 fTextControl->MakeFocus(true);
69 fMessage->AddString("text", fTextControl->TextView()->Text());
/haiku/src/preferences/shortcuts/
H A DEditWindow.h25 BTextControl* fTextControl; member in class:EditWindow
H A DEditWindow.cpp27 fTextControl = new BTextControl("", placeholder, NULL);
35 .Add(fTextControl)
64 ResizeTo(max_c(be_plain_font->StringWidth(fTextControl->Text()) * 1.5,
71 BString result = fTextControl->Text();
/haiku/src/apps/mediaplayer/
H A DNetworkStreamWin.h28 BTextControl* fTextControl; member in class:NetworkStreamWin
H A DNetworkStreamWin.cpp35 fTextControl = new BTextControl("InputControl",
40 .Add(fTextControl)
65 BUrl url(fTextControl->Text());
118 if (fTextControl->TextView()->TextLength() > 0)
142 fTextControl->SetText(text);
/haiku/src/tests/kits/interface/
H A DTextViewTestManual.cpp34 BTextControl* fTextControl; member in class:Window
46 fTextControl = new BTextControl("text-contr-O",
50 fTextControl->Archive(&storage);
67 .Add(fTextControl)
115 fTextControl->SetAlignment(B_ALIGN_LEFT, B_ALIGN_LEFT);
120 fTextControl->SetAlignment(B_ALIGN_LEFT, B_ALIGN_CENTER);
125 fTextControl->SetAlignment(B_ALIGN_LEFT, B_ALIGN_RIGHT);
/haiku/src/apps/expander/
H A DPasswordAlert.cpp53 fTextControl(NULL),
65 fTextControl = new BTextControl(textControlRect, "_password_", text,
67 fTextControl->SetViewUIColor(B_PANEL_BACKGROUND_COLOR);
68 fTextControl->TextView()->HideTyping(true);
69 fTextControl->SetAlignment(B_ALIGN_RIGHT, B_ALIGN_LEFT);
70 fTextControl->SetDivider(10 + fTextControl->StringWidth(text));
72 masterView->AddChild(fTextControl);
81 fTextControl->MakeFocus();
168 password = fTextControl
[all...]
H A DPasswordAlert.h29 BTextControl* fTextControl; member in class:PasswordAlert
/haiku/src/add-ons/network_settings/dialup/
H A DTextRequestDialog.cpp64 fTextControl = new BTextControl(rect, "request", request, text, NULL);
65 fTextControl->SetModificationMessage(new BMessage(kMsgUpdateControls));
66 fTextControl->SetDivider(fTextControl->StringWidth(fTextControl->Label()) + 5);
68 fTextControl->TextView()->SelectAll();
83 backgroundView->AddChild(fTextControl);
86 fTextControl->MakeFocus(true);
112 toSend.AddString("text", fTextControl->Text());
149 fOKButton->SetEnabled(fTextControl
[all...]
H A DTextRequestDialog.h35 BTextControl *fTextControl; member in class:TextRequestDialog
/haiku/headers/private/shared/
H A DPromptWindow.h31 BTextControl* fTextControl; member in class:PromptWindow
/haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/
H A DColorPickerView.cpp100 fTextControl[i] = new BTextControl(NULL, NULL, NULL,
103 fTextControl[i]->TextView()->SetMaxBytes(3);
106 fTextControl[i]->TextView()->DisallowChar(j);
136 .Add(fTextControl[0], 1, 0)
140 .Add(fTextControl[1], 1, 1)
144 .Add(fTextControl[2], 1, 2)
152 .Add(fTextControl[3], 1, 4)
155 .Add(fTextControl[4], 1, 5)
158 .Add(fTextControl[5], 1, 6)
177 fTextControl[
[all...]
H A DColorPickerView.h76 BTextControl* fTextControl[6]; member in class:ColorPickerView
/haiku/src/add-ons/network_settings/dnsclient/
H A DDNSSettingsView.cpp60 fTextControl = new IPAddressControl(AF_UNSPEC, serverLabel, "server");
61 fTextControl->SetExplicitMinSize(BSize(fTextControl->StringWidth("5") * 16
62 + fTextControl->StringWidth(serverLabel), B_SIZE_UNSET));
84 .Add(fTextControl, 0, 0)
153 fTextControl->SetTarget(this);
165 const char* address = fTextControl->Text();
H A DDNSSettingsView.h44 BTextControl* fTextControl; member in class:DNSSettingsView
/haiku/src/apps/diskprobe/
H A DTypeEditors.cpp75 BTextControl* fTextControl; member in class:MimeTypeEditor
97 BTextControl* fTextControl; member in class:NumberEditor
287 fTextControl = new BTextControl(rect.InsetByCopy(5, 5), B_EMPTY_STRING,
289 fTextControl->SetDivider(StringWidth(fTextControl->Label()) + 8);
292 fTextControl->GetPreferredSize(&width, &height);
293 fTextControl->ResizeTo(rect.Width() - 10, height);
297 AddChild(fTextControl);
308 fTextControl->SetText(mimeType);
317 if (fPreviousText != fTextControl
[all...]
/haiku/src/apps/fontdemo/
H A DControlView.h48 BTextControl* fTextControl; member in class:ControlView
H A DControlView.cpp36 fTextControl(NULL),
66 fTextControl = new BTextControl("TextInput", B_TRANSLATE("Text:"),
68 fTextControl->SetModificationMessage(new BMessage(TEXT_CHANGED_MSG));
69 AddChild(fTextControl);
121 fTextControl->SetTarget(this);
159 fontMsg.AddString("_text", fTextControl->Text());
/haiku/src/preferences/keymap/
H A DKeymapWindow.h83 BTextControl* fTextControl; member in class:KeymapWindow
/haiku/src/kits/tracker/
H A DFilePanelPriv.cpp177 fTextControl(NULL),
754 fTextControl = new BTextControl(rect, "text view",
757 DisallowMetaKeys(fTextControl->TextView());
758 DisallowFilenameKeys(fTextControl->TextView());
759 fBackView->AddChild(fTextControl);
760 fTextControl->SetDivider(0.0f);
761 fTextControl->TextView()->SetMaxBytes(B_FILE_NAME_LENGTH - 1);
785 fBackView->AddChild(fPoseContainer, fTextControl);
866 if (fIsSavePanel && fTextControl != NULL) {
867 fTextControl
[all...]
H A DFilePanelPriv.h148 BTextControl* fTextControl; member in class:BPrivate::TFilePanel

Completed in 166 milliseconds

12