qt

Which open-source C++ database GUI project should I help with?

I am looking for an open-source project involving c++ GUI(s) working with a database. I have not done it before, and am looking for a way to get my feet wet. Which can I work on? ...

How can I hide/delete the "?" help button on the "title bar" of a QT Dialog?

I am using QT Dialogs in one of my application. I need to hide/delete the help button. But i am not able to locate where exactly i get the handle to his help button. Not sure if its a particular flag on the QT window. Kindly let me know if you know how to achieve this. ...

PyQT and PyCairo

I know it's possible to place a PyCairo surface inside a Gtk Drawing Area. But I think Qt is a lot better to work with, so I've been wondering if there's anyway to place a PyCairo surface inside some Qt component? ...

interacting with a CMutex without MFC

We have multiple MFC apps, which use CMutex( false, "blah" ), where "blah" allows the mutex to work across process boundaries. One of these apps was re-written without MFC (using Qt instead). How can I simulate the CMutex using Win32 calls? (Qt's QMutex is not inter-process.) I prefer not to modify the MFC apps. ...

Table and List view with single Model in Qt

I have a 2D model where each row represents a frame in a video, and each column represents an object. The object can have different states on each frame, and this is stored in the model. Then I have a QTableView that shows this data. The model has header data, so each row has a header like "frame k" and each column has a header like "obj...

QDrag destroyed while dragging

I have a Windows/Linux Qt 4.3 application that uses drag and drop in a QTreeView. I have two very similar applications which use the same set of Qt libraries. Drag and drop works in both on Linux but in only in one on Windows. In the application that does not work the QDrag object gets deleted as soon as the mouse is moved. I...

Does anyone know of a widget for a desktop toolkit(GTK, Qt, WX) for displaying a map of US states?

I'm specifically looking for one that lets me display a map of US states with each one as it's own "object" in the sense that I can control the color, on click, and on mouseover of each one individually. GTK is my personal preference, but at this point I'd settle for just about anything. The application itself will be written in Python...

QT: meaning of slot return value?

According to the documentation the return value from a slot doesn't mean anything. Yet in the generated moc code I see that if a slot returns a value this value is used for something. Any idea what does it do? Here's an example of what I'm talking about. this is taken from code generated by moc. 'message' is a slot that doesn't return...

How do I use Qt and SDL together?

I am building a physics simulation engine and editor in Windows. I want to build the editor part using Qt and I want to run the engine using SDL with OpenGL. My first idea was to build the editor using only Qt and share as much code with the engine (the resource manager, the renderer, the maths). But, I would also like to be able to run...

Do you use Qt and why do you use it?

Pros. and cons? how long do you use it? What about jambi? ...

Qt Jambi: QAbstractListModel not displaying in QListView

I've created an implementation of the QAbstractListModel class in Qt Jambi 4.4 and am finding that using the model with a QListView results in nothing being displayed, however using the model with a QTableView displays the data correctly. I'm experienced with C# but have only been using Qt Jambi for a couple of days now. Below is my im...

How do I get a selection model to work with a proxy model?

I have a model and two views set up like this: Model ---> OSortFilterProxyModel ---> OListView Model ------------------------------> OTableView When the user selects something in one of the views, I want the other view to mirror that selection. So I thought I'd use a QSelectionModel to link them together. But this does not work. I hav...

Should I use Qt Jambi in Java ?

Is it a good idea for me to use Qt Jambi in Java as a toolkit? i see that Qt Jambi is hard to learn it , and Swing is more easy than Qt Jambi . but i think that Qt Jambi is more powerfull . ...

How can I setup LookAndFeel Files in Java ?

I need to setup LookAndFeel Files in JDK 1.6. I have two files: napkinlaf-swingset2.jar napkinlaf.jar How can I set this up and use it? I would like a GTK look and feel OR Qt look and feel, Are they available? ...

Animations with full alpha in QT?

Is there an animation format supported in QT (using v4.4) that will support a full alpha channel? GIF only has one-bit transparency, and I don't think QT supports APNG. Update: MNG seems to be supported, but that's even less popular than APNG! Maybe SVG is my best bet. ...

qt/wxwidgets third party components?

I'm used to working in a Delphi and C# environment which seem to have a rich set of third party components available. I'm currently wanting to do cross-platform programming in C++ using either qt or wxwidgets. Is there a large market for third party components? I was looking at sourceforge and that doesn't seem to show much that is usefu...

Best UI development framework on windows?

I have been developing UI in Win32/MFC, but developing cool UI in Win32/MFC is very difficult and time consuming. Please note, I always want my code to be platform independent, So I prefer programming back-end (Business logic) in C++. Which is the best framework for developing cool UI on windows platform? I heard of quite a few, like Q...

How do I change the width of the vertical header column for Q3Table in qt 4.3?

I am using a Q3Table object and wanted to change the width of the vertical header column. Does anyone know how to do this? It seems i can only adjust the height of the header cell but not the width. Thanks ...

How do I create a custom slot in qt4 designer?

I don't know how to do this. Whenever I use the signal/slot editor dialog box, I have to choose from the existing list of slots. So the question is how do I create a custom named slot? Thanks ...

Library Error for Ruby/QT

When trying to create a Ruby Qt application I get this error. /usr/lib64/ruby/site_ruby/1.8/Qt/qtruby4.rb:2144: [BUG] Segmentation fault ruby 1.8.6 (2008-03-03) [x86_64-linux] I am using: require 'Qt' And am running the 64bit version of Novell OpenSUSE 11 with KDE4 installed. ...