![]() |
Re: [Announce] binaryclock
Quote:
https://garage.maemo.org/projects/binaryclock If you build it on a Linux or Windows machine you will simply end up with the Q Binary Clock version. Actually, I differentiate between Maemo and "Desktop" version with quite a number of ifdefs. If you are interested in coding your own binary widgets the BinaryDisplayWidget base class and its subclasses Horizontal- and VerticalBinaryDisplayWidget are probably the most interesting ones. As you will also see, I am currently drawing the LEDs "by hand" using QPainter instead of using image files. The reason for this is that this solution promises to scale without quality loss. |
Re: [Announce] binaryclock
Quote:
I have a different need - very niche-oriented, perhaps only of interest to myself and at most one or two others on this planet. :cool: |
Re: [Announce] binaryclock
Quote:
By the way, what kind of exotic use-case do you have, if I may ask. ;) |
Re: [Announce] binaryclock
Alright,
just uploaded version 0.4.0 to extras-devel. With this version you have the choice whether you want to display seconds or not. |
Re: [Announce] binaryclock
Quote:
---------- Also, bug: Mine displays GMT time instead of local, that is, time - 2h. 0.4.0 here |
Re: [Announce] binaryclock
Quote:
This should fix the issue. |
Re: [Announce] binaryclock
--deleted--
Rebooting fixed it, it is now correctly showing local time. |
Re: [Announce] binaryclock
Just uploaded version 0.5.0 to extras-devel.
With this version you can use two new display options: 'Unix Time' and 'Unix Time "BCH"'. Unix Time is simply the Unix time stamp shown as 32 bit integer. Well, to be accurate, it is not 100% exactly the Unix time, which is supposed to be a signed integer, but it is shown as unsigned integer. The time is represented as four bytes on top of each other (most significant byte at the top). The most significant bits are at the left. Unix Time "BCH" displays the Unix time as well but uses a "Binary Coded Hexadecimal" representation. Basically, it shows the nibbles (the hexadecimal digits) via a binary representation from left to right. The most significant digit is located at the left. The most significant bits are at the top. For these two display options disabling the "Show Seconds" option simply omits the least significant byte from being drawn. |
Re: [Announce] binaryclock
I think something's broken in the resizing in 0.5.0, the LEDs are cut off. To avoid this, I had to increase space between and lower LED size, but not they are quite small and the effect is lost.
I have 22 LED size and 14 border. Lowering border exhibits cut off and increasing LED size puts one LED over the other. |
Re: [Announce] binaryclock
Quote:
As a quick and dirty workaround could you try increasing both LED size and border? Actually, I tried LED size of 22 and border 14 for all clock styles, but I cannot reproduce the issue here. Any further information about your particular setup would help. There are some sizing issues but I only experienced these with smaller values for LED size and border. |
All times are GMT. The time now is 20:56. |
vBulletin® Version 3.8.8