Changeset View
Changeset View
Standalone View
Standalone View
keditfiletype/filetypesview.cpp
Show First 20 Lines • Show All 80 Lines • ▼ Show 20 Line(s) | 56 | { | |||
---|---|---|---|---|---|
81 | 81 | | |||
82 | QHBoxLayout* l = new QHBoxLayout(this); | 82 | QHBoxLayout* l = new QHBoxLayout(this); | ||
83 | QVBoxLayout* leftLayout = new QVBoxLayout(); | 83 | QVBoxLayout* leftLayout = new QVBoxLayout(); | ||
84 | l->addLayout( leftLayout ); | 84 | l->addLayout( leftLayout ); | ||
85 | 85 | | |||
86 | patternFilterLE = new KLineEdit(this); | 86 | patternFilterLE = new KLineEdit(this); | ||
87 | patternFilterLE->setClearButtonEnabled(true); | 87 | patternFilterLE->setClearButtonEnabled(true); | ||
88 | patternFilterLE->setTrapReturnKey(true); | 88 | patternFilterLE->setTrapReturnKey(true); | ||
89 | patternFilterLE->setPlaceholderText(i18n("Find file type or filename pattern")); | 89 | patternFilterLE->setPlaceholderText(i18n("Search for file type or filename pattern...")); | ||
90 | leftLayout->addWidget(patternFilterLE); | 90 | leftLayout->addWidget(patternFilterLE); | ||
91 | 91 | | |||
92 | connect(patternFilterLE, SIGNAL(textChanged(const QString &)), | 92 | connect(patternFilterLE, SIGNAL(textChanged(const QString &)), | ||
93 | this, SLOT(slotFilter(const QString &))); | 93 | this, SLOT(slotFilter(const QString &))); | ||
94 | 94 | | |||
95 | wtstr = i18n("Enter a part of a filename pattern, and only file types with a " | 95 | wtstr = i18n("Enter a part of a filename pattern, and only file types with a " | ||
96 | "matching file pattern will appear in the list. Alternatively, enter " | 96 | "matching file pattern will appear in the list. Alternatively, enter " | ||
97 | "a part of a file type name as it appears in the list."); | 97 | "a part of a file type name as it appears in the list."); | ||
▲ Show 20 Lines • Show All 398 Lines • Show Last 20 Lines |