widgets

Simple widget JavaScript library

I've been asked to write a web application in PHP to handle customers, sales, estimates, invoices... I think I could benefit from a JavaScript library that could encapsulate some basic UI functionality (sortable listings, masked input fields, date pickers...) but I don't want to adopt a heavy framework that forces me to go through a stee...

Android custom xml widget

I have an XML file in my layout folder that has how i want my custom widget/view (not sure what correct terminology is here). but how do i make it so that i can programatically, add one or more to an activity the xml file is as follows <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/r...

Displaying a popup widget in QT over application border

Let's say that I have an application frame, and I want to show a popup QCalendarWidget over on the right side of the frame. Normally, QT will clip the edges of the QCalendarWidget, cutting it in half and not displaying the rest, as it would be over the right side border. Is there a way to work around this limitation without resorting ...

QT widget for on WindowsXP

Hi Geeks, I need to create a widget which shows battery status(in percentage) inside my qt application. Can anybody suggest me how to get the winXP api to know the battery status. Then as the api will return the percentage I will display on my widget.... ...

In Android, how can i allow the user to choose a color between 4 ?

I'm making an Android App, and i need to put a control that let user choose between 4 different colors. I want to do this with something like radio buttons: the problem is that radiobuttons are round... is there a way to set them looks like square/rect buttons, and assign a color to their inside rect area ? If not, how can i achieve th...

Where can I find a control similar to the Firefox Rich List Box for use in my application?

I'm trying to implement a control similar to Firefox's Rich List Box: However, I can only find the XUL implementation of this control, and I don't want to have to include a XUL processing engine in my application just to get a cool looking listbox. I've been trying to implement one on my own by customizing MFC's CListBox control, but...

Can I create a django widget which posts back the form on a mobile?

Hi, I would like to create a widget for use in Django Forms. There is a problem though: i don't know how to make it properly work on a mobile. I'm wanting to create something like this: Send message to: search-box-here search and pressing search will post the page, but not actually submit the form at all. instead the widget will perfor...

can widgets be cached ?

Is there a way to cache widgets. For example if you place your widgets on high volume websites then each time when someone access that site, a call will be made to your server to get the widget code. This way my server can get too much overloaded just to display the widget . Can I cache the widget HTML code and place it on some server li...

Dojo and unregistering widgets

Hi, I am new to the Dojo Toolkit. I'm getting the error Tried to register widget with id=myButton but that id is already registered whenever I try to load dojo content twice (meaning I load HTML content through jQuery.Load into a container div). Is there a way of unregistering already registered widgets in dojo? I've seen some exampl...

How to create a searchbox with suggestions as advertising rectangle/widget?

We run a database driven website. The next release will have a searchbox with real-time suggestions including thumbnail images. I was wondering if it would be possible to implement this as a widget that can be embedded on other sites as well. Preferrably also as advertising using an ad network.. I would like to get feedback on general a...

symfony: boolean columns not rendering checkbox widgets as checked

Using Doctrine in symfony 1.4 I have several boolean columns defined (stored as a tinyint in mySQL). The checkbox widgets are always rendering as checked, even when the returned value is '0'. It seems related to this ticket. Is this a common problem? Is there a workaround? I can get it working by changing line 70 in sfWidgetFormInputCh...

All about Jquery Widgets

I am looking for a good tutorial on jQuery Widgets. I have been following this guide (http://bililite.com/blog/understanding-jquery-ui-widgets-a-tutorial/) , and while very helpful it would be nice to have an extra resource or two to go by. ...

getting a blackberry widget to display an image from an external web site

I am just getting started looking at Blackberry widgets and wanted a simple app that went out and displayed an image from an external web site. This should be simple, but I can't get it two work. Is there something I am missing? ...

ASP.NET Dashboard / Widgets

I'd like to build a dashboard interface for an application I am working on. I want users to logon and get a birds eye view of the status of applications, outstanding issues, etc. I'm wondering if there are some good, pre-made controls rather than writing these from the ground up? ...

How do I create a ListBox In Ext-GWT ?

Plain and Simple, I want to use a Listbox in my project, The demo here: http://www.extjs.com/examples shows no answer, In fact, I really hate it when companies show-off their 'complex' widgets in this manner and fail to show the most basic of all widgets. For example, I discovered class SimpleComboBox over the net till then I assumed th...

Something like Merb Parts in Rails 3?

Is there anything like Merb Parts in Rails 3 out there now? I've seen Rails Cells, but felt like nobody was using them. What are your thoughts? Are these suitable for widgets? ...

Android Zoom Controls keep zooming in and will not stop

My zoom controls keep zooming in when I press the button, and will not stop, am I missing something? zoomControls = (ZoomControls) findViewById(R.id.zoom); zoomControls.setOnZoomInClickListener(new View.OnClickListener() { @Override public void onClick(View v) { mc.zoomIn()...

How do you detach your pageload from third party scripts?

I have this problem where the UI components of my page like the drop down menus arent available until thirdparty scripts finish loading. This causes a problem because who knows whats going on on those servers. I need to detach the availability of the page's interactive components from the loading of thirdparty stuff... how? =/ ...

Mac dashboard widgets not loading external images

I set out to make a quick Mac OS X dashboard widget. I read the documentation and was pleased to find out they use simple HTML, JS, and CSS. I created my widget and it works when I open the .html file in Firefox, but it does not work when I install the widget to the dashboard. The widget is simple: it displays the most recent image from...

Symfony forms: how to change default widget for form generation

I'm using a custom Widget for date fields, and I want to use it in all my forms. The problem is that symfony uses the default sfWidgetFormDate. What I want is to change this default widget in order to generate forms with my custom Widget. I don't want to change by hand all the forms generated. The only approach I have found is the trik ...