annotate .dir-locals.el @ 28248:aee0f20c8029

Implement "gray" when uicontrol radiobutton/checkbox are disabled (bug #57128) * BaseControl.cc (updatePalette): Call setColor() with additional argument of "QPalette::Active" and again with "QPalette::Inactive" so that colors are set only for specific roles. * CheckBoxControl.h (CheckBoxControl): Declare new private member function update(). * CheckBoxControl.cc (CheckBoxControl): Check for "Enable" property value of "inactive" and call setCheckable (false) if found. * CheckBoxControl.cc (update): New function to intercept and handle change to "Enable" property before forwarding to BaseControl. * RadioButtonControl.cc (RadioButtonControl): Check for "Enable" property value of "inactive" and call setCheckable (false) if found. * RadioButtonControl.cc (update): New function to intercept and handle change to "Enable" property before forwarding to BaseControl.
author Rik <rik@octave.org>
date Sun, 26 Apr 2020 18:15:30 -0700
parents df203b20cfc6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13105
3d7a4a2d9cef Make .h files open in c++-mode in Emacs; make sure gnu style is set for C mode
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 9966
diff changeset
1 ((nil .
3d7a4a2d9cef Make .h files open in c++-mode in Emacs; make sure gnu style is set for C mode
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 9966
diff changeset
2 ((c-file-style . "gnu")
3d7a4a2d9cef Make .h files open in c++-mode in Emacs; make sure gnu style is set for C mode
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 9966
diff changeset
3 (indent-tabs-mode . nil)
26681
df203b20cfc6 eliminate eval in Emacs .dir-locals file
John W. Eaton <jwe@octave.org>
parents: 17588
diff changeset
4 (fill-column . 72)))
9966
d4dab9605c49 correctly set indent-tabs-mode for ChangeLogs and Makefiles in .dir-locals.el
John W. Eaton <jwe@octave.org>
parents: 9933
diff changeset
5 (change-log-mode . ((indent-tabs-mode . t)))
d4dab9605c49 correctly set indent-tabs-mode for ChangeLogs and Makefiles in .dir-locals.el
John W. Eaton <jwe@octave.org>
parents: 9933
diff changeset
6 (makefile-mode . ((indent-tabs-mode . t))))