[Interest] Help Me

2012-04-10 Thread Igor Mironchik
Good day. My name is Igor Mironchik. I live in Belarus. After graduating I worked as a programmer in the company Intervale. Everything was just wonderful. I had a good salary, a wonderful team. But in March 2010 I had to resign from the company. And from that moment my life went on down

[Interest] QtArg

2012-04-10 Thread Igor Mironchik
Here is very simple command line arguments parser. Look at it: http://code.google.com/p/qtargparser/ This project needs you donations. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] QtArg

2012-04-10 Thread Igor Mironchik
code in the branch. Where is it placed? I'd recommend to support Igor Mironchik instead, since it's for Qt 4, which we will be using for a long time (Qt 5 doesn't work in KDE.) I hope that QtArg will work with Qt 5 also. If you have any proposals then write to me I will add them to QtArg. I just

[Interest] Couldn't find .pro file

2012-08-16 Thread Igor Mironchik
Hi, can anybody explain me why QtCreator (qmake too) couldn't find .pro file in subdirrectory? QtCreator said that there is no .pro file in qlistview_client subdirectory. When samples.pro is: TEMPLATE = subdirs SUBDIRS = server \ qlistview_client And there is

Re: [Interest] QTSPCosket signal disconnected()

2012-08-20 Thread Igor Mironchik
Hello again. I forgot to add that I use Qt 4.7.4 and MSVC 10.0 Hello. In the attachement you can find test applications. All applications (server and client) are one-thread apps. But something going stange in the server. I specially added QMutex to ServerSocket and when client

Re: [Interest] QTSPCosket signal disconnected()

2012-08-21 Thread Igor Mironchik
I'm playint with this issue. And notice that the problem is not played too often. Sometimes slotDisconnected() not invoked in general. What is problem too. But when he invoked I have stable dead-lock. What is the reason? App is one-threaded. Hello. In the attachement you can find test

Re: [Interest] QTSPCosket signal disconnected()

2012-08-21 Thread Igor Mironchik
Hi Look at your backtrace and figure out what the other lock point was. But just imagine a situation in which the potential for double locking in a one-threaded environment is posiible. It is not possible at all. But I see that when executing ServerSocket::doThis() sometimes method

[Interest] Write from different thread

2012-08-23 Thread Igor Mironchik
Hello. Is it safe to write in to the QTCPSocket from the different threads if socket is protected with mutex? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Qmake and changes in the library

2012-08-31 Thread Igor Mironchik
Hi, Is it possible to say in QMake projects that when changes appears in the library then all targets, depended on that library, must rebuilded? Because at this time I see that when I change something in the library then recompilation occur only on that library, and all targets that links to

Re: [Interest] Qmake and changes in the library

2012-08-31 Thread Igor Mironchik
Hi, Have a look at: http://qt-project.org/doc/qt-4.8/qmake-variable-reference.html#pre-targetdeps Hope it helps Thanks. It helps. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] QtConFile

2012-09-18 Thread Igor Mironchik
QtConfFile - it's C++/Qt library for reading and saving configuration files in a special format. Configuration file format is a set of tags, which are surrounded by curly brackets, with values. Tags can be without values, can have one, and can have several values. A sample configuration file

Re: [Interest] QtConFile

2012-09-18 Thread Igor Mironchik
Hi. QtConfFile - it's C++/Qt library for reading and saving configuration files in a special format. Configuration file format is a set of tags, which are surrounded by curly brackets, with values. Tags can be without values, can have one, and can have several values. A sample configuration

Re: [Interest] QtConFile

2012-09-18 Thread Igor Mironchik
Why not use QSettings with this format as a custom format add in? Because not all nested structures can be described using QSettings::SettingsMap. I thought about it but came to the opinion that it's not so good idea. ___ Interest mailing list

Re: [Interest] Never ending thread: blocking GUI

2012-10-16 Thread Igor Mironchik
16.10.2012 16:15, Sensei пишет: This is quite easy: I want to start a thread that never ends. Just call exec() in your run() method. And it will start event loop that will work untill you call exit() or quit() in you thread. And don't forget to start() your thread. Once in a while, when the

[Interest] Waiting for specific signal from another thread.

2012-11-10 Thread Igor Mironchik
Hi. I need some functionality to wait for a specific signal was emitted from another thread. I have QObject that works on his thread. From another thread I asynchronously provoke some method in this QObject. And then I need blocking mechanism that will wait untill this QObject will emit some

Re: [Interest] Windows application runs with console window

2013-09-05 Thread Igor Mironchik
Hi. You can check this: 1) Are you sure you do not have CONFIG += console somewhere? I'm abolutely sure. There is no CONFIG += console in my project files within my app. 2) Go to the Projects view, look at run settings in your kit. There is a checkbox Run in terminal which activates a

[Interest] Windows application runs with console window

2013-09-05 Thread Igor Mironchik
I write an application. The common definitions in the project file are: TEMPLATE= app TARGET= application DESTDIR= .. QT += core gui network sql widgets CONFIG+= windows But when I run application I see the console (command prompt) window within my application. Why? I use Qt 5.1.0,MSVC2012,

Re: [Interest] Windows application runs with console window

2013-09-07 Thread Igor Mironchik
I write an application. The common definitions in the project file are: TEMPLATE= app TARGET= application DESTDIR= .. QT += core gui network sql widgets CONFIG+= windows But when I run application I see the console (command prompt) window within my application. Why? I use Qt

[Interest] QSopedPointer crashes application at exit

2013-09-19 Thread Igor Mironchik
Hi. I wrote simple test application that reproduse my problem. The problem is in QScopedPointer at exit point inline T *data() const { return d; } method. Here is call stack: Qt5Widgetsd.dll!QScopedPointerQObjectData,QScopedPointerDeleterQObjectData ::data() Line 132C++

Re: [Interest] QSopedPointer crashes application at exit

2013-09-19 Thread Igor Mironchik
The problem is in QScopedPointer at exit point I don't think this has something to do with the QScopedPointer. The QApplication is object is destroyed before the static instance of your MainWindow is. The QWidget destructor however needs a QApplication instance (see stack frame #3). But

[Interest] QTreeView header move first column doesn't work.

2013-10-08 Thread Igor Mironchik
you help me? Thanks. -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] QTreeView header move first column doesn't work.

2013-10-09 Thread Igor Mironchik
??? It would be nice if this behavior can be configured. On 10/08/2013 11:57 AM, Igor Mironchik wrote: Hi. In the attachement you can find simple application where you can test it... Thanks for help. On previous versions of Qt moving first column in QTreeView worked. But when I updated Qt

Re: [Interest] QTreeView header move first column doesn't work.

2013-10-09 Thread Igor Mironchik
09.10.2013 10:03, Vadim Peretokin пишет: I can confirm this problem - please share the bug URL you file. I reported a bug but I'm no sure that it's a bug... https://bugreports.qt-project.org/browse/QTBUG-33974 -- Best Regards, Igor Mironchik

[Interest] QTreeView and dynamic sorting

2013-10-16 Thread Igor Mironchik
emitted four times. Why? What am I doing wrong? Thanks. -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] QTreeView and dynamic sorting

2013-10-16 Thread Igor Mironchik
(0x0)) 0 -1 SORT QModelIndex(-1,-1,0x0,QObject(0x0)) 0 0 SORT QModelIndex(-1,-1,0x0,QObject(0x0)) 1 1 SORT QModelIndex(-1,-1,0x0,QObject(0x0)) 2 2 I've inserted three rows only but rowsInserted emitted four times. Why? What am I doing wrong? Thanks. -- Best Regards, Igor Mironchik. -- Best

[Interest] QtArg version 1.4.0 released

2013-10-21 Thread Igor Mironchik
value defined with it. Now user can type --arg value1, value2, value3 instead of --arg value1 --arg value2 --arg value3. And commas are optional. * Some another minor fixes. http://igor-mironchik.host56.com/projects/qtarg.html -- Best Regards, Igor Mironchik

Re: [Interest] QtArg version 1.4.0 released

2013-10-21 Thread Igor Mironchik
, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] QGraphicsScene and absolute postion of items

2013-11-02 Thread Igor Mironchik
remained unchanged. And I want to not to change positions of items on resize window. How to solve this problem? Thanks. -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo

Re: [Interest] QGraphicsScene and absolute postion of items

2013-11-02 Thread Igor Mironchik
to solve this problem? Thanks. -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] QGraphicsScene and absolute postion of items

2013-11-02 Thread Igor Mironchik
? Thanks. -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] QGraphicsItem and mouse events

2013-11-02 Thread Igor Mironchik
Hi. I've implemented QGraphicsItem and want to receive mouseReleaseEvent. I've reimplemented mouseReleaseEvent virtual method but he doesn't invoked. Why? I've checked this method with QGraphicsScene and there he works but not in QGraphicsItem. Why again? -- Best Regards, Igor Mironchik

Re: [Interest] QGraphicsItem and mouse events

2013-11-02 Thread Igor Mironchik
checked this method with QGraphicsScene and there he works but not in QGraphicsItem. Why again? -- Best Regards, Igor Mironchik. #include QApplication #include QGraphicsScene #include QGraphicsView #include QGraphicsItem #include QMainWindow class Item : public QGraphicsItem { public

Re: [Interest] QGraphicsItem and mouse events

2013-11-02 Thread Igor Mironchik
On Saturday 02 November 2013 23:21:24 Igor Mironchik wrote: By default QGraphicsItem must be movable by mouse but he doesn't... What does the Qt documentation state about the default value for QGraphicsItem::flags()? Ops, That is what I was looking for... Sorry. -- Best Regards, Igor

[Interest] QGraphicsView and Drag Drop

2013-11-10 Thread Igor Mironchik
doing wrong? -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] QGraphicsView and Drag Drop

2013-11-10 Thread Igor Mironchik
dropEvent on dropping and cursor shows that my view doesn't accept drop. Why? What am I doing wrong? -- Best Regards, Igor Mironchik. -- Best Regards, Igor Mironchik. #include QApplication #include QGraphicsView #include QGraphicsScene #include QMainWindow #include QDragEnterEvent #include

[Interest] When Qt 5.2.0 will be available?

2013-11-13 Thread Igor Mironchik
Hi guys, Does anybody know when Qt 5.2.0 will be released? Thanks. -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Qt and MSVC 2013

2013-11-26 Thread Igor Mironchik
Hi. Does anybody know when MSVC 2013 will be supported by Qt? Which version? Thanks. -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Qt 5.2.0 WebKit on Windows

2013-12-13 Thread Igor Mironchik
Hi. Why default configuration and compile steps doesn't build WebKit in Qt 5.2.0 on Windows with MSVC 2013? How can I build WebKit with MSVC 2013? qmake nmake, is it enought? Thanks. -- Best Regards, Igor Mironchik. ___ Interest mailing list

[Interest] Qt 5.2.0 for Android on Windows

2013-12-15 Thread Igor Mironchik
Hi. Does anybody have experience with building Qt 5.2.0 for Android on Windows? Can that give instructions for it... Thanks. -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman

Re: [Interest] Qt 5.2.0 for Android on Windows

2013-12-15 Thread Igor Mironchik
^ compilation terminated. builtin: recipe for target 'qarraydata.o' failed mingw32-make: *** [qarraydata.o] Error 1 -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Qt 5.2.0 for Android on Windows

2013-12-15 Thread Igor Mironchik
. builtin: recipe for target 'qarraydata.o' failed mingw32-make: *** [qarraydata.o] Error 1 -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] mingw Qt 5.2.0 problems (building for Android)

2013-12-16 Thread Igor Mironchik
Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] mingw Qt 5.2.0 problems (building for Android)

2013-12-16 Thread Igor Mironchik
:328:23: error: '_pclose' was not declared in this scop e QT_PCLOSE(proc); ^ How can I fix it? Thanks. -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org

Re: [Interest] mingw Qt 5.2.0 problems (building for Android)

2013-12-16 Thread Igor Mironchik
On terça-feira, 17 de dezembro de 2013 09:01:07, Igor Mironchik wrote: ..\shared\qmakeglobals.cpp:324:85: error: '_popen' was not declared in this scope + QLatin1String( -query)).toLocal8Bit() , r)) { ^ ..\shared\qmakeglobals.cpp:328:23: error

Re: [Interest] mingw Qt 5.2.0 problems (building for Android)

2013-12-16 Thread Igor Mironchik
On terça-feira, 17 de dezembro de 2013 09:50:19, Igor Mironchik wrote: The problem is that that in stdio.h _popen() and _pclose() defined under the #ifndef __STRICT_ANSI__. And -std=c++0x option defines __STRICT_ANSI__. And I just yesterday installed mingw with online installer... Must

[Interest] Qt 5.2.0 on Android and hellogl_es2 example

2013-12-17 Thread Igor Mironchik
Hi. I've tried hellogl_es2 example on Android device and he died immediately after launching. Is it a bug? Who knows? -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo

Re: [Interest] Qt 5.2.0 on Android and hellogl_es2 example

2013-12-17 Thread Igor Mironchik
On terça-feira, 17 de dezembro de 2013 21:16:02, Igor Mironchik wrote: Hi. I've tried hellogl_es2 example on Android device and he died immediately after launching. Is it a bug? Who knows? Who died? The device? Sorry. Not the device. The example died... -- Best Regards, Igor Mironchik

Re: [Interest] Pan text in QPlainTextEdit with one finger?

2013-12-17 Thread Igor Mironchik
/mailman/listinfo/interest -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Gestures

2013-12-18 Thread Igor Mironchik
Hi. Can anybody explain me the difference between QPanGesture and QSwipeGesture. I understand difference in the classe's interfaces but I can't understand the difference in the user's actions to trigger them. -- Best Regards, Igor Mironchik

[Interest] Why unassigned still?

2013-12-18 Thread Igor Mironchik
Hi. I created a bug but it unassigned for a month... Vote: https://bugreports.qt-project.org/browse/QTBUG-34733 -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Android resources

2013-12-19 Thread Igor Mironchik
Hi. Is it possible to set version of the application and icons for Android app in the project file? If so then how? Thanks. -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman

Re: [Interest] Android resources

2013-12-19 Thread Igor Mironchik
and I can implement AnroidManifest.xml by myself in project and additional information about Qt will be added to the final AnroidManifest.xml? On Fri, Dec 20, 2013 at 2:45 PM, Igor Mironchik igor.mironc...@gmail.com mailto:igor.mironc...@gmail.com wrote: Hi. Is it possible to set

Re: [Interest] How can I change a designer for base class?

2013-12-20 Thread Igor Mironchik
Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Adding extra target to pro file

2014-01-08 Thread Igor Mironchik
and .pro file for this library. And my question is how to tell in app's .pro file to build this lib? -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Interest Digest, Vol 28, Issue 19

2014-01-09 Thread Igor Mironchik
the list at interest-ow...@qt-project.org mailto:interest-ow...@qt-project.org When replying, please edit your Subject line so it is more specific than Re: Contents of Interest digest... Today's Topics: 1. Adding extra target to pro file (Igor Mironchik

[Interest] Gradient Line

2014-01-10 Thread Igor Mironchik
) ); g.setColorAt( 1.0, QColor( 50, 50, 60 ) ); p-setPen( QPen( QBrush( g ), 1.0 ) ); p-drawLine( 1, 2, 1, opt.rect.height() - 2 ); But this draws line with average color of gradient: QColor( 105, 105, 115 ) -- Best Regards, Igor Mironchik

[Interest] QColor::lighter()

2014-01-15 Thread Igor Mironchik
Hi. Is it correct that QColor( Qt::black ).lighter() returns the same black color? For this line of code: qDebug() QColor( Qt::black ) QColor( Qt::black ).lighter(); I receive next output: QColor(ARGB 1, 0, 0, 0) QColor(ARGB 1, 0, 0, 0) -- Best Regards, Igor Mironchik

Re: [Interest] QtMWidgets

2014-01-17 Thread Igor Mironchik
Hi. Hello, Very nice! Are you working on more widgets? I have plans for more widgets. And they will be implemented soon. On Fri, Jan 17, 2014 at 5:41 PM, Igor Mironchik igor.mironc...@gmail.com mailto:igor.mironc...@gmail.com wrote: Hi. I'm developing QtMWidgets library now

[Interest] QtMWidgets::Switch

2014-01-23 Thread Igor Mironchik
on me... Thanks. https://code.google.com/p/qtmwidgets/ -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] QtMWidgets::Switch

2014-01-23 Thread Igor Mironchik
fix it now. Fixed... Br, Alessandro From: interest-bounces+alessandro.portale=digia@qt-project.org [interest-bounces+alessandro.portale=digia@qt-project.org] on behalf of Igor

[Interest] Shiping Qt binaries

2014-01-24 Thread Igor Mironchik
/qwindows.dll... But when I launch my app on the macine that doesn't have Qt installed I receive following error: This application failed to start because it could not find or load the Qt platform pluginwindows. Reinstalling the application may fix this problem. Thanks. -- Best Regards, Igor

Re: [Interest] Shiping Qt binaries

2014-01-24 Thread Igor Mironchik
: This application failed to start because it could not find or load the Qt platform plugin windows. Available platform plugins are: minimal, offscreen, windows. Reinstalling the application may fix this problem. What wrong now? On Fri, Jan 24, 2014 at 2:33 PM, Igor Mironchik igor.mironc

[Interest] QSqlQuery

2014-01-26 Thread Igor Mironchik
#commitorrollback() qthelp://org.qt-project.qtsql.520/qtsql/qsqldatabase.html#rollback, the commit or rollback will fail. SeeisActive qthelp://org.qt-project.qtsql.520/qtsql/qsqlquery.html#isActive() for details. Does the SQLite driver has that pain? Thanks. -- Best Regards, Igor Mironchik

Re: [Interest] QSqlQuery

2014-01-26 Thread Igor Mironchik
Hi Igor, On 26-Jan-14 4:29 PM, Igor Mironchik wrote: I have some questions about database support in Qt 5. First of all, is it safe to transfer a QSqlQuery instance from one thread to another to process him in another thread. I.e. I want to execute SELECT query on DB thread and return

Re: [Interest] QSqlQuery

2014-01-26 Thread Igor Mironchik
Igor Mironchik schreef op 26-1-2014 16:29: Hi. I have some questions about database support in Qt 5. First of all, is it safe to transfer a QSqlQuery instance from one thread to another to process him in another thread. I.e. I want to execute SELECT query on DB thread and return

[Interest] Painting on child widget

2014-01-29 Thread Igor Mironchik
Hi. Is it possible to paint on child widget from parent's paintEvent()? -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] paintEvent

2014-01-29 Thread Igor Mironchik
?! -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] paintEvent

2014-01-29 Thread Igor Mironchik
29.01.2014, 14:43, Igor Mironchik igor.mironc...@gmail.com: Hi. I'm implementing AbstractScrollArea and ScrollArea for QtMWidgets library. Almost all have been done except painting scroll indicators. The problem is that that I can't draw on child widget. I installed event filter

[Interest] How to force layout...

2014-08-04 Thread Igor Mironchik
Hi. How to force layout to update geometries of items in it if some items changed theirs sizeHint property? For example if I rotate rectangle I want layout to update geometry of this rectangle. I’ve tried: layout-invalidate(); layout-update(); But with no success.

[Interest] Custom layout

2014-08-04 Thread Igor Mironchik
Hi. I’m implementing custom layout for some widget. And I have problem. In my implementation of the widget and layout itemAt never used, so I implemented it very simple and always return 0. But in debug mode something call this method. What it can be? P.S. Calls never stops.

Re: [Interest] Custom layout

2014-08-04 Thread Igor Mironchik
I have to say that count() returns 0 always too... Is it normal practice? From: Igor Mironchik Sent: Monday, August 04, 2014 10:44 PM To: interest@qt-project.org Subject: Custom layout Hi. I’m implementing custom layout for some widget. And I have problem. In my implementation of the widget

[Interest] Custom layouts

2014-08-05 Thread Igor Mironchik
Hi. I found that if in setGeometry() method call hide() or show() on widgets inside layout then this leads to recursion of layout. What do you think on this problem? May be it is good suggestion to Qt developers to remove this recursion, because of it is sometimes useful to hide some widgets

[Interest] What can broke lupdate?

2014-08-12 Thread Igor Mironchik
Hi. What can broke lupdate in the attached file with the following error: log_event_view_model.hpp:134: Excess closing brace in C++ code (or abuse of the C++ preprocessor) ??? /*! \file \author Igor Mironchik (igor.mironchik at gmail dot com). Copyright (c) 2012

Re: [Interest] What can broke lupdate?

2014-08-12 Thread Igor Mironchik
I’ve found the problem. The problem is on line 39 #include Globe/Core/log.hpp there should be space after #include. From: Igor Mironchik Sent: Tuesday, August 12, 2014 10:43 AM To: interest@qt-project.org Subject: What can broke lupdate? Hi. What can broke lupdate in the attached file

[Interest] QThreadPool writing to the DB

2014-08-18 Thread Igor Mironchik
Hi. I want to move write to DB operation to another thread (from the GUI thread). And I implemented the following QRunnable: SourcesLogWritter//class SourcesLogWritter : public QRunnable{public:SourcesLogWritter() { setAutoDelete( false ); } void

Re: [Interest] QThreadPool writing to the DB

2014-08-18 Thread Igor Mironchik
Hi. Well, but with SQLite this approach works... -Original Message- From: Sze Howe Koh Sent: Monday, August 18, 2014 12:57 PM To: Igor Mironchik Subject: Re: [Interest] QThreadPool writing to the DB Hi Igor, On 18 August 2014 14:26, Igor Mironchik igor.mironc...@gmail.com wrote: Hi

Re: [Interest] Very interesting problem with TCP sockets

2014-09-01 Thread Igor Mironchik
Hi, seems that with Qt all is OK. Look at the pcap file... -Original Message- From: Thiago Macieira Sent: Monday, September 01, 2014 9:54 AM To: interest@qt-project.org Subject: Re: [Interest] Very interesting problem with TCP sockets On Monday 01 September 2014 09:37:12 Igor

[Interest] How to define something for all sub-projects?

2014-09-01 Thread Igor Mironchik
Hi, how to define macro in “parent” .pro file that it will take effect for all sub-projects? DEFINES += SOME_MACRO in “parent” .pro file does not take effect for sub-projects... Thanks.___ Interest mailing list Interest@qt-project.org

Re: [Interest] Very interesting problem with TCP sockets

2014-09-01 Thread Igor Mironchik
On Monday 01 September 2014 12:24:38 Igor Mironchik wrote: Hi, seems that with Qt all is OK. Look at the pcap file... Agreed. It looks like the first 86 connections worked fine. The 87th crashed. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source

Re: [Interest] How to moving widgets inside the layout

2014-09-03 Thread Igor Mironchik
Hi, try QLayoutItem * QVBoxLayout::takeAt( int index ) and then void QVBoxLayout::insertItem( int index, QLayoutItem * item ) ... From: Jean Richard Lima Sent: Wednesday, September 03, 2014 11:38 PM To: interest@qt-project.org Subject: [Interest] How to moving widgets inside the layout Hi

[Interest] Fw: How to moving widgets inside the layout

2014-09-03 Thread Igor Mironchik
Even you don’t need keep in mind spacing. Just check is you mouse position in QLayoutItem::geometry() and you will find the index in layout... From: Igor Mironchik Sent: Thursday, September 04, 2014 7:08 AM To: Jean Richard Lima Subject: Re: [Interest] How to moving widgets inside the layout

[Interest] Do not generate files if exists or doesn't modified...

2014-09-22 Thread Igor Mironchik
Hi. In one project I use Google’s ProtoBuf for network messages. And in .pro file I have the next lines: PRE_TARGETDEPS += $$PWD/messages.pb.cc $$PWD/messages.pb.h QMAKE_EXTRA_TARGETS += protobufc protobufhprotobufc.target = $$PWD/messages.pb.ccprotobufc.depends = FORCEprotobufc.commands =

Re: [Interest] Position y() of widget inside Layout

2014-10-29 Thread Igor Mironchik
Hi. Look at this small example. It’s not fully functional but as example it’s good enough, I hope... From: Jean Richard Lima Sent: Wednesday, October 29, 2014 8:34 PM To: Interest@qt-project.org Subject: [Interest] Position y() of widget inside Layout Hello! How can I get the y () position

[Interest] QML element from QWidget based class

2014-11-25 Thread Igor Mironchik
Hi guys, Is it possible to use QWidget based components in QML? What this QWidget based class have to do for it? Thanks.___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Totally broken QRect::moveRight

2014-12-08 Thread Igor Mironchik
Hi guys, I've found interesting bug in QRect in Qt 5.3.2. Look at this code: inline void QRect::moveRight(int pos) { x1 += (pos - x2); x2 = pos; } How it can work? QRect( 0, 0, 10, 10 ).moveRight( 10 ) produces QRect( 1, 0, 10, 10 )... -- Best Regards, Igor Mironchik

Re: [Interest] Totally broken QRect::moveRight

2014-12-09 Thread Igor Mironchik
in your bug report, there's nothing wrong with this. -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] QtCreator crashes...

2014-12-10 Thread Igor Mironchik
and click on Edit button; third I did nothing and he crashed... Do you have the same problems? What I have to do? -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo

Re: [Interest] QtCreator crashes...

2014-12-10 Thread Igor Mironchik
On Wed, 10 Dec 2014 17:44:44 +0300, Koehne Kai kai.koe...@theqtcompany.com wrote: -Original Message- From: interest-bounces+kai.koehne=theqtcompany@qt-project.org [mailto:interest-bounces+kai.koehne=theqtcompany@qt-project.org] On Behalf Of Igor Mironchik Sent: Wednesday

Re: [Interest] QtCreator crashes...

2014-12-10 Thread Igor Mironchik
) - Launch Qt Creator without plugins that make use of QtQuick2 , and therefore DirectX: '-noload Welcome -noload QmlDesigner -noload QmlProfiler' Just tested QtCreator with -settingspath C:\tmp and he crashed immediately. -- Best Regards, Igor Mironchik

Re: [Interest] QtCreator crashes...

2014-12-10 Thread Igor Mironchik
of QtCreator worked normally... Looks like a regression. I will try to update DirectX and Video Driver. But I'm not sure that I have something to update... -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http

Re: [Interest] QtCreator crashes...

2014-12-10 Thread Igor Mironchik
supported by QtCreator. I have NVIDIA ION on my notebook, so I changed default video for QtCreator to NVIDIA's and now all is ok. Thanks for your tips. -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt

Re: [Interest] QtCreator crashes...

2014-12-10 Thread Igor Mironchik
. Could you create a bug report about this on bugreports.qt-project.org, including the output of qtdiag.exe? Thanks Kai What Project and Component I have to use for a bug? I'm not sure that will point a bug to the right component... -- Best Regards, Igor Mironchik

[Interest] Possible mistake in QProgressBar documentation

2014-12-11 Thread Igor Mironchik
is not inverted. Look at the explanation of If this property is false, is it correct or false should be true? -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] New connection syntax

2014-12-15 Thread Igor Mironchik
? I.e. I want to have, for example, next method in my widget: Something * addSomething( QObject * receiver, PointerToMemberFunction method ); Where is PointerToMemberFunction declared, what should I include? Thank you. -- Best Regards, Igor Mironchik

Re: [Interest] New connection syntax

2014-12-16 Thread Igor Mironchik
. But this article didn't answer on my questions. On Tue, Dec 16, 2014 at 10:49 AM, Igor Mironchik igor.mironc...@gmail.com wrote: Hi guys, Qt has cool new syntax now. But some things doesn't support it yet. For example look at QMenu::addAction. There is now overload with PointerToMemberFunction. And I

Re: [Interest] New connection syntax

2014-12-16 Thread Igor Mironchik
Hi, On Tue, 16 Dec 2014 10:49:53 +0300, Igor Mironchik igor.mironc...@gmail.com wrote: I.e. I want to have, for example, next method in my widget: Something * addSomething( QObject * receiver, PointerToMemberFunction method ); I've answered on the second question by myself. And now I

Re: [Interest] New connection syntax

2014-12-16 Thread Igor Mironchik
On Tue, 16 Dec 2014 19:13:14 +0300, Thiago Macieira thiago.macie...@intel.com wrote: On Tuesday 16 December 2014 12:41:35 Igor Mironchik wrote: And my question is: is it ok to use QtPrivate::FunctionPointer in my classes? No. That's only permitted for code that is part of Qt itself (hosted

Re: [Interest] New connection syntax

2014-12-16 Thread Igor Mironchik
On Tue, 16 Dec 2014 21:04:03 +0300, Thiago Macieira thiago.macie...@intel.com wrote: On Tuesday 16 December 2014 20:31:14 Igor Mironchik wrote: On Tue, 16 Dec 2014 19:13:14 +0300, Thiago Macieira thiago.macie...@intel.com wrote: On Tuesday 16 December 2014 12:41:35 Igor Mironchik wrote

[Interest] Is update() needed?

2014-12-24 Thread Igor Mironchik
Hi. If to show() QWidget then it will be repainted, or I should use update() after show()? I.e. is QWidget repainted after show() even if it was shown or not? Thank you. -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt

[Interest] Can slot be virtual?

2014-12-28 Thread Igor Mironchik
) { QApplication app( argc, argv ); W w; w.show(); QTimer::singleShot( 0, w, W::start ); return app.exec(); } #include main.moc Slots in Qt can be virtual. But may be there some underwater stones? What do you know/think? Thank you. -- Best Regards, Igor Mironchik

  1   2   3   4   5   6   >