Q regarding checkboxes in a config dialog

Do you have questions about writing plugins or scripts in Python? Meet the coders here.

Q regarding checkboxes in a config dialog

Postby 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
krambriw
Plugin Developer
 
Posts: 1144
Joined: Sat Jun 30, 2007 2:51 pm

Re: Q regarding checkboxes in a config dialog

Postby 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 61 times
User avatar
Pako
Plugin Developer
 
Posts: 1282
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic

Re: Q regarding checkboxes in a config dialog

Postby krambriw » Thu Aug 28, 2008 2:15 pm

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

Best regards, Walter
krambriw
Plugin Developer
 
Posts: 1144
Joined: Sat Jun 30, 2007 2:51 pm


Return to Coding Corner

Who is online

Users browsing this forum: jonib and 0 guests