qstring
QChar to wchar_t
I need to convert a QChar to a wchar_t I\'ve tried the following: #include <cstdlib> #include <QtGui/QApplication>[详细]
2023-01-16 15:51 分类:问答Converting an image to text
I want to be able to save an image as text in a xml file and I can\'t manage to find a efficient way to do it ![详细]
2023-01-16 06:17 分类:问答How to convert from BYTE* to QString?
I have a D开发者_开发问答ATA_BLOB structure but I need to convert it to QString. How can I do this?You can use the QString constructor with a QByteArray parameter.[详细]
2023-01-15 16:59 分类:问答QString, remove labels and content?
message.Text() is a QString. I want to remove some text. The text can be: Normal: \"This is a text\" With a label: \"<label1>something</label1>This is a text\"[详细]
2023-01-13 09:09 分类:问答Parse and remove part of a QString
I want to parse some 开发者_开发技巧kind (or pure) XML code from a QString. My QString is like:[详细]
2023-01-13 02:29 分类:问答Should non-QObject derived classes "always" be put on the stack?
Coming from the Symbian world, I\'m used to using the heap as much as possible to avoid running out of stack space, especially when handling descriptors. CBase derived classes were always dynamically[详细]
2023-01-10 02:38 分类:问答How do I insert a value into a URL?
I have the following code where I try to insert randomValue into an URL. int randomValue = qrand() % 100;[详细]
2023-01-10 01:19 分类:问答Opening a file from a Qt String
I am making a Qt applica开发者_JS百科tion and I have a button to open a file, which is connected to a custom slot. This is the slot code so far:[详细]
2023-01-05 00:01 分类:问答How to produce Capital hexadecimal digits with QString::arg() ? [QT]
I\'m trying to create a QString which is a hexadecimal nu开发者_如何学Cmber with its letter digits in Capitals instead of small caps, how can it be done?[详细]
2023-01-04 04:26 分类:问答How to check wether a path represented by a QString with german umlauts exists?
i get a QString which represents a directory from a QLineEdit. Now i want to check wether a certain file exists开发者_JAVA百科 in this directory. But if i try this with os.path.exists and os.path.join[详细]
2022-12-26 12:45 分类:问答