Q regarding checkboxes in a config dialog

Do you have questions about writing plugins or scripts in Python? Meet the coders here.
Post Reply
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Q regarding checkboxes in a config dialog

Post by krambriw » Fri Aug 22, 2008 10:28 am

Hello,

I have a config dialog and there are two checkboxes, one for "A" and one for "B"

I would like to create a dependency between them, so that you are allowed to check "A" or "B" but when you check "B", "A" shall be cleared and disabled/gray shaded

Is this possible? Hints are welcome

Kind regards, Walter

User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Q regarding checkboxes in a config dialog

Post by Pako » Fri Aug 22, 2008 7:02 pm

Hi krambriw !
Try import attached plugin "Test" (__init__.py place to folder \plugins\Test).

Pako
Attachments
__init__.py
plugin "Test"
(3.92 KiB) Downloaded 298 times

krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Q regarding checkboxes in a config dialog

Post by krambriw » Thu Aug 28, 2008 2:15 pm

My dear Pako, this was great!!! Very many thanks,

Best regards, Walter

Post Reply