Using a .ui file in another class?
Hi, I have a MainWindow class in which I have already used a .ui file for creating the Main Window of my application. Now I want to create an About Dialog. I created the same in a .ui file (without...
View ArticleQt - not all widgets refreshed after stylesheet change
Hi, I have style manager, so user can change stylesheet and palette at runtime. But after this operation, not all widgets are “restyled”. New look is applied when widget is recreated. Same code called...
View ArticleGet free disk space
Hello, i am looking for a function to get free disk space on a selected volume, but i can’t find none native. So i found this:...
View ArticleStrange error while opening file?
Hi, I am getting a strange error in Qt Creator’s “Application Output” region while running/degubbing my application from Qt Creator: log4cplus:ERROR No appenders could be found for logger...
View ArticleStrange error while debugging my application?
Hi, I get the following error while debugging my application: (Internal error: pc 0×357 in read in psymtab, but not in symtab.) (Internal error: pc 0×357 in read in psymtab, but not in symtab.)...
View ArticleLaunching qwt app on another computer
I`m trying to launch qwt application on another computer, which is successfully compiled and working on my computer, where is qt and qwt not installed. I put in the folder with .exe file such dll`s:...
View Articledialog openes several time in MainWindow
hi all, i have the following problem: i have a mainWindow and a .ui form which opens if i press a button in the mainWindow. the .ui form has an OK button and a Cancel button. after i open it 1st time,...
View ArticleDrag & drop between two QtreeWidgets
Hi, I have been working in a quite big project where there was a Qwidget integrated in a QDeclarativeView for a few months, and I had a bug that I am trying to solve. To solve it I am reducing the...
View ArticleAdjust size problem
Hi guys I made a interface by ui. Sometimes I hide some labels, text edits etc. When I hide them, There are a lot of blank areas on the group boxes and frames. I add the adjustsize() function under the...
View ArticleDoes ANGLE built Qt support desktop OpenGL?
Does ANGLE built Qt support desktop OpenGL?
View ArticleEmit a signal when a subwindow is clicked
Hello, I have a bunch of widgets (mini screens) that I put into subwindows of an mdiarea. I would like to find a way to emit a signal when one of the subwindows are clicked or double clicked. The click...
View Articlestd::__non_rtti_object is thrown in QAbstractItemModel::endResetModel()
Hello I recently switched compiler from MinGW to MSVC. I have now a bug on a code that worked fine with MinGW. The runtime throws a std::__non_rtti_object exception when I call endResetModel(); I built...
View ArticleQT für Ubunto12.04 (Linux)- ttyS
Hallo ,, Eine kleine Anwendung (GUI) mit BUTTONS muss entworfen werden, und dann muss ich Daten über den ttyS0 senden und empfangen. ich benutze Ubunto 12.04 (Precise Pangoli- mit Hilfe von GNOME...
View ArticleProblem with boundingRect() method
Hi, In a QGraphicsScene instance I want to create a QGraphicsSimpleTextItem (label) as a child item of a QGraphicsRectItem (Rectangle). So, I have to set the width and the height of the rectangle (the...
View ArticleQtMultimedia : defaultServiceProvider::requestService(): no service found for...
Hello everyone, my problem is the following : I’m developping a multimedia application with Qt obviously (Qt 5.1.0-RC1), therefore I use the QMediaPlayer [qt-project.org] class from the QtMultimedia...
View ArticleMake sure window is animated on show()
Is it possible to ensure a window is animated when shown? So, basically when you create a new dialog it gets shown popping up in a little animation. Then if you kill it or show it again it just appears...
View ArticleInstallation is a mess !
I have just spent 3 unproductive hours trying to get a working QT 4.8 system on Windows 7 with Visual Studio 2008. I downloaded the Qt libraries for Visual Studio 2008 and Qt Creator. Qt creator cannot...
View ArticleTuboLinux1 Client 12.5へのインストール
お世話になります。教えてください。 Win8上のVirtualBox上のturbolinux Client12.5にQt5.0.2をインストールしようとしてrunファイルをshしようとしたのですが cannot execute binary file になってしまいます。unameやfileをやってみても32ビットになっていて特に問題が見つかりません。何が問題なのでしょうか?教えてください。...
View ArticleMenu bar does not show up
Hi I am following tutorials on youtube. My form has Manu bar and toolbar. I have created one menu named File and under that I have submenu called New Window. I also added actionNew_Window to the...
View Article