Widget may be deleting itself when closed (for example if
Qt::WA_DeleteOnClose
flag
is set ) which would be perfectly fine cool staff actually shows the widget
one or another way.
when
std::shared_ptr temp( new Widget () );
does not make any sense unless widget is modal and exec() is called in
I do not care about binaries, which I used to build myself anyway. They are
built once.
But I do not want to lose 2010 support.
When your code is dependent on different languages and 3rd party products
you tend to stay on the old compilers for long time.
Often you have to skip versions cause 3rd
It measures potential.
Just set high speed camera with clock an remove table quickly.
You will be able to find a real acceleration.
Have fun,
Alex
On Tue, Dec 17, 2013 at 2:29 PM, Guido Seifert wrote:
>
> Great idea. I knew someone in this list would have the perfect solution
> for my pr
Typically it is a not magic number, it is a magic string, which solves most
problems.
I would recommend to keep it this way.
If you want to use number there, write it to string first. then write the
string.
Alex
On Sat, Oct 26, 2013 at 6:49 PM, Constantin Makshin wrote:
> Since QDataStream vers
ot;Common
> Desktop", "Common Documents", "Common Programs", "Common Start Menu",
> "Common Startup", "Common Templates", "CommonMusic", "CommonPictures",
> "CommonVideo", "OEM Links", "Personal&q
Did you try to set setDragDropMode of the tree view to
QAbstractItemView::DragDrop?
QAbstractItemView::InternalMove accepts only move operation from itself and
does not accept copy.
Regards,
Alex
On Tue, Oct 1, 2013 at 3:33 PM, Etienne Sandré-Chardonnal <
etienne.san...@m4x.org> wrote:
> D
-project.org [mailto:
> interest-bounces+scott.bloom=onshorecs....@qt-project.org] *On Behalf Of *Alex
> Malyushytskyy
> *Sent:* Monday, September 30, 2013 7:02 PM
> *To:* interest@qt-project.org
> *Subject:* Re: [Interest] QSettings possible bug on Windows
>
> ** **
"Common Start Menu",
"Common Startup", "Common Templates", "CommonMusic", "CommonPictures",
"CommonVideo", "OEM Links", "Personal")
but value returned is empty string - different from visible in regedit
Alex
On Mon, Sep
I found a problem with QSettings when trying to read from registry.
I am using Qt 4.7.3 so I would appreciate if anybody can check with Qt 5
at least.
Problem:
QSettings fails to return specific key value (Common AppData) when read
other keys at the same level just fine.
Key exists and verified w
>> Hopefully it will work as easy as you say... Then there are about 5-6
OTHER third party libraries I have to deal with :(
It does work as easy as it was claimed.
Environment set affects which compiler is executed.
Since I am mostly developing on the Windows I have such setup since Qt 3.
Multip
would suggest to create small compilable test case which demonstrate the
problem.
By the way you should be able to delete line below and effect should be the
same.
scene.removeItem(food);
item will be removed as soon you delete it.
Alex
On Mon, Sep 23, 2013 at 3:46 PM, Alex Malyushytskyy
I am not using qt 5, but if I am not mistaken QGraphicsScene code was
migrated from QT4
On Sun, Sep 22, 2013 at 8:56 AM, 程梁 wrote:
> Hi, there! I have a problem: when I called QGraphicsScene::removeItem()
> then delete the removed item, my application crashed. This happens on Qt5
> 64bits (I te
As far as I understand application event loop is not running until modal
widget event loop is running.
Closing the widget will start application event loop and you get your
message printed.
It would be worth if widget delete itself on closing, then you would have
a crush.
I guess comment in docum
ver, I do not like the stability of the program to rely on the type of
> connection. That's not in the essence of modularity with signal/slots.
>
> Thiago, if you read me, Could you confirm the above's statements?
>
> Thanks,
>
> Etienne
>
>
>
>
>
>
>
&g
>> 1) I know could use a QueuedConnection for the previously described
action, but I don't like that kind of GUI design where a QueuedConnection
is required to avoid an app crash...
I do not see why you need to use QueuedConnection. I hope you do not want
to say you have that 2 widgets you have ar
I have not used drag and drop features myself, so I might be wrong,
but returning true in event handler means that event is stopped/ignored and
according to QWidget::dragEnterEvent documentation:
"If the event is ignored, the widget won't receive any drag move
events
."
try to return false:
if(e
ely
> impossible even to shrink a block of memory in-place) makes me a bit sad...
>
> On 09/04/2013 03:21 AM, Alex Malyushytskyy wrote:
> > Forgot to add,
> >
> > I am not trying to offend performance or any other aspect of Qt
> container.
> > Personally all my code
Forgot to add,
I am not trying to offend performance or any other aspect of Qt container.
Personally all my code related to displaying data use them.
I just believe it is not replacement for STL.
Regards, Alex
On Tue, Sep 3, 2013 at 4:16 PM, Alex Malyushytskyy wrote:
> >> STL is
;
> STL is first of all an interface and there are various implementations,
> hence your remark about performances does not make sense.
>
> Philippe
>
> On Tue, 3 Sep 2013 14:44:58 -0700
> Alex Malyushytskyy wrote:
>
>
> This question appears on the mailing lists si
This question appears on the mailing lists since Qt 3 at least .
At one point I was disappointed with having signed int restriction, but
then I decided
that QT containers are just a convenience classes which are designed to
work with either widgets or data of limited size displayed
by that widget
to know anything about specifics of the actual
> type of 'zzz'. Actually, isn't "rely on the interface, not
> implementation" the primary idea of inheritance?
>
> On 08/27/2013 02:36 AM, Alex Malyushytskyy wrote:
> > Making function which were public in the parent,
Making function which were public in the parent, private in the child shows
that function should not be called.
That is it. And that is the case.
It does not make it impossible to shoot yourself at the feet (whatever way
you choose) and access it.
You can do everything in C++.
But if you do it,
>> I can't say that I am very happy with a non-closing close() and a lying
isOpen(). Even if documented, it goes against any expectations.
I disagree, then You would have
QTemporaryFile attached to file which is not anymore
under control.
This would be even more confusing and made documented feat
You can add any widget (QToolButton is a widget ) to toolbar with QAction **
addWidget * ( QWidget * *widget* )
On Tue, Aug 20, 2013 at 11:03 AM, Etienne Sandré-Chardonnal <
etienne.san...@m4x.org> wrote:
> Thanks Christoph,
>
> Is there any way to do this with a QToolBar? I cannot add a QToolBu
The only way I can think of is creating a widget which would be size of the
dialog including dialog frame,
reparent dialog and render that widget. If QWidget::DrawChildren render
flag is set I expect it will draw dialog including frame.
You might reparent it back later and do some positioning so y
I guess my suggestion was not clear.
Create a slot where:
- QPixmap::grabWindow( QApplication::desktop()->winId() );
will be called.
- QPixmap is converted to QImage
- Signal and slot may contain reference to the QImage as a parameter,
so you can access filled QImage after signal is emitted..
I remember having problem with combobox when QT was built as static
libraries with static CRTs.
That is was one of the reason we gave up on static builds, is it your
case?
Alex
On Mon, Aug 5, 2013 at 6:53 PM, Mehrdad Momeny wrote:
> Hi everyone,
> Recently I encountered a weird issue on Window
As far as I understand you need to make sure that window is grabbed in the
main thread.
So the clean way to do it - do it in the main threat without changing
affinity .
and wait until picture is taken in the threat you need a picture at.
This will also remove race conditions you are facing - your
Just my few cents:
>> Is your application a 32-bit app? Under Windows, applications are
restricted to 1.5 to 2 GB of memory even though the system has more
available. This even includes running a 32-bit app on a 64-bit system.
That is not exactly right. On Windows 32 , by default 32 bit applica
Check for intermediate state has to be done when user initiated action
which needs a valid input at lineEdit.
There is no universal solution. Normally it is but not limited to either
Apply button clicked in the dialog or line edit losing focus.
When you found when this should be done, add code w
You do not want to mix debug and release libraries on Windows. Even if
there were not other dependencies the modules will depend on different
CRTs. Result will be a disaster.
Regards, Alex
On Wed, Jul 10, 2013 at 3:27 AM, Amogh Kudari wrote:
> Hi All,
>
> I have qt built for wi
Connect changed to your custom slot where you will check if action changed
the state,
You will need somehow to get pointer to QAction and previous state there.
There are multiple ways to do it.
For example: You may subclass QAction, add variable which would keep
previous enable state ,
add slot
First. Your code should create a memory leak.
Cause addAction will make a copy of icon and you never delete result of
colorize
Look at declaration:
QAction **addAction * ( const QIcon & *icon*,
const QString & *text*, const QObject * *receiver*, const char *
*member* )Second.
You did not clarify wh
>>If I run the installer by right clicking on it and select "Run as
administrator", the installation will finish without a problem.
>> How can I make this work?
Did not you mentioned how to fix a problem yourself?
You have to run program which is changing files in system folders as an
administrat
I just wanted to point that you must to deploy all dependencies not only Qt.
You will have to deploy VC CRTs at least if your application has no other
dependencies.
Alex
On Wed, Jun 19, 2013 at 8:21 AM, Yves Bailly wrote:
>
> Greetings all,
>
> Here's a maybe silly question, but I really could
I will try to recall what I did once.
Instantiate and add subclass of QWidgetAction to the menu.
Such subclass had to instantiate your widget (better not to derive it from
dialog).
To do this override createWidget. Such widget can be any complex or simple
widget.
If not mistaken I had explicitly
By the way you can always to make your dialog function like menu. I recall
I did it once with Qt 3. I bet in Qt 4 or 5 it will be even easier.
On Fri, May 31, 2013 at 3:11 PM, Alex Malyushytskyy wrote:
> AFAIK on Windows that is native behavior.
> Also from design point of view long m
AFAIK on Windows that is native behavior.
Also from design point of view long menu in general are considered bad
design.
If I were you I would do something similar to what Excel does - display
dialog.
You might also display a few the most used or/and last used commands
together with option to open
They are not.
static_cast exists for purpose.
On Wed, May 22, 2013 at 10:10 AM, Constantin Makshin wrote:
> Well, C-style casts are still useful because, unlike dynamic_cast, they
> need neither RTTI nor run-time checks, making the compiled code somewhat
> smaller and faster. You just need to be
You may create your own style.
example can be found at:
http://harmattan-dev.nokia.com/docs/library/html/qt4/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
You can specify left and right margins or minimum width for example.
Regards,
Alex
On Thu, May 16, 2013 at 7:02 PM, Sujan
Direct answer on your question will be
ui.TableWidget->setColumnWidth(0,201);
ui.TableWidget->setColumnWidth(1,120);
ui.TableWidget->setColumnWidth(2,121);
Ask yourself why you did not like solution above or your own solution and
what you want to achieve.
Then if you can't figure out how to implem
, Alex
On Wed, May 15, 2013 at 3:52 AM, Konrad Rosenbaum wrote:
> **
>
> On Tuesday 14 May 2013 22:27:23 Alex Malyushytskyy wrote:
>
> > Such things are normally resolved using MAC address on any system, which
> is
>
> > unique for every network adapter,
>
>
>> I wonder what do you in general do, when you find yourselves in the need
of accessing the private internals.
If you absolutely need private you usually end up writing your own class.
It happened to me 2 times during over 10 years of my Qt experience.
Otherwise you are looking for the ways not t
UUIDs is not unique for hardware/system, so I doubt QUuid will help.
Such things are normally resolved using MAC address on any system, which is
unique for every network adapter,
But there always may be a system which does not have network adapter, have
a few network adapters or does not let you
Great ! Thanks!
Did not see this announcement on interest, so forwarding message there.
Alex
On Thu, Apr 11, 2013 at 3:57 AM, Turunen Tuukka wrote:
>
> Hi All,
>
> Visual Studio Add-In 1.2.1 for Qt 5 is now released, see:
> http://blog.qt.digia.com/blog/2013/04/11/visual-studio-add-in-1-2-1-
Danny,
I have not tried LLDB and I am not sure it will support all languages we
need, but TotalView (debugger we were using on Linux) which is providing
close to VS features for debugging (but decently support multi-threading
debugging) cost 3 times more than VS Professional Edition (not upgrade
I am sorry for multiple posts. Something happened to my gmail and it was
not shoring any reaction on Send button click, and I was clicking and
clicking
On Wed, Apr 10, 2013 at 5:21 PM, Alex Malyushytskyy wrote:
> It might be better also to attach ui file, so people can really see
dialog in 2 directions. Both directions
matters, you might want to add resizer at the bottom to avoid scaling.
Regards,
Alex
On Wed, Apr 10, 2013 at 5:21 PM, Alex Malyushytskyy wrote:
> It might be better also to attach ui file, so people can really see the
> source.
>
> Possible p
It might be better also to attach ui file, so people can really see the
source.
Possible problems as I can guess:
- You do not have widget (top) layout which created.
If this is a case in designer click outside red boxes and click pn create
vertical layout icon.
- You are trying to re-size dialo
It might be better also to attach ui file, so people can really see the
source.
Possible problems as I can guess:
- You do not have widget (top) layout which created.
If this is a case in designer click outside red boxes and click pn create
vertical layout icon.
- You are trying to re-size dialo
I would encourage people to read
"Apologies on the "bloat" thread (a.k.a yes Windows is still important)"
before posting in this thread.
This might help people (like me :P) to be constructive.
On Wed, Apr 10, 2013 at 5:01 PM, Thiago Macieira
wrote:
> On quarta-feira, 10 de abril de 2013 16.05.
>> * we expect that most people who build Qt from sources are Qt developers
themselves (majority of users will download binaries and the stats prove
it);
Thiago,
I afraid your expectations are wrong.
My statement is totally based on my experience.
Most of my Qt life I was a Qt commercia
Do you say QStringList QSqlDatabase::connectionNames ()
returns anything after QSqlDatabase::close is called?
I believe in Qt 4.6 it worked on Windows.
You may try QSqlDatabase::removeDatabase
but it may cause some resource leeks if there are open queries.
Regards,
Alex
On Thu, Ap
Write, find free or buy widget you need to insert,
( google it. for example http://qt-apps.org/content/show.php?content=132560)
then read QTableWidget documentation about
setCellWidget ( int row, int column, QWidget * widget )
Alex
On Thu, Mar 21, 2013 at 7:11 PM, pengliang(彭亮) wrote:
> Hi a
It is supposed to be no difference when restore state as soon as all
children (toolbars, etc) are created already.
Also if you are using QSettings to save/load state make sure you
already set atributes to QSettings so it is written/read from the same
location.
Regards,
Alex
On Wed, Mar 20, 2
It might be different guidelines for different system, but
the only restriction I would expect from top level disabled window is that
it cannot receive input from the user.
And it is supposed to be able to become active cause you might need to move
the window.
If in your case it seems unreasonable
I guess comment below was meant to send to mailing list.
On Mon, Mar 11, 2013 at 3:46 PM, John Weeks wrote:
>
> On 05-Mar-2013, at 5:02 PM, Alex Malyushytskyy wrote:
>
> Remember you can always disable any window at any time and leave only
> desired windows accessible to user.
Digia had plans to add Qt4 support according to link below:
http://blog.qt.digia.com/blog/2012/12/19/visual-studio-add-in-1-2-0-for-qt-5-released/
Alex
On Fri, Mar 1, 2013 at 4:56 AM, Duane wrote:
> On 12/10/2012 02:41 AM, Haataja Ismo wrote:
>> Hi!
>>
>>> Will there be a VS addin for VS 2012 an
I believe your case is outside of the normal usage pattern of modal
windows/dialogs.
Remember you can always disable any window at any time and leave only
desired windows accessible to user.
Alex
On Mon, Mar 4, 2013 at 5:06 PM, John Weeks wrote:
> I have a need to make a group of windows behave
question an idiot.
Alex
On Tue, Feb 26, 2013 at 4:58 PM, tang ke wrote:
> You must know the relation of QGraphicsScene, QGraphicsView and
> QGraphicsItem.
>
> The QGraphicsView display the item of QGraphicsScene.
>
>
> On 02/27/2013 08:15 AM, Alex Malyushytskyy wrote:
>
Is it still shown if you force graphics window to update (might be
just by minimizing/ maximizing or resizing) ?
If not it means that scene was not updated and you can fix it calling
QGraphicsScene::update yourself.
Alex
On Sun, Feb 24, 2013 at 5:00 AM, tang ke wrote:
> On 02/24/2013 07:56 PM,
Your main problem will be not GUI, it will be technical details on how
to control Cannon cameras.
I would advice you to check other that QT forum sources, cause it is
not right place to ask such questions.
For example:
http://www.usa.canon.com/cusa/consumer/standard_display/sdk_homepage
Google roc
> I see same behavior in an INNO Setup, however MSI behaves different - it
> doesn't allow to install program twice.
It all depends on the design of your installation: product and package codes.
You can have multiple products with the same name ( for example
different version of the products ) in
It is mostly likely related it is related to improper code in
QGraphicsItem subclass
which probably did not call
QGraphicsItem::prepareGeometryChange()
as Pierre mentioned before.
Alex
On Wed, Dec 5, 2012 at 5:29 PM, Jan Kundrát wrote:
> On Thursday, 29 November 2012 12:33:58 CEST, Volker Po
As far as I understand cell either is hierarchical or not.
If it is hierarchical it must have a root (otherwise it can be
presented by a few regular cells).
I just briefly played with the code, but I was able to get both
regular and hierarchical sections,
so I am not sure I understood your questio
http://en.wikipedia.org/wiki/Dependency_injection
On Thu, Nov 8, 2012 at 12:44 PM, Yunior Bauta Pentón wrote:
> Hello.
> What is Dependency Injection Framework more used actually to Qt and C++ ?
> Any sample ?
> Thank
>
> --
> Ing. Yunior Bauta Pentón
> Dpto: PostgreSQL/DATEC
> Universidad de
Since combobox is using QLineEdit for editing,
it provides a pointer to it with:
QLineEdit * QComboBox::lineEdit () const
Also you force it to use QLineEdit subclass with setLineEdit()
Alex
On Wed, Oct 31, 2012 at 10:07 AM, Bill Crocker
wrote:
> Hello:
>
> I am adding spell checking to my app
ng mouse event handlers and calling
QAction::trigger()."
Alex
On Tue, Oct 9, 2012 at 5:23 PM, Alex Malyushytskyy wrote:
> On Windows, QT 4.7 it works as as expected.
> I guess problem is specific to MAC
>
> Alex
>
>
> On Tue, Oct 9, 2012 at 3:39 PM, Jim Prouty wrote:
On Windows, QT 4.7 it works as as expected.
I guess problem is specific to MAC
Alex
On Tue, Oct 9, 2012 at 3:39 PM, Jim Prouty wrote:
>
> On Oct 9, 2012, at 12:31 PM, Stephen Chu wrote:
>
>> Are you sure you want a push button or a text entry field in the menu
>> from the menu bar?
>>
>> It's,
setRealNumberNotation ( QTextStream::ScientificNotation )
with setRealNumberPrecision() to specify number of digits?
Alex
On Fri, Oct 5, 2012 at 3:59 PM, Rui Maciel wrote:
> Is it possible to manipulate QTextStream so that it outputs a
> representation of a float or a double with exactly n digi
Why do you need Threads[th].cancel();?
According to documentation not only "the QFuture returned by
QtConcurrent::run() does not support canceling,...", but I do not see
any reason you could want to do this.
Alex
On Thu, Oct 4, 2012 at 6:25 AM, André Somers wrote:
> Op 4-10-2012 15:21, Sujan
e:
> On quarta-feira, 3 de outubro de 2012 15.50.30, Alex Malyushytskyy wrote:
>> > That's not so good; Q_CHECK_PTR will print "Out of memory" upon seeing a
>>
>> Q_ASSERT just prints an assert information in debug
>
> Not really.
>
> Q_ASSERT, if
ed.
Code can't recover from it. This should not happen, Stop is the best you can do.
Alex
On Wed, Oct 3, 2012 at 1:32 AM, Jan Kundrát wrote:
> On 10/02/12 05:07, Alex Malyushytskyy wrote:
>> You would save a lot of time if u properly initialized this->progress to
>> n
Few comments
1. If you remove :
splash->finish(&w);
You will have splash staying on top until you click it.
Good for debugging.
2. QApplication can only be one, so it does not make sense to pass
pointer of it, use qApp;
3. On Windows with Qt 4.7 your example result in Unhandled exception :
A
> Does anyone have an idea what's going on, or has anyone tried releasing
> something with qt5 and MSVC?
I have not tried, Qt5 but I do not believe in mysteries,
you are missing dependency or provide wrong executable ( debug for example)
First thing to check is CRT (MSVCRT*.dll),
other comput
>On Linux, you wouldn't allocate 1 GB of memory with sbrk. You'd use an
>anonymous mmap, which reserves address space but provides no memory backing.
>The allocation is done on faulting the page.
>
>That's how glibc's malloc() serves allocations above a certain adaptive
>threshold.
Thiago,
Many t
It depends on functionality you need and type of your dialog (modal/modeless)
In any case I do not think appropriate time is when dialog is closed.
Check QDialog documentation for example at:
http://doc.qt.nokia.com/4.7-snapshot/qdialog.html
In general for modal dialog you might want to update da
Harri Pasanen ha...@mpaja.com wrote:
>>I wonder why you say Linux is less flexible? Couldn't you just write a
custom allocator directly using sbrk()?
Also, 32 bit linux process leaves more application space free, so you
can easily reach 2Gb process size, while I recall windows XP having
iss
ern you do it.
Cheers,
Alex
On Mon, Aug 20, 2012 at 4:20 PM, Thiago Macieira
wrote:
> On segunda-feira, 20 de agosto de 2012 15.27.53, Alex Malyushytskyy wrote:
>> Crashing or even exiting due to insufficient memory in the middle of
>> long term task is not a choice.
>
> Th
>>On segunda-feira, 20 de agosto de 2012 14.39.08, Scott Aron Bloom wrote:
Ok.. Call me taught.. but I can tell you, last time I tried, it didn't
compile in 64 bit mode.
>>Last time I tried, it did.
I have not tried VS2008 (we skipped it),
but we regularly produce 64 bit versions (toget
>>Nonsense. Any application using a gigabyte or more of memory should HAVE
SWITCHED to 64-bit a couple of years ago.
It is not nonsense.
You provide to users version which works on their system (whatever they have).
And even though application may need close to 2GB of data (or more) to
work effic
Talking about Windows the only reliable solution is to supply all
dependencies (at least not system) with your application.
For example you can build dll with different compiler or version of
the same compiler.
You have to make sure that your application uses correct build of QT.
On top of this, ac
I am starting url request as
void ubFileManager::startRequest( QUrl _url )
{
qDebug() << "url=" << _url;
QNetworkRequest request (url);
request.setAttribute ( QNetworkRequest::AuthenticationReuseAttribute,
QVariant( QNetworkRequest::Manual ) );
// where qnam is instance o
The best news would be Nokia replace Windows with Qt in the future plans.
I feel better for Qt developers, cause they are going (if willing) to
get job in Digia.
If not counting that, it was already clear that somebody will take
over Qt and first candidate was Digia due to the fact they already
pr
be other cases when you might want to reauthorize
user from the application side.
Alex
On Thu, Aug 9, 2012 at 2:08 PM, Richard Moore wrote:
> On 9 August 2012 03:34, Alex Malyushytskyy wrote:
>> user will not be requested for authentication second time,
>> instead QNetworkReply
I could not find how to enforce authentication of QNetworkAccessManager.
Problem is that for at least http server I have go work with,
when user specify a valid user name, but invalid password
when requested for authentication first time,
user will not be requested for authentication second time,
I think you should read:
http://support.microsoft.com/kb/238975/
This might be not as easy as you think:
Theoretically, you can iterate the ROT for each individual instance, but
Office applications do not register themselves if another instance is
already in the ROT because the moniker for itse
As far as I understand you need 3 different objects
(it can be instances of appropriate class or its subclass) for pattern to work:
1. QMainWindow ( add dock widget to)
2. QDockWidget
3. QWidget ( widget for setWidget which would be displayed by QDockWidget )
And 3 is missing in
> void QScaffy::a
Hi Mikhail,
If you have so many C++ error in the project that was normally
compiled with different CMake without compiler change,
it might be that your project was not configured properly and mocing
was actually done by add-in.
In this case errors you get should be probably linking errors.
So yo
A far as I understand if you run CMake you should not have Qt Visual
Studio Add involved.
If not mistaken CMake adds full paths to the dependencies, so you
should have Add-in to be involved.
try to remove it and see if project is built.
Also I would check changes in CMake. I would not be surprised
Are you sure you need mouse press event?
Would listening to void QTableWidget::cellPressed ( int row, int column )
signal help?
If not you can always install event filter, look for
void QObject::installEventFilter ( QObject * filterObj )
Alex
On Tue, May 8, 2012 at 5:10 AM, Riccardo Roasio
wrot
setQuitOnLastWindowClosed(true)
only sets flag which is checked when any QWidget closed
and closes application when you need the last one.
So, since I assume you do not have QWIdget instances anymore,
you need manually call exit when you need to exit:.
voidQCoreApplicationexit ( int returnCod
I would recommend looking for help on Qwt forum,
it is separated product and has nothing to do with Qt besides it is using it.
It is like asking such question on Widows forums,
cause your have Windows installed.
As for building problem, just from my experience QWT pro file is too
complicated and v
try the following ( assuming index is equal to row ):
view->model()->removeRow(index);
Alex
On Sat, May 5, 2012 at 5:29 AM, Sujan Dasmahapatra
wrote:
> I am trying to delete a row from QSqlTableModel which is show in the
> QTableView but it's not working please help.
>
> MainWindow *mainwin
a bug.
I am surprised QSqlRelationalTableModel select() does not call
select() for every relation model set itself.
Regards,
Alex
-- Forwarded message --
From: Alex Malyushytskyy
Date: Thu, Apr 19, 2012 at 2:34 PM
Subject: QSqlRelationalDelegate combobox is not updated
To: in
I found a problem which looks like a bug when trying to display data
from database in
QTableView using QSqlRelationalDelegate.
Assume I have 2 tables:
-streets
-addresses
Table Addresses has column which contains reference to ID in the streets.
QSqlRelationalTableModel is used for both tables and
There is no point in excessive color usage.
Most of people would would read it if you do not.
At least attempt to do it made my eyes tired, so I could not pass second line.
Alex
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.or
I've just got weird looking case when my software is running on the
systems with multiple screens.
My main application window saves its last position and size, so if it
was moved to second monitor it will be re-opened there.
But QSplashScreen will still be shown on the primary screen at startup.
No, widget Size Policy will not change anything
until layout is flying in the air.
It is the same as trying to tow a car which has no any connection
to the truck.
Alex
On Fri, Feb 17, 2012 at 3:28 PM, BOUCARD Olivier
wrote:
> Hi Carl,
>
> Try to play with the widget Size Policy, it will become
Actually he already learned something.
At least he does not add 12 line signature from his post.
So +++ for Dan's suggestion.
Alex
On Thu, Feb 16, 2012 at 6:16 AM, Dan White wrote:
> In an honest effort to try to be helpful, I offer up two links to the group:
>
> How To Ask Questions The Smart
1 - 100 of 115 matches
Mail list logo