Home
last modified time | relevance | path

Searched refs:fNameControl (Results 1 – 14 of 14) sorted by relevance

/haiku/src/add-ons/disk_systems/ntfs/
H A DInitializeParameterEditor.cpp36 fNameControl(NULL), in InitializeNTFSEditor()
55 fNameControl->SetText(name.String()); in SetTo()
70 return fNameControl->TextView()->TextLength() > 0; in ValidateParameters()
79 fNameControl->SetText(variant.ToString()); in ParameterChanged()
88 parameters << fNameControl->Text() << "\";\n"; in GetParameters()
96 fNameControl = new BTextControl(B_TRANSLATE("Name:"), "New NTFS Volume", in _CreateViewControls()
98 fNameControl->SetModificationMessage(new BMessage(MSG_NAME_CHANGED)); in _CreateViewControls()
99 fNameControl->TextView()->SetMaxBytes(127); in _CreateViewControls()
104 .Add(fNameControl->CreateLabelLayoutItem(), 0, 0) in _CreateViewControls()
105 .Add(fNameControl->CreateTextViewLayoutItem(), 1, 0).View() in _CreateViewControls()
H A DInitializeParameterEditor.h41 BTextControl* fNameControl; variable
/haiku/src/add-ons/disk_systems/btrfs/
H A DInitializeParameterEditor.cpp40 fNameControl(NULL), in InitializeBTRFSEditor()
59 fNameControl->SetText(name.String()); in SetTo()
74 return fNameControl->TextView()->TextLength() > 0; in ValidateParameters()
83 fNameControl->SetText(variant.ToString()); in ParameterChanged()
92 parameters << fNameControl->Text() << "\";\n"; in GetParameters()
100 fNameControl = new BTextControl(B_TRANSLATE("Name:"), "New Btrfs Volume", in _CreateViewControls()
102 fNameControl->SetModificationMessage(new BMessage(MSG_NAME_CHANGED)); in _CreateViewControls()
103 fNameControl->TextView()->SetMaxBytes(BTRFS_LABEL_SIZE); in _CreateViewControls()
110 .Add(fNameControl->CreateLabelLayoutItem(), 0, 0) in _CreateViewControls()
111 .Add(fNameControl->CreateTextViewLayoutItem(), 1, 0).View() in _CreateViewControls()
H A DInitializeParameterEditor.h43 BTextControl* fNameControl; variable
/haiku/src/preferences/filetypes/
H A DNewFileTypeWindow.cpp81 fNameControl = new BTextControl(B_TRANSLATE("Internal name:"), "", NULL); in NewFileTypeWindow()
82 fNameControl->SetModificationMessage(new BMessage(kMsgNameUpdated)); in NewFileTypeWindow()
85 BTextView* nameControlTextView = fNameControl->TextView(); in NewFileTypeWindow()
100 .Add(fNameControl->CreateLabelLayoutItem(), 0, 1) in NewFileTypeWindow()
101 .Add(fNameControl->CreateTextViewLayoutItem(), 1, 1, 2) in NewFileTypeWindow()
111 fNameControl->TextView()->SetExplicitAlignment(fullSize); in NewFileTypeWindow()
113 BLayoutItem* nameControlLabelItem = fNameControl->CreateLabelLayoutItem(); in NewFileTypeWindow()
118 fNameControl->MakeFocus(true); in NewFileTypeWindow()
135 fNameControl->SetLabel(B_TRANSLATE("Internal name:")); in MessageReceived()
136 fNameControl->MakeFocus(true); in MessageReceived()
[all …]
H A DNewFileTypeWindow.h30 BTextControl* fNameControl; variable
/haiku/src/add-ons/disk_systems/fat/
H A DInitializeParameterEditor.cpp40 fNameControl(NULL), in InitializeFATEditor()
60 fNameControl->SetText(name.String()); in SetTo()
75 return fNameControl->TextView()->TextLength() > 0; in ValidateParameters()
84 fNameControl->SetText(variant.ToString()); in ParameterChanged()
104 parameters << fNameControl->Text() << "\";\n"; in GetParameters()
113 fNameControl = new BTextControl(B_TRANSLATE("Name:"), "New FAT Vol", in _CreateViewControls()
115 fNameControl->SetModificationMessage(new BMessage(MSG_NAME_CHANGED)); in _CreateViewControls()
117 fNameControl->TextView()->SetMaxBytes(11); in _CreateViewControls()
143 .Add(fNameControl->CreateLabelLayoutItem(), 0, 0) in _CreateViewControls()
144 .Add(fNameControl->CreateTextViewLayoutItem(), 1, 0) in _CreateViewControls()
H A DInitializeParameterEditor.h41 BTextControl* fNameControl; variable
/haiku/src/add-ons/disk_systems/bfs/
H A DInitializeParameterEditor.cpp41 fNameControl(NULL), in InitializeBFSEditor()
61 fNameControl->SetText(name.String()); in SetTo()
86 return fNameControl->TextView()->TextLength() > 0; in ValidateParameters()
94 fNameControl->SetText(variant.ToString()); in ParameterChanged()
115 parameters << "name \"" << fNameControl->Text() << "\";\n"; in GetParameters()
123 fNameControl = new BTextControl(B_TRANSLATE("Name:"), "Haiku", NULL); in _CreateViewControls()
124 fNameControl->SetModificationMessage(new BMessage(MSG_NAME_CHANGED)); in _CreateViewControls()
125 fNameControl->TextView()->SetMaxBytes(31); in _CreateViewControls()
164 .Add(fNameControl->CreateLabelLayoutItem(), 0, 0) in _CreateViewControls()
165 .Add(fNameControl->CreateTextViewLayoutItem(), 1, 0) in _CreateViewControls()
H A DInitializeParameterEditor.h42 BTextControl* fNameControl; variable
/haiku/src/preferences/mail/
H A DConfigViews.cpp58 fNameControl = new BTextControl(NULL, B_TRANSLATE("Account name:"), NULL, in AccountConfigView()
70 .Add(fNameControl->CreateLabelLayoutItem(), 0, 0) in AccountConfigView()
71 .Add(fNameControl->CreateTextViewLayoutItem(), 1, 0) in AccountConfigView()
83 fAccount->SetName(fNameControl->Text()); in DetachedFromWindow()
93 fNameControl->SetTarget(this); in AttachedToWindow()
102 fAccount->SetName(fNameControl->Text()); in MessageReceived()
114 fNameControl->SetText(fAccount->Name()); in UpdateViews()
H A DConfigViews.h42 BTextControl* fNameControl;
/haiku/src/apps/screenshot/
H A DScreenshotWindow.cpp139 fNameControl = new BTextControl("", B_TRANSLATE("Name:"), name, NULL); in ScreenshotWindow()
219 .Add(fNameControl->CreateLabelLayoutItem(), 0, 1) in ScreenshotWindow()
220 .Add(fNameControl->CreateTextViewLayoutItem(), 1, 1, 3, 1) in ScreenshotWindow()
302 fNameControl->SetText(_FindValidFileName( in MessageReceived()
303 fNameControl->Text()).String()); in MessageReceived()
314 fNameControl->SetText(_FindValidFileName( in MessageReceived()
315 fNameControl->Text()).String()); in MessageReceived()
432 path.Append(fNameControl->Text()); in _NewScreenshot()
575 fNameControl->MakeFocus(true); in _UpdateFilenameSelection()
576 fNameControl->TextView()->Select(0, fNameControl->TextView()->TextLength() in _UpdateFilenameSelection()
[all …]
H A DScreenshotWindow.h68 BTextControl* fNameControl; variable