Add named slots to DougalProjectSettingsFileMatchingParameters.

Used to display error or information messages.
This commit is contained in:
D. Berge
2025-06-26 23:41:51 +02:00
parent 028cab5188
commit f8692afad3

View File

@@ -18,6 +18,7 @@
A list of directories which are searched for matching files. A list of directories which are searched for matching files.
</v-card-subtitle> </v-card-subtitle>
<v-card-text> <v-card-text>
<slot name="paths"></slot>
<v-form> <v-form>
<v-text-field v-for="(item, index) in paths" :key="index" <v-text-field v-for="(item, index) in paths" :key="index"
v-model="paths[index]" v-model="paths[index]"
@@ -61,6 +62,7 @@
A list of <a href="https://en.wikipedia.org/wiki/Glob_(programming)" target="_blank">glob patterns</a> expanding to match the files of interest. Note that Linux is case-sensitive. A list of <a href="https://en.wikipedia.org/wiki/Glob_(programming)" target="_blank">glob patterns</a> expanding to match the files of interest. Note that Linux is case-sensitive.
</v-card-subtitle> </v-card-subtitle>
<v-card-text> <v-card-text>
<slot name="globs"></slot>
<v-form> <v-form>
<v-text-field v-for="(item, index) in globs" :key="index" <v-text-field v-for="(item, index) in globs" :key="index"
v-model="globs[index]" v-model="globs[index]"
@@ -98,6 +100,7 @@
<b v-if="lineNameInfo">Note: Use the <a @click.stop="tab=3">line info</a> tab preferentially.</b> <b v-if="lineNameInfo">Note: Use the <a @click.stop="tab=3">line info</a> tab preferentially.</b>
</v-card-subtitle> </v-card-subtitle>
<v-card-text> <v-card-text>
<slot name="pattern"></slot>
<v-form> <v-form>
<v-text-field <v-text-field
class="mb-5" class="mb-5"
@@ -156,6 +159,7 @@
Line information that will be extracted from file names Line information that will be extracted from file names
</v-card-subtitle> </v-card-subtitle>
<v-card-text> <v-card-text>
<slot name="line-info"></slot>
<v-form> <v-form>
<v-text-field <v-text-field
label="Example file name" label="Example file name"