I have downloaded qt-win-opensource-4.7.0-vs2008.exe from nokia site and use it when I build my application. My application realy use VS2008 runtime not MinGW, but it has the dynamic linkage with QtCore4.dll and others Qt libs.
How can I create application with static linkage with qt libs?
...
Hi,
How to call the webservice before UI rendering in QT? I m using QNetworkManager for calling the webservice and parsed by QJson. I would like to call the webservice before the UI dispaly on the simulator ...
I am very new bee in this technoloy.
Thanks a lot. Please help me. It is very urgent to me... any one help me.... :( :(
...
I want to write a program for linux with Qt.
I know KDE is coded in Qt and Gnome isn't. Is it still possible to write a program in Qt for Gnome?
...
In the Qt world what is the difference of events and signal/slots?
Does one replace the other? Are events an abstraction of signal/slots?
Thanks in advance
...
Hi,
I'm trying to collect an often used subset of GUI-Elements together into one Subclass, which can be "included" into the real GUIs later without rewriting the given functionality (don't ask why, I wanna learn it for later use). The Subclass should use it's own *.ui-File and should be put into an QWidget resding in the real GUI. After...
I have a QFormLayout where the left widgets are QLabels and the right widgets are of various types. I want to get notified when the mouse enters any part of a form-row, so I can display an explanation of that row in my statusbar.
Currently I have a QLabel subclass called HoverableLabel which exposes "mouseEntered" and "mouseLeft" signal...
I have a 'producer' object, that steps through some data and emits various signals depending on what data item is next in the queue.
Each of those signals are processed by at most one 'consumer' object at a time (it takes care to disconnect its slots before attaching the producer's signals to the other consumer).
If the processing on t...
this->setWindowTitle(tr("数据转移程序"));
edt_ftp_server = new QLineEdit;
edt_ftp_port = new QLineEdit;
edt_ftp_account = new QLineEdit;
edt_ftp_pwd = new QLineEdit;
edt_ftp_pwd->setEchoMode( QLineEdit::Password );
lbl_ftp_server = new QLabel;
lbl_ftp_server->setText(tr("FTP服务器地址:"));
lbl_ftp_server->setBuddy( edt_ftp_server );
lbl...
Is there a way to query from qt the entries of the shell context menu (name and command)? Only if the application is run on Windows of course.
...
I am trying to use qt to write an application that connects back to my computer to retrieve files. Example: My friend would open up the app and when it opens, it connects to my computer and takes off of it the file it needs then disconnects. How would I do that and or what tools would I use?
...
I'm trying to set a style to a button so that it has no border, but it seems the lack of border then makes the button non-clickable. Is there a better way of getting no border?
button = QtGui.QPushButton(todo, self)
button.move(0, i * 32)
button.setFixedSize(200,32)
button.setCheckable(True)
button.setStyleSheet("QPushButton { backgroun...
How can I print the content of a QGraphicsView in Qt?
Thanks a lot.
...
Hello.
I developing a program that draws in elements of the list (QListView).
How do I set the size of an element depending on the size of the QListView?
I write implementation of the sizeHint in the delegate, but where to get the size of the instance QListView I don't know.
...
Here my problem; in such a case it complains about duplicate connections with same connection name:
Test::Test(QString connectionName)
{
db=QSqlDatabase::addDatabase("QMYSQL",connectionName);
}
int main(int argc, char *argv[])
{
QString connectionName=QString("test");
QCoreApplication a(argc, argv);
Test myDb(connecti...
I need to increment progressbar in qt everytime a file is copied from one location to another. Example there are 64 files to be copied. How is it possible to let the progressbar know the amount to increment by. Following is help code. Could you exhaust on it.
class MyClass : ...
{
...
public slots:
void onWrite( qint64 );
};
MyClas...
Hi All. I need to build and use QT within Microsoft visual C 2005 project. Is it possible to do that and how to?
...
I'm trying to have a 2x2 QGridLayout arranged as follows:
+-----+-----+
|(1) |(2) |
+-----+ |
|(3) | |
+-----+-----+
I want to be able to expand (1) programatically to occupy the whole first row, like as follows:
+-----------+
|(1) |
+-----+-----+
|(3) |(2) |
+-----+-----+
Actually, I want to expand and contract...
Working with the Qt ItemViews the editing widget of an item can be modified via a QItemDelegate that can create a custom editor via createEditor. Who is responsible for deleting the instance created by the delegate.
I could not find any documentation that explained this, if you just point to the appropriate section that is fine
...
Hello everyone,
For my Qt project, I use a .pro file that includes a separate .pri file for the various header, source, form and resource files. However, every time I add a new file I need to manually add it to the .pri file. This is tedious and error-prone. Is there a way to "magically" add all files from a directory, either directly i...
In Qt's QGraphicsScene, if I wanna one item, just click it, and click another selectable item will make the selected item to be unselected. If I want to select multiple items, I'd use Ctrl key. But this maybe not convenient for some cases, then how to select multiple items without pressing Ctrl key within QGraphicsScene ?
...