On Mon, May 2, 2011 at 9:50 AM, Stefan Gofferje
<address@hidden> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 05/02/2011 04:12 PM, Tom Rondeau wrote:
>> It is a parameter, or at least settable by sending the right signal
>> through the QT API. My plan is to expose everything that we might want
>> to adjust as a slot as well as a function in the GR block for these
>> sinks. That gives us multiple ways to set and read these things. Setting
>> this would be one of those functions/slots. I don't think that I would
>> add it as an actual argument to the constructor, though; it doesn't
>> really seem important enough for that. As these GUIs are improved, I
>> think I will make the RF frequencies the default behavior and you can
>> always call the "display_rf_freqs(False)" (or whatever) from the object
>> you've created.
I was more thinking in GRC categories. You know, make display_rf_freqs a
parameter like sample rate or center frequency of the block which can be
changed by another block which is a Qt radiobutton.
Ok, that makes sense. It seems pretty easy, too, although I'm not sure it's possible.
Josh, can you have a parameter setting in a GRC block that is no a constructor argument? Instead, it's an accessor function that gets called to set a value after the block is instantiated?
Tom
- --
(o_ Stefan Gofferje | SCLT, MCP, CCSA
//\ Reg'd Linux User #247167 | VCP #2263
V_/_ Heckler & Koch - the original point and click interface
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
iEYEARECAAYFAk2+tqEACgkQbQKZlCdPOMOs2ACfTaeuUNeauyuC6eDRcqBiQ5zj
PdIAnRLYbQJvvxyJombmXE0oJ4jQx3Op
=kbPD