feat: icons for print settings (#441)
This commit is contained in:
parent
501b012bdb
commit
b533955bc3
@ -20,6 +20,9 @@
|
|||||||
{{ isLocked ? 'mdi-lock-outline' : 'mdi-lock-open-variant-outline' }}
|
{{ isLocked ? 'mdi-lock-outline' : 'mdi-lock-open-variant-outline' }}
|
||||||
</v-icon>
|
</v-icon>
|
||||||
</v-btn>
|
</v-btn>
|
||||||
|
<v-icon small :class="'mr-2'">
|
||||||
|
{{ icon }}
|
||||||
|
</v-icon>
|
||||||
<span>{{ label }}</span>
|
<span>{{ label }}</span>
|
||||||
<v-btn
|
<v-btn
|
||||||
v-if="value !== defaultValue"
|
v-if="value !== defaultValue"
|
||||||
@ -80,6 +83,7 @@ export default class ToolSlider extends Mixins(BaseMixin) {
|
|||||||
@Prop({ type: String, required: true }) readonly command!: string
|
@Prop({ type: String, required: true }) readonly command!: string
|
||||||
@Prop({ type: String, default: '' }) readonly attributeName!: string
|
@Prop({ type: String, default: '' }) readonly attributeName!: string
|
||||||
@Prop({ type: String, default: '' }) readonly label!: string
|
@Prop({ type: String, default: '' }) readonly label!: string
|
||||||
|
@Prop({ type: String, default: '' }) readonly icon!: string
|
||||||
@Prop({ type: String, default: '%' }) readonly unit!: string
|
@Prop({ type: String, default: '%' }) readonly unit!: string
|
||||||
@Prop({ type: Number, default: 1 }) readonly attributeScale!: number
|
@Prop({ type: Number, default: 1 }) readonly attributeScale!: number
|
||||||
@Prop({ type: Number, default: 0 }) readonly min!: number
|
@Prop({ type: Number, default: 0 }) readonly min!: number
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
>
|
>
|
||||||
<tool-slider
|
<tool-slider
|
||||||
:label="$t('Panels.PrintsettingsPanel.SpeedFactor')"
|
:label="$t('Panels.PrintsettingsPanel.SpeedFactor')"
|
||||||
|
icon="mdi-rabbit"
|
||||||
:target="speed_factor"
|
:target="speed_factor"
|
||||||
:max="200"
|
:max="200"
|
||||||
:multi="100"
|
:multi="100"
|
||||||
@ -24,6 +25,7 @@
|
|||||||
<v-divider></v-divider>
|
<v-divider></v-divider>
|
||||||
<tool-slider
|
<tool-slider
|
||||||
:label="$t('Panels.PrintsettingsPanel.ExtrusionFactor')"
|
:label="$t('Panels.PrintsettingsPanel.ExtrusionFactor')"
|
||||||
|
icon="mdi-printer-3d-nozzle-outline"
|
||||||
:target="extrude_factor"
|
:target="extrude_factor"
|
||||||
:max="200"
|
:max="200"
|
||||||
:multi="100"
|
:multi="100"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user