Qt
Displaying an image in QLabel
I have created a Qt interface, add a Qlabel and set pixmap to an image.imagelabel = new QLabel(centralwidget);[详细]
2023-04-11 08:54 分类:问答How to develop nice-looking, visually modern applications in QT?
I\'m wondering how to develop visually modern, with attractive GUI applications in QT. When I run QT Creator and start new project, the GUI looks very basic and \"pure\", just like simple win32 apps.[详细]
2023-04-11 08:42 分类:问答Issue with QHash
I been trying and trying to get this to work but it just refuses to work. I read the QT documentation and I\'m just unable to get the insert function to f开发者_运维技巧unction. When I build I get the[详细]
2023-04-11 07:47 分类:问答Qt OpenGL default scale is really strange
I\'m working on an OpenGL example out of a Qt programming book. Almost everything works fine, but the default scale seems to be way off. I should be seeing a pretty standard cube, but instead I see th[详细]
2023-04-11 07:31 分类:问答Read and Send a file via QDataStream and QTcpSocket
My problem is that the variable content is always empty. Here is my code: QFile file(\"/home/qt/Client/file.txt\");[详细]
2023-04-11 07:01 分类:问答In Qt how do I reset the background colour of an item in a ListView from the Model?
In Qt I have a QListView that is using a custom Model class that contains the data to display. Based on the data, I want the background (and eventually the foregroun开发者_运维问答d/text) colour to be[详细]
2023-04-11 05:59 分类:问答Very tight icon when window is maximized
I have a Windows application created using QT. My icon in the top left of the window is extra tight when the window is maximized. Actually, on my screen, the logo is cropped.[详细]
2023-04-11 05:58 分类:问答Qt: some slots don't get executed in release mode
I am doing some simple program in Qt (MSVC++2008) with few checkboxes and buttons. In debug mode, everything works fine, but I can\'t distribute such executable, because most people don\'t have Visual[详细]
2023-04-11 05:53 分类:问答Accept edited wigets with QDataWidgetMapper
I\'m making a small application that represents a to-do list. The list is stored in a cusom model (derived from QAbstractItemModel) and is displayed in a QTableView.[详细]
2023-04-11 05:35 分类:问答Qt - webkit - how to login programmatically
I am making a web scraper. In that I need to login into my email account programatically. Can anybody say how to achieve that. I think \"QNetworkAccesManager\" and it\'s \"get()\" can make this. But,[详细]
2023-04-11 05:25 分类:问答