qt3

Hierachical data in TreeViews and TreeView updating technique

I have lots of (hierachical) data that I show in a TreeView (could be around 20K items or more, including children items). The peculiar problem with my data is that each object shown in the treeview can exist in many treeview items. What I mean by that is that I might have an hierarchy like this one: Item_A -> Item_B -> ItemC Item_B ->...

How to detect the mouse state in Qt without a MouseEvent

Okay, using Qt, I'd like to know how to detect the current state of the mouse at any point in time - without a MouseEvent. Using QCursor::pos(), you can get its position, but is there a way to determine the current state of the buttons? Basically, I'm looking to verify the state of the mouse when a timer goes off, so it won't be relate...

Oracle Driver for Qt

Any oracle10g driver is available for QT3 ...

Qt, how to set text edit scroll bar to the bottom? C++

I have the text edit box as a chat window, but I was wondering if there was a way to set the scroll bar to be at the bottom to show the most updated message. I am currently using Qt3 and C++. chat_box->.... I tried looking and was only able to find "ScrollBarMode" but it only lets me turn it on or off or auto... which doesn't really he...

Generate .h and .cpp from .ui file

Hey guys, I have the file about.ui. As you know, inside the qt design i can do the ui.h file... But how can i make the "about.h" and the "about.cpp" from my .ui file? i have to create a .moc file too? How can i compile this after create to see if all be done correctly? Thanks from Brazil! :-) *I´m using qt 3.2 ...

Margin in popup menu (qt3)

Is there any method to get rid of the huge margin on the right side? It appears to be constant, because adding some text to the menu items doesn't change its width at all. ...

Why have QString in struct sometimes a bad-ptr?

Hi there! I've got an complicated error. The software send PrintParamters to a Printer a couple of times. At a certain moment all QStrings of the Parameter Struct are broken (bad ptr) Is there an general issue with QStrings in Structs? here is the struct I'm using: typedef struct RecorderPrintParam { ES_DataType xxxxxxxxxx; bool ...

Seeking advice on moving Qt 4 and Java applications between desktops on KDE 3

We've got a (perhaps?) unusual situation where we have a lot of applications built on Qt 4 and some applications built in Java (Swing) but we're using KDE 3. We're on Red Hat Enterprise Linux 5 and since there's no official version of KDE 4 for it, upgrading to KDE 4 is not a possible option. One of the things on our project our custome...

QT3 fullscreen command

Is there a command for true fullscreen support on qt3? THX! ...

Adding custom widgets to QMenuBar

Hello, Qt3 used to provide QMenuBar::insertItem with QWidget* parameter. This way any custom widget could be added to menu bar - for example a clock-widget. In Qt4 there is no such overloaded method. What would be the best way to reach the same goal - adding custom widgets to a menu bar? The custom widgets should be integrated in the lay...

Missing rules XML file for qt's 'uic3 -convert'

I'm trying to run uic3 -convert to convert some QT3 .ui files to QT4. When I run it, uic3 reports that it's unable to find the rules file (q3porting.xml). Where does uic3 look for the q3porting.xml file Can I pass the rules file as an argument on the command line (similarly to using qt3to4 -rulesFile)? If not, what else can I do? ...