widget

Problem with dojo tree

Hello, I'm trying to get the dojo tree widget working. It works with a small json object, but when i try it with a large json object it goes wrong. There is no error, just the root node. Is this a normal behavior? Is there a maximum of objects you can load? My json object contains around 800 entries. Thanks, Ewout ...

Concept & Algorithm: How to record only single URL for widget?

I have created a widget for my web application. User's getting code and just pasting that code in their website and my widget works on their website something like twitter, digg and other social widgets. My widget is on the basis of post, for a single post (say postid: 234) I am providing single widget, so anyone can embed the widget on...

Removing the Label From Django's TextArea Widget

How do I remove the label that comes attached to the TextArea I am trying to use with Django? I'm trying to find ANY information about this issue but I cannot seem to find anything relating to my problem. This is what I'm doing in my code: class CommentForm(forms.Form): comment = forms.CharField(widget=forms.Textarea()) This is th...

Display Flash Web Widget in a Delphi form

I would like to display the yahoo weather widget (or any similar flash or java based widget) in a Delphi application. I freely admit I don't quite understand what would be required to make this work. Any suggestions on how this could be accomplished would be appreciated. I'm using Delphi 7. All of the Widgets are just HTML Code, which ...

How do I add "onload" to my Dojo class?

I'd like to add an "onload" function to my custom Dojo class such that it can call functions that register to for the event - something like myWidget.addOnLoad(...) My class is not a Dijit it's a simple class that uses dojo.declare. Upon creation several functions are called (xhr, etc) to initialize the class and I need the ability to n...

What is this widget called?

There is a rotary control I have seen that is like the edge-on view of a knurled volume control wheel on an old Walkman. Without knowing what it's called I can't search for it - I'm pretty sure that the app was based on Qt. Edit - having tried it on a couple of people younger than me it seems that the iPod generation don't know volume k...

Django required field in model form

I have a form where a couple of fields are coming out as required when I don't want them too. Here is the form from models.py class CircuitForm(ModelForm): class Meta: model = Circuit exclude = ('lastPaged',) def __init__(self, *args, **kwargs): super(CircuitForm, self).__init__(*args, **kwargs) self.fields['...

Access attributes from XML in shell

I'm trying to parse out values from a Widget config.xml using shell. I do want to use sed for this task. If there is something that sucks less than xsltproc, I'd love to know. In this example I am after the id attribute value from the config.xml below: <?xml version="1.0" encoding="UTF-8"?> <widget xmlns="http://www.w3.org/ns/widgets"...

[SWT]Make Animations.

Hello everyone. My question is quite simple but I can't find any clear answer anywhere... I have to make some animated design with lots of pretty effects and color gradients in a SWT compliant way ... I assume what I try to mean is not clear as water so I'll try to explain more... I have an RCP application in which I need to have a spe...

Android - accordion widget

I'm looking at best way of creating Accordion-style widget such as on this page Is there a way of achieving same effect using standard Android toolkit or do I need to build custom widget? If so - which one would you recommend extending if any? Thanks a lot for your suggestions ...

Creating an OpenID login widget

I need an OpenID login widget like the one on Stackoverflow or Id Selector (which has been discontinued in favor of RPXnow which is a commercial service). What is the best way to make these? Is there a framework or example implementation anywhere? ...

Dojo widget defaults

Hi All, i'm currently writing a large scale application heavily based on the dojo toolkit. The whole app is working and standing, but one issue i can not find my way out with, is the creation of custom widgets. It would be useful because it would clean up my source code and also i can reuse this 'widgets' in later projects. For example...

AJAX/JQuery response time performance widget

I'm looking for an AJAXian widget that shows the time between client browser and server. Any ideas? ...

free javascript widget to show an organigram chart...

I'm looking for a javascript widget to show some fairly complex graphes... Ideally, it would be interactive, that is the user should be able to move around the nodes, select one or many, zoom in, click on a node to see more info, etc... If it could have printing support, that would be marvelous... The idea is to let the user browse th...

Looking for a webcam recording widget

This may not exist, but if I was hoping someone was aware of a product (doesn't have to be free) that would allow you to embed a widget on a site where the user could create videos using their webcam. Then you would be able to get those videos via API. Like youtube's record from webcam feature (http://www.youtube.com/my_webcam) but wit...

Get Django Form Widget 'SelectDateWidget' to display 'Blank' option.

No documentation on this one, should be simple, but not functioning for me. Here's the raw code: http://code.djangoproject.com/browser/django/trunk/django/forms/extras/widgets.py Trying to pass a value of required=False to the Widget to get blank values (line 23 in the raw code: none_value = (0, '---')) but get an unexpected argume...

Qt - fullscreen widget

Hello, i have a question. How can i make my widget fullscreen? I've tried something like this: void MainWindow::SetFullScreen() { // Make our window without panels this->setWindowFlags( Qt::FramelessWindowHint | Qt::Tool | Qt::WindowStaysOnTopHint ); // Resize refer to desktop this->resize( QApplication::desktop()->size(...

Obtaining a referring short URL using a widget.

Hi, I'd like to create a client-side javascript widget on a blog that obtains the shortened URL from which a visitor used to come to the blog. While the widget can get the Referrer, such would only be the referring page URL, not the shortened URL that was placed on the site that had to be clicked. I know shortener sites use either 301 or...

Adding properties for many widgets

I have a graphics engine, for which I have to make an editor. Editor aims to create xml file which describes how screen is constructed from layers etc. There is a lot of classes like SimpleText, Rectangle, Layer in the engine. Some of them share set of the same methods like GetWidth but many are specific to the given widget. I would li...

How to use the same widget twice in pygtk?

This doesn't work well: image_log = gtk.Image() image_log.set_from_file("test.png") self.out_button = gtk.Button() self.out_button.add(image_log) self.err_button = gtk.Button() self.err_button.add(image_log) another_box.pack_start(self.out_button, False) another_box.pack_start(self.err_button, False) ...