widgets

How can web technology be used for a C++ application GUI?

Can web technologies be used for a desktop application written in a traditional language like C++? I'd guess that they can, though I've not been able to find any evidence of this. I understand Adobe Air can make desktop apps using Flash, but it uses web languages like php etc. What I'd like to do is to be able to build my GUI elements - ...

YUI AutoComplete Example Problem

Hi. I was hunting for an implementations of YUI AutoComplete and I came across this script from the site asklaila.com - <script type="text/JavaScript"> YAHOO.example.ACJson = new function() { this.oACDS = new YAHOO.widget.DS_XHR("/AutoComplete.do", ["Suggestions[0].Results","Name"]); this.oACDS.queryMat...

technology agnostic presenters - widgets

I'm experimenting with using widget interfaces and manual data binding to how it impacts using MVP in a .net application which uses more than one ui technology (ie, wpf, web, winforms). My broad question is to anyone who has experience doing something similar with their presenters: 1) is it worth the effort 2) do you have any referenc...

Where can I find a time range widget in Javascript/jQuery?

Hi, I'm looking for some sort of TimeRange widget in Javascript/CSS/jQuery. I'm not looking for a time/date picker, which are widely available. I need it for a website to allow businesses to select their openinghours by clicking and hovering over the hours they're open. +-----------------------------+ | 0h 0h15m 0h30m ... 23:45 | ...

Chain FormEncode Validators

Problem: I have a form in TurboGears 2 that has a text field for a list of e-mails. Is there a simple way using ToscaWidgets or FormEncode to chain form validators for Set and Email or will I have to write my own validator for this? ...

Qt: Square constraint on window resize

I have a QDockWidget with a single square widget inside. I would like the ``QDockWidget to be resizable, but to always maintain a square shape, whereas by default it can be stretched disproportionately. What combination of size policies, size hints, etc. do I need to set to do this? ...

What's your favorite mootools widgets and plugin

Hi people, I'm still new with Mootools. I'm trying to collect informations regarding the good and worth using Mootools plugins out there around the net. Please list your favourite Mootools widgets and plugins. One widgets and plugins per post only please so others can vote. ...

Render a Win32 widget in the OpenGL context

Is it possible to intercept a control's paint event and make it draw in the opengl context? ...

Mapping widget for Qt

Hello, I need a Qt widget that will allow me to display a map. It needs to be able to: * Run wo a network connection to a map or tile server. A simple bitmap would be fine. * Place widgets, lines and graphics on the map given lat/long * Calculate distances between points. * Compile on Linux and Windows. What would you suggest? Than...

google analytics - multiple trackers on one page (cookie conflict)

I'm writing a web application that's supposed to be embedded in other people's websites (kind of a widget). I'm using Google Analytics to track all the people that visit all instances of my script on the embedding websites. The problem is that I don't know how to use it so that it doesn't interfere with those websites' own Google Analyti...

Mobile Application Development Framework

Hi, I am looking for an mobile development framework, using which I can develop application like widgets for any mobile. I found Yahoo Blueprints. But for this I need to expose my server to internet. Are there any such frameworks like Yahoo blueprints, through which I can develop mobile widgets. Regards, Srinivas. ...

When do I have to call the startup() method of programmatically instantiated widgets ?

I create instances of dijit.layout.ContentPane, dijit.layout.StackContainer and dijit.layout.BorderContainer from my JS code. It seems I have to call the startup() method of programatically created instances. However, I'm not sure I have to call it for every widget. For instance, when I do a 'new my.foo.widget()', the startup() is fired...

WordPress: Assigning widgets to individual pages

Are there any plugins or hacks that allow assigning widgets to individual pages? EDIT: Using self-hosted (.org) 2.8.4 An example of use would be: when you're editing a page in the admin, you'd ideally have the ability to assign widgets to that specific page. The default WP behavior is more "all or nothing" in that you assign widgets to...

GWT DnD: Keep draggable within an AbsolutePanel

I made a MultiSlider widget using the GWT and the gwt-dnd addon to rate texts. On the screenshot, you can see the slider button with value 50 dragged outside the slider bar. It can't be dropped outside the bar, but it can be dragged outside of it. Is there a way in GWT to always keep the slider buttons inside the slider bar? EDIT: T...

Is there a PHP web toolkit similar to Google Web Toolkit ?

Hello, I've been playing with GWT lately, and I like the idea a lot. The only downside for me is Java, which I'm not a big fan of. (Please don't argue about Java being better than PHP, it's not the point here, really) Do you know about any mature and efficient PHP toolkit providing a set of widgets just like GWT does ? Thanks for your...

Is there a LGPL/Apache/BSD Python library for rendering modern HTML and Flash with a transparent background on Windows,Mac,Linux?

I'm looking for a Python library that's suitable, with DOM access too. I don't mind if the flash transparency doesn't carry over. PyQT's license isn't compatible with the project, and PySide isn't compiled cross-platform yet. Any thoughts? ...

How do I make a QVector of widgets?

How do I make a QVector (or some other container class) of a dynamic number of widgets, such as QPushButton or QComboBox in Qt 4? I've used the following in my window class's constructor: QVector<QComboBox*> foo; // Vector of pointers to QComboBox's And now I want to fill it with some number of controls which can change dynamically: ...

What are good Java date-chooser Swing GUI widgets?

What are good Java Swing date-chooser components? So far I've only really found these 2: JCalendar - this one is pretty good as it uses the underlying look and feel. JXMonthView in the swingx project - not so good as it uses its own look and feel Both of these look a bit clunky when compared with some I've seen on web-pages. For exam...

need support in how to make widgets in php?

hi, i need to develope a widget (php based) for my client. client wants to display his product prices in it. i have no idea how to make widgets in php? can any one help... thanks. ...

Best flash upload widget

I'm looking to upgrade the upload function of a web app of mine from a fairly simple PHP + javascript uploader to a flash uploader. I've been looking into swfupload from swfupload.org. I'm wondering if anyone has any experience with that library, or if someone can recommend a good pre-built flash upload widget. I don't mind if it req...