qt4.6 Questions
4
Solved
2
Solved
I'm trying to create a QString which is a hexadecimal number with its letter digits in Capitals instead of small caps, how can it be done?
QString( " %1" ).arg( 15, 1, 16 )
yields f and I'd lik...
8
Solved
I'm using Qt4.6 and I have a QComboBox with a QCompleter in it.
The usual functionality is to provide completion hints (these can be in a dropdown rather than inline - which is my usage) based on ...
Andizhan asked 26/2, 2011 at 19:29
7
Solved
I've tried these in my mainform's constructor:
QRect desktopRect = QApplication::desktop()->availableGeometry(this);
move(desktopRect.center() - frameGeometry().center());
QRect desktopRect = ...
3
Solved
I am subclassing QTabWidget to add a QTabBar, who's tabs stretch over the whole width of the tabBar. Therefore I am setting the expanding property to true. This doesn't seem to change anything abou...
Delete asked 27/2, 2011 at 14:51
1
Solved
I'm writing a unit test for a custom Validator in a QTableView using the QTestLib framework. One of the most basic test cases could be described like this:
Double click the table cell in the thi...
Lifer asked 26/9, 2012 at 15:3
2
Solved
I was searching for a good Qt + Lisp implementation on the internet and couldn't find any. Most projects were closed down or so.
Does anybody know of a good Common Lisp + Qt integration?
Thanks ...
Rie asked 3/3, 2011 at 21:31
2
I'm using Qt, and I use a QWizard object which contains several pages.
when it comes to a specific page, I want to hide the "Next" button first, and shows it after the user do something (such as cl...
1
Solved
How do I convert my font on a QGraphicsObject from point size to pixel size? I need to do this so the fonts will look right when I print my QGraphicsScene using QGraphicsScene::render().
2
Solved
I have a QGraphicsScene that has graphics as well as text drawn on it. When I try to print, the graphics are fine, but the text is using a font size defined in points, so scene->render() when I ...
2
Solved
I'm using QTableView and QStandardItemModel now.
In the QTableView, if you double-click a cell, this cell will get into edit mode and you can edit its content.
Now I have a problem, I want to tri...
Drawshave asked 9/9, 2010 at 23:33
1
Solved
Let's say I have a window-less application which has only an icon on the Taskbar (Windows, Mac OS X & Linux). I want it to capture some key & key combinations, let's say Right Control + Rig...
1
I'm starting off QT 4.6's example "OpenGL - 2D painting"
It uses a subclass of QGLWidget, and makes painting operations with the class QPainter.
I'd like to know how to do drawing directly with Ope...
1
Solved
I'm using a Table View.
I'd like to remove the cell padding (or margin) so I can squeeze more cells in less space. How can this be achieved?
The cells size is set to 32 pixels on QT designer, if I ...
1
© 2022 - 2024 — McMap. All rights reserved.