widget

Star Rating widget for jQuery UI

I was introduced to the Star Rating widget for jQuery UI: http://orkans-tmp.22web.net/star_rating/ I was originally using this one: http://www.fyneworks.com/jquery/star-rating/ Is there any difference between using the two? Well trying to use the jquery UI one, I can't get the input buttons to show up as stars. I have these js and css ...

PyQt custom widget in c++

Can I write custom Qt widget in pure C++, compile it and use in PyQt? I'm trying to use the ctypes-opencv with qt and I have performance problems with python's code for displaying opencv's image in Qt form. ...

gwt add custom widget to panel

I have created some classes in which it create a bunch of widgets (e.g. label, textbox). I want to create the widget on the fly and add it to a panel. How can I do that. ...

QT: table widget, numbers only

Dear All, first I apologize for the probably silly question. I am having trouble with QT. I have a table widget with four columns; I want the user to be able to insert only integers in the first three and a double in the fourth. I believe that this can be done with delegate, but I have not found relevant examples (only some with QDateT...

Styling a QScrollBar by QStyle

I try to style a QScrollBar via a custom QStyle but if i draw nothing in drawComplexControl for the QScrollBar, the required space for the scrollbar on the parent widget is painted black. If i do the same with, eg a QToolButton simply the toolbutton is not painted but there is no black rect on the widget. That is what i would expect. But...

Turning Safari Web Clips into HTML

Safari's "Web Clip" feature is nice because you can take a section of a web page and access it dynamically from the desktop. This is especially cool when you are using it to "save" streaming videos and the like. What I want to do is embed one of these into an HTML page. However, unlike real widgets that are coded/WYSIWYGed, Safari doesn'...

show spinner before adding widget android

For a widget I am creating for the Android OS, I want the user to first select a certain option from a Spinner. Just like when you add a shortcut to the homescreen. Is that possible or do you have to start an Activity? If it is possible, can anyone explain how to do it? ...

Turning off animation in dojox.widget.Dialog

Anyone know how to turn animation off in dojox.widget.Dialog? I love the modal dialog, but want it to pop up immediately, rather than the painfully slow animate on that it does. I tried turning off the apparent animation controls, but it still animates. Also looked into the src code, but didn't see any smoking guns for a configuration op...

Share & Embed Widget design samples?

I am searching for some sample interface or design for creating a "Share & Embed Widget or Link" interface in my website. I found scribd.com's interface interesting http://www.scribd.com/doc/22735617/Senate-Health-Care-Bill here click on "Share & Embed" link given in top-right of the doc. Could any one please provide me some sample li...

Javascript drop down menu widget

I have a menu consisting of an <ul> in a Web CMS. I want several menu items to have sub-items that are displayed in a dropdown list. These sub-items are <ul>s as well. This is basically easy to do with a few lines of CSS and Javascript, but I am looking for a ready-made Javascript solution that helps me handle the following: Deal wit...

PySide Qt4 widget exchange in a hboxlayout

I'd like to exchange a widget inside a QHBoxLayout. This code seems to work, but as soon as I do the actual app._exec(), the code crashes with terminate called after throwing an instance of 'boost::python::error_already_set'. Is there any way to get the actual error message? (or to resolve this problem) gaParent = gameArea.parent().layo...

show image in gtkmm from integer array

I have an integer array with a gray scale image and I need to show it in my application. I'm programing in C++ with gtkmm and I can't find any widget like a canvas that allow you to show and access each pixel in the image. ...

How to create a web widget for my website users to insert on their blog ?

Hello, For my wishlist site, I would like to propose widgets to my users in order to publish their wishlist on their blog or personal website. The idea is to propose a few lines of code to my users that they only need to copy/paste to insert the widget displaying their wishlist. What is the best way to create/develop a widget ? I ha...

How to include an Iframe within a Vaadin App?

I would like to include an Iframe within my Vaadin App, how do I proceed implementing this? My initial idea was to wrap the GWT Frame widget, using the approach as described in the Book of Vaadin. Is this at all possible, or is there a better way? ...

How can i use ManyToManyRawIdWidget outside admin?

Im new to django and I would like to know how could i use the ManytoManyRawId widget outside admin. I've tried different ways but still don't work. Help would be really much appreciated. ...

Display online NSE (National Stock Exchange) data in php web application

I want to display online NSE (National Stock Exchange) data in my php web application. Please help me how to do this. ...

Can you recommend a selectable Javascript Timetable widget?

Does anyone know of a js "time table" widget? I need the following: Days of week in columns & hours of day in rows 1 hour time slot cells (or customisable) Ability to select multiple times during the week using mouse to highlight/select cells. Select times across days of week (e.g. highlight 6pm time slots Monday to Friday with the...

SWT: How to “render” a Widget in the background / into an offscreenbuffer

Hello Experts, I would very much appreciate your advice and help: How can I render a SWT Widget/Component in the BACKGROUND (offscreenbuffer?) and get the “painted” pixels that were drawn by the Widget/Component to save them on the harddisk: What I currently have is: Display display = new Display(); Shell shell = new Shell(display)...

Article stats widget in rails

Hi all, I've been trying to design a widget for my rails app and unfortunately find myself lacking in Javascript skills... I was able to create a widget based on the short guide from this blog: http://www.eduvoyage.com/2008/8/3/widget-with-rails But what I need is a little different from what they describe. If you had a digg or tweet...

How to group Widgets in my Qt app?

Easy question (I hope!). This is my first Qt app and I'm struggling with how to have groups of elements on my Gui. I need about 8 standard QWidgets (labels, edits, buttons) for each File object, which can be added or removed dynamically. So ultimately I need to put all the File objects inside a QVBoxLayout inside a QScrollArea. But fi...