You are not logged in.

Search results

Search results 1-20 of 1,000. There are even more results, please redefine your search.

Sunday, December 23rd 2012, 4:47pm

Author: Amleto

how can get own app name

Source code 1 2 3 4 5 #include <iostream> int main(int argc, char** argv) { std::cout << argv[0]; }

Saturday, December 15th 2012, 11:44pm

Author: Amleto

Qt for non-UI application? (opinions)

File access? Yes, boost has boost::filesystem as well as boost::iostreams. Utf8? Already in C++ - use a modern compiler. Resources? dunno.

Saturday, December 15th 2012, 11:46am

Author: Amleto

pythonic way of moving items in a QListWidget

self.listWidget.takenItem(crntRow) typo?

Saturday, December 15th 2012, 11:43am

Author: Amleto

QGridLayout problem

read my sig.

Saturday, December 15th 2012, 11:33am

Author: Amleto

When will Qt finally support Windows 7?

"they still have to look like Windows XP apps" No they don't

Saturday, December 15th 2012, 11:31am

Author: Amleto

QFile, long execution time in QFile::Close()

might be that nothing is actually written to the file until close. add dest.flush(); after your out.writeRawData call

Saturday, December 15th 2012, 11:21am

Author: Amleto

Qt for non-UI application? (opinions)

Qt docs are easier to use than boost's so that's a plus. Boost is only C++ so is as cross platform as Qt is. Don't know why you think using boost will mean you need to do more cross platform layer work :confused:

Saturday, December 15th 2012, 11:17am

Author: Amleto

every QThread thread increases CPU's usage by 25%

use a profiler. That cpu jump isn't from QThread but your code.

Sunday, July 22nd 2012, 7:30pm

Author: Amleto

How to insert items into QtDesigned QTreeWidget?

No. there are plenty of examples around. http://www.codeprogress.com/cpp/librarie…hp#.UAxGbv2oF8E

Sunday, July 22nd 2012, 7:11pm

Author: Amleto

Proxy server

http://doc.qt.nokia.com/4.7-snapshot/examples-network.html

Sunday, July 22nd 2012, 7:10pm

Author: Amleto

How to insert items into QtDesigned QTreeWidget?

"When I debug this part, *items is empty." Why do you expect that it shouldn't be? If you want "1.2 Движение с переменной скоростью" as top level item, then you need to add it first... Make a QTreeWidgetItem for 1.2 and add it as child to http://qt-project.org/doc/qt-4.8/qtreewi…visibleRootItem

Sunday, July 22nd 2012, 4:18pm

Author: Amleto

How to insert items into QtDesigned QTreeWidget?

find 1.2. http://qt-project.org/doc/qt-4.8/qtreewidget.html#findItems (or when you make it, save the QTreeWidgetItem* for later...) then add child to it http://qt-project.org/doc/qt-4.8/qtreewi…m.html#addChild

Sunday, July 22nd 2012, 12:25pm

Author: Amleto

Qt Creator Plain C++ Project won't run/debug...

works for me. Source code 1 2 3 4 5 6 7 8 9 TARGET = noqt CONFIG += console CONFIG -= app_bundle CONFIG -= qt TEMPLATE = app SOURCES += main.cpp Source code 1 2 3 4 5 6 7 8 9 10 //#include <QtCore/QCoreApplication> #include <iostream> int main(int argc, char *argv[]) { using namespace std; cout << "1234" << endl; } Source code 1 2 1234 Press <RETURN> to close this window...

Sunday, July 22nd 2012, 12:13pm

Author: Amleto

Error when debugging with Qt creator.

pick a thread you want replies in please, I am not goign to keep looking at this thread on both forums.

Saturday, July 21st 2012, 9:14pm

Author: Amleto

Problem with: ISO C++ forbids declaration

New to qt or new to c++? Looks like the latter to me. Learn some c++ basics before playing with qt What is OZ? What has it got to do with NW? Do you know what a constructor looks like? Why did you declare member method WA, but implment free-function WA?

Saturday, July 21st 2012, 4:48pm

Author: Amleto

Error when debugging with Qt creator.

either way, it means that there is something wrong with you program - most likely it is something that is 'undefined behaviour', and you are just getting lucky with one compiler/ide

Saturday, July 21st 2012, 12:14pm

Author: Amleto

Validating the field values

Quoted Thanks for your suggestions but what i require is I have to validate the fields like if i doesn't enter anything in the fields and click on the Submit/Login Button it should raise an error saying please enter the Username and so on Well why didn't you say that in your first post? Anyway, I think someone already helped you here, http://www.qtcentre.org/threads/50112-Validation-Issue This (and the other forum), is for people to come and ask questions and learn for themselves. There are exp...

Friday, July 20th 2012, 6:48pm

Author: Amleto

2 Windows

already answered how MainWindow reads data from dialogs

Friday, July 20th 2012, 10:15am

Author: Amleto

Validating the field values

http://qt-project.org/doc/qt-4.8/qlineed…#inputMask-prop http://qt-project.org/doc/qt-4.8/qlineedit.html#setValidator