widget

Custom style with Qt

Has anybody experience in building a custom style in Qt? What I have in my mind is a complete new style that affects all kind of widgets. I have seen some examples in the web for a custom combo box. But I have no idea how much time and code it takes to build a "complete" new custom style ... maybe someone can give me a hint. We think of...

Resizing an iframe based on content

I am working on an iGoogle-like application. Content from other applications (on other domains) is shown using iframes. How do I resize the iframes to fit the height of the iframes' content? I've tried to decipher the javascript Google uses but it's obfuscated, and searching the web has been fruitless so far. Update: Please note that...

How to set an initial size of a QScrollArea?

I know that this is a very specific C++ and Qt related question, but maybe someone can help me, anyway ... See the code below: I want to display an image within a scroll area. The view port of the scroll area shall have a defined initial size. That means, if the image's size is bigger than the initial size of the view port, scroll bars ...

How to create a small widget with JavaScript

I really don't know how to describe it, but if you understood it and you have an experiend on that field, may be you can help me with something 'Open Source' and 'Ready-made'. I want to create something like a box 'or widget', where you can change it content by hitting some buttons on the upper of the box. (Hey the box is on a web page ...

What is a good resources to add content snippets (widgets) to many sites like iGoogle, Facebook and MySpace, etc

I have found services like ClearSpring and Widgetbox for putting content snippets onto a widget range of social networking web sites, but I would like to build my own widgets without a third party dependency. I have been looking but I have not yet found a good resource to learn how to create widgets/gadgets for multiple sites. It was eas...

Is there a way to programatically enable a widget from a plugin in WordPress?

I've got a plugin I wrote for wordpress and I need to have the Pages widget enabled for everything to work properly. It would be nice if I could enable it myself in the plugin rather than requesting the user to do this. Do you know of a way to do that? G-Man ...

browsing olap cubes

dows anybody know any fine open source cube browser??? ideally it would be something built with plain javascript... does it even exists??? I'm planing to use it with classic asp agains a sql database... thanks a lot ...

install EventFilter on QWidget (qt4.4.3/kde4)

I have a K* window, and within it, a widget which needs the events filtered. For example I do not want the possibility of clicking it... How can I do that? Have I to use eventfilters? In this case, what's the best way? ...

A simple example of dojo widget composition using InlineEditBox ?

How can I use dojo 1.2 to : a. define my own widget which inherits from an existing widget (say, the dijit.InlineEditBox widget) b. programmatically insert a second widget (say a dijit.form.TextArea widget) so that it is the inline editable widget. I can see how this sort of stuff works with a template html file, but if I want to do ...

PHP 'something like widget' code design

I have a prototype website written in PHP. Lately i've rewritten code to separate logic from layout and database operations. So now I have something like MVC code design. Now what bothers me, is that in MVC I'll have many files and each will display something when combined with other (model+view+controller). So I figured out that it wou...

How to maintain widgets aspect ratio in Qt?

How is it possible to maintain widgets aspect ratio in Qt and what about centering the widget? ...

Android - Get time of chronometer widget

I have a Chronometer widget in my Android app. I was wondering how to get the time from it. I tried getText, getFormat, getBase, etc, but none of them work. This is probably a easy question, but I could not find it on Google. Thanks, Isaac Waller Example code snippet: Chronometer t = (Chronometer)findViewById(R.id.toptime); long time =...

DOM Aware Browser Python GUI Widget

I'm looking for a python browser widget (along the lines of pyQT4's QTextBrowser class or wxpython's HTML module) that has events for interaction with the DOM. For example, if I highlight an h1 node, the widget class should have a method that notifies me something was highlighted and what dom properties that node had (<h1>, contents of t...

What WYSIWYG editor does Stackoverflow use?

This is a great editor. Did you guys build it? Duplicate. ...

Widget - Iframe versus JavaScript

I have to develop a widget that will be used by a third party site. This is not an application to be deployed in a social networking site. I can give the site guys a link to be used as the src of an iframe or I can develop it as a JavaScript request. Can someone please tell me the trade offs between the 2 approaches(IFrame versus JS)? ...

Custom django widget - decompress() arg not populated.

As an exercise I am trying to create a custom django widget for a 24 hour clock. The widget will is a MultiWidget - a select box for each field. I am trying to follow docs online (kinda sparse) and looking at the Pro Django book, but I can't seem to figure it out. Am I on the right track? I can save my data from the form, but when I pre...

Nokia Widget: How can I pass a startup parameter ?

We are developing a new UI for one of the products and we are exploring using the Nokia Widgets, It seems to do almost everything we need, but we need to pass an initial token to the widget on startup. So far I have not found any way to do so (looking on the Nokia forums, SO and Google... :( ) so I am wondering if it is possible at all....

E-Mail address widget from Hotmail

When emailing someone from hotmail, the "To" field has a widget where individual email addresses are automatically encapsulated in a the closable box. What is this widget or control called? Can I downnload or purchase this control from anywhere? ...

"Widget" or "Gadget"?

This question is about semantics. I have a client who says that the term "widget" should only be used when referring to a dynamic object that syndicates your own content on to a third party site. I believe widget can be used to refer to any self-contained dynamic object on a site (your own or a third party). However, my client says tha...

Is there a Jquery tab control which handles multiple lines of tabs well?

I have an web application with a dynamic number of tabs ranging between 2 to 20. I'm currently using Jquery UI's tab plugin, but finding that it's behaviour is less then Ideal (i.e. around 12 tabs, when it wraps, the second line of tabs move with the tab selection and sometimes jump across 3 lines instead of two. This is a two-fold que...