Improvements to DLP projector: disable all options while printing; apply config changes to the printer preset so that user can save them; show total and remaining print time

This commit is contained in:
Alessandro Ranellucci 2015-12-04 18:52:53 +01:00
parent 7523550066
commit 366b364996
2 changed files with 67 additions and 7 deletions

View file

@ -251,6 +251,18 @@ sub _on_change {
$self->on_change->($opt_id, $value);
}
sub enable {
my ($self) = @_;
$_->enable for values %{$self->_fields};
}
sub disable {
my ($self) = @_;
$_->disable for values %{$self->_fields};
}
sub _on_kill_focus {
my ($self, $opt_id) = @_;
# nothing