Notices


Reply
Thread Tools
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#51
Originally Posted by xes View Post
Probably the default behavior i would expect is an "add entry" form ready for a cut&paste or in second chance the xml import wizard to add an entire set of resources (maybe also an export to backup?)...
That sounds doable (although I'm nervous about cut & paste on the phone, I've never been able to use it very well myself). I'm kind of more concerned about how I display this collection to the user; I guess it would have to be a list of some sort, with a name (and maybe some user-defined description?) for each collection. Hmm. I'll see what I can come up with...

Concerning the widget behavior while without internet connection, there is still something wrong but i think to recall that it was just partially fixed.
This would not be a surprise. I'm sure there are plenty more bugs yet to be fixed. It wouldn't be as much fun if it was perfect from the very start.
 

The Following User Says Thank You to Copernicus For This Useful Post:
Posts: 569 | Thanked: 462 times | Joined on Jul 2010 @ USA
#52
Originally Posted by Copernicus View Post
Wow, that is a long wait! I've not seen that long of a load before. Can you tell me the webcam it is trying to load?
http://www.intellicast.com/National/...1&animate=true

By the way, you may know this but the Fettucine "Webcam Info" screen cuts off the display of long URL's - I had to open the URL in MicroB & then read it from there.
 

The Following User Says Thank You to rotoflex For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#53
Hmm. When I try to load the gif file associated with that page,

http://images.intellicast.com/WxImag..._None_anim.gif

it comes up almost instantly. I also tried feeding the web page's own URL to Fettuccine, but it fails to load (which is what should happen). I'm not sure what's going on here...

By the way, you may know this but the Fettucine "Webcam Info" screen cuts off the display of long URL's - I had to open the URL in MicroB & then read it from there.
Hmm. I've got the "word wrap" option set on those labels, but apparently that's not working with links. I'll try changing from a QLabel to a QTextView, maybe that'll work better...
 
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#54
Originally Posted by Copernicus View Post
I've got the "word wrap" option set on those labels, but apparently that's not working with links. I'll try changing from a QLabel to a QTextView, maybe that'll work better...
Word wrap only wraps where there is a word boundary, so it doesn't generally work with URLs, unless there is unencoded whitespace.

EDIT: QTextEdit has more fine-grained wrapping options, so that might be the best option. Setting the stylesheet to "background: transparent" should be enough to obtain a QLabel-like appearance.
__________________
'Men of high position are allowed, by a special act of grace, to accomodate their reasoning to the answer they need. Logic is only required in those of lesser rank.' - J K Galbraith

My website

GitHub

Last edited by marxian; 2014-07-21 at 23:26.
 

The Following 3 Users Say Thank You to marxian For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#55
Originally Posted by marxian View Post
EDIT: QTextEdit has more fine-grained wrapping options, so that might be the best option. Setting the stylesheet to "background: transparent" should be enough to obtain a QLabel-like appearance.
Yup, just tried it out, and it works much better. I'm not sure I really need to make it look like a QLabel, either; I suppose I really should put a little more effort into both what the info screen should contain as well as how it should look. Thanks!
 

The Following User Says Thank You to Copernicus For This Useful Post:
Posts: 2,292 | Thanked: 4,135 times | Joined on Apr 2010 @ UK
#56
Possible bug?
Seems on startup I get "Textlabel" instead of the text.

I am slowly compiling a list of UK traffic motorway cameras I currently only have Lancashire but I hope to release a finished full categorised UK XML file in the future.

Maybe XML files could be plugin based like multimote?
Attached Images
 
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 

The Following 5 Users Say Thank You to sixwheeledbeast For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#57
Originally Posted by sixwheeledbeast View Post
Possible bug?
Seems on startup I get "Textlabel" instead of the text.
Yes, definitely a bug. I'm not initializing the label correctly on startup. (I should have fixed it already, but I've been spending way too much time playing around with Linguine...)

I am slowly compiling a list of UK traffic motorway cameras I currently only have Lancashire but I hope to release a finished full categorised UK XML file in the future.

Maybe XML files could be plugin based like multimote?
Sounds like a good idea, let me take a look!
 

The Following 2 Users Say Thank You to Copernicus For This Useful Post:
Posts: 638 | Thanked: 1,692 times | Joined on Aug 2009
#58
Since i'm almost unsatisfied of many meteo services... I have found that the only way to know if there is a REAL storm arriving over my head (or car) is:

http://blitzortung.net/Images/image_b_eu.png
http://blitzortung.net/Images/image_b_fr.png
http://blitzortung.net/Images/image_b_de.png
http://blitzortung.net/Images/image_b_uk.png
http://blitzortung.net/Images/image_b_pl.png
http://blitzortung.net/Images/image_b_sk.png
http://blitzortung.net/Images/image_b_gr.png
http://blitzortung.net/Images/image_b_as.png
http://blitzortung.net/Images/image_b_us.png
http://blitzortung.net/Images/image_b_sa.png
http://blitzortung.net/Images/image_b_oc.png

(updated once a minute)

or a gif:
http://www.wetter-rosstal.de/blitzor...hp?animation=2

Maybe someone else could find this useful.

@Copernicus
for one of the next releases, if you need some idea to add a function... some kind of image crop would be useful.

Last edited by xes; 2014-07-30 at 16:50.
 

The Following 4 Users Say Thank You to xes For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#59
Originally Posted by xes View Post
for one of the next releases, if you need some idea to add a function... some kind of image crop would be useful.
Ah, interesting idea! I'll take a look...
 

The Following 2 Users Say Thank You to Copernicus For This Useful Post:
Posts: 638 | Thanked: 1,692 times | Joined on Aug 2009
#60
..or even expose to an external command line tweak

wget http://blitzortung.net/Images/image_b_fr.png -O- 2>/dev/null | convert - -fill Black -fuzz 35% -opaque Green output.png

wget http://blitzortung.net/Images/image_b_pl.png -O- 2>/dev/null | convert - -fill Black -fuzz 35% -opaque Green - | convert - -crop 500x500+200+200 output.png

Last edited by xes; 2014-07-30 at 17:42.
 

The Following 3 Users Say Thank You to xes For This Useful Post:
Reply

Tags
webcam


 
Forum Jump


All times are GMT. The time now is 07:47.