[q-lang-cvs] qcalc calclib.q,1.28,1.29 qcalc.q,1.144,1.145
Brought to you by:
agraef
From: Albert G. <ag...@us...> - 2007-11-15 09:54:10
|
Update of /cvsroot/q-lang/qcalc In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8352 Modified Files: calclib.q qcalc.q Log Message: make task buttons flat so that they can be distinguished from ordinary toggle buttons Index: qcalc.q =================================================================== RCS file: /cvsroot/q-lang/qcalc/qcalc.q,v retrieving revision 1.144 retrieving revision 1.145 diff -C2 -d -r1.144 -r1.145 *** qcalc.q 15 Nov 2007 00:08:33 -0000 1.144 --- qcalc.q 15 Nov 2007 09:54:05 -0000 1.145 *************** *** 2478,2481 **** --- 2478,2482 ---- taskbutton_gui (I,J) () (TEXT,INIT) = qt X "setToggleButton" true || + qt X "setFlat" true || qt X "setOn" INIT || qt_connect X (SIGNAL "toggled(bool)") Index: calclib.q =================================================================== RCS file: /cvsroot/q-lang/qcalc/calclib.q,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** calclib.q 15 Nov 2007 09:26:36 -0000 1.28 --- calclib.q 15 Nov 2007 09:54:05 -0000 1.29 *************** *** 140,149 **** hslider ARGS, vslider ARGS, pushbutton ARGS, togglebutton ARGS; ! /* The task button is a special toggle button with an associated background ! task (Q thread) to be executed in the inferior Q process. The ARGS ! parameter is the same as for togglebutton, without the ICON parameter ! (instead, the icon on the button is set and animated automatically in ! response to the current activation status of the thread). The special X ! parameter is the Q expression to be evaluated by the task. Inside the background task, the task_input, task_index, task_row and --- 140,150 ---- hslider ARGS, vslider ARGS, pushbutton ARGS, togglebutton ARGS; ! /* The task button is a special toggle button with a slightly different visual ! appearance and an associated background task (Q thread) to be executed in ! the inferior Q process. The ARGS parameter is the same as for togglebutton, ! without the ICON parameter (instead, the icon on the button is set and ! animated automatically in response to the current activation status of the ! thread). The special X parameter is the Q expression to be evaluated by the ! task. Inside the background task, the task_input, task_index, task_row and |