On 04/16/2019 07:56 AM, Fabrice Mousset | GEOCEPT GmbH wrote:
[External]
Hello,
before starting QtWebAssembly evaluation, I would like to know what are the
“limitation” of the GPL Version?
Does it mean that everything I will develop using QtWebAssembly must be GPL?
At this time, we have devel
So the issue I'm having here is that I want to show the user some sort of progress
indicator (this whole pipeline takes a bit of time), but at the start I only know the
raw count, not any of the intermediate or final counts. And because the
A->B->Final portion of the pipeline takes a notic
We have a data processing pipeline that looks like so:
Raw Data objects -> Type "A" data objects -> Type "B" data objects ->
Final Data objects
Each step can be considered a filtering process where the following
mathematical relationship holds for the quantities of each type of object:
On 03/26/2019 11:02 AM, Murphy, Sean wrote:
[External]
You could add a tool-button with said popup menu associated to it to the
right of the tab widget (e.g. Firefox does this). This would have the
advantage from my PoV that it's always there and works, regardless of
how many tabs are open.
Is there a way to get access to the scroll buttons on a QTabWidget to customize
them?
The issue we're having is that we have a UI that uses a tab widget for
displaying file contents - one tab per open file. Once a user opens enough
files/tabs, the tab scroll buttons pop up (so far so good),
You can also check the device pixel ratio for image “@2” alike:
qreal pixel_ratio = QGuiApplication::primaryScreen()->devicePixelRatio();
unsigned int image_scale_ratio=pixel_ratio/1u;
QString
m_image_scale = image_scale_ratio<=1u ? "" :
QString("@%1x").arg(image_scale_ratio);
Please kee
I have a QTableView.
I use a QStyledItemDelegate on each cell.
The delegate opens a custom, modal editor on double click.
The editor is based on a QDialog and contains a number of widgets,
one of which is a QComboBox.
When I press in the text entry area of the QComboBox,
the whole edit window
The problem is not the GCC version. It's the set of libraries provided by
the old distribution.
And I guess he could still build his own packages. The libraries would
just
use bundled qt copies if too old. Only the prebuilt packages have higher
requirements, right?
No; e.g. xkbcommon is no l
Hello,
Is there a current recommended way of catching exceptions before they unwind
through the event loop? I want this for "debug purposes" only. I have few
methods that throw and I (think I) catch (all of) my exceptions before they
reach the event loop, but I wanted to be sure I hadn't forgot
We have been using buildbot on a Linux server and multiple Macintosh and Windows
machines as workers for about 9 years. The workers build our Qt based
application, run tests, and if everything passes the application is uploaded to
the buildbot server which then passes the application to our web
On 11/05/2018 10:38 AM, Allan Sandfeld Jensen wrote:
On Montag, 5. November 2018 12:10:15 CET Jean-Michaël Celerier wrote:
I tried building everything with clang 7 and libc++ last week but hit a
qlalr segfault during build. I've been trying to debug it ever since to no
avail.
clang sometimes
On 09/28/2018 10:26 AM, Igor Mironchik wrote:
Hello,
I have a dock widget with text edit field. When I set document to QTextEdit
document layouts with smaller width than width of QTextEdit. Look.
Small width
I can't do so to enlarge the width of the text. But when I put enough text to
fit all
From some experimentation it appears that the CPU time required by the
QPainterPath system is quite non-linear in the number of control points.
So, if I break my one long path up into a number of shorter paths, it
draws MUCH faster.
Is that the case with both antialiasing on and off? (They
Il 17/08/2018 20:36, Bill Crocker ha scritto:
My newer, Qt based drawing program takes orders of magnitude longer to draw
lines
than my good old plain X-Windows based drawing program.
The Qt call stack, as revealed by VTune, is:
QPainterPath::draw
QPaintEngineEx::draw
QRasterPaintEngine::s
On 08/17/2018 02:36 PM, Bill Crocker wrote:
Hello:
My newer, Qt based drawing program takes orders of magnitude longer to draw
lines
than my good old plain X-Windows based drawing program.
The Qt call stack, as revealed by VTune, is:
QPainterPath::draw
QPaintEngineEx::draw
QRasterPaintEngine:
On 06/04/2018 05:08 PM, Patrick Stinson wrote:
Hello!
I am writing a unit test for an item view and need to get . The code in
*qabstractitemview_p.h* “releases” an editor created by a delegate by calling
*QObject::deleteLater()* on it. However, in the following code the first editor
is not delet
To summarise:
- Qt is a graphical toolkit
...and I used it to create a graphical application.
But then my users wanted to create hard copy from
batch jobs running on our compute farm. Those machines
do not provide access to an X server and, as we have discovered,
Qt needs an X server for a lot
That is simply incorrect. It might not be how you would like it to behave,
however it is the norm that short writes are allowed and should be handled by
the callee. This is the case in POSIX, the C standard library etc. I'm afraid,
you'll simply have to learn to live with it - an easy solution
It immediately failed one of my regression tests.
You should have known there was an issue because I here it has been fixed in
5.11
Of course there are problems. Do you want us to delete every old release
because we've fixed bugs? We already have fixes for bugs post 5.9.5, which was
released
So, are you saying that the 5.10 branch has been abandoned.
No, it's been *closed*. There's a difference.
If it is closed then I assume issues will not be fixed.
I call that abandoned.
If so, I do not think the web site should offer it as a download candidate.
Huh, why? What's the rati
On 04/12/2018 11:47 AM, Thiago Macieira wrote:
On Thursday, 12 April 2018 04:57:58 PDT Bill Crocker wrote:
Why isn't there a 5.10.2
Because we had to kill one branch as we had too many open branches. We have
5.6, 5.9, 5.11 and dev left, which is the all-time high except for the few
weeks we al
Hello:
For a while now I have been building on Windows
using the the Qt Visual Studio plug-in to import my .pro file.
Now, for some reason, I am getting this...
I have QTDIR set as an OS environment variable.
Does anyone know what might be wrong.
VS: 2015
Qt: 5.7.0
Thanks
Bill
--- (Import): G
On 02/26/2018 08:00 AM, Alex Blasche wrote:
Hi,
For those who do not follow the Qt development blogs, we just published the
first VS Addin release since the redesign imposed by Visual Studio API changes
in MSVC 2013 and beyond. This was a long journey in the making. The last non-TP
release wa
Yet it seems we both agree that 2 complex classes (let's say QString and
QObject)
are often declared in different files and that a file can contain more than one
class declaration, in particular if they are helper classes.
Agreed.
My final solution looks like this:
build_lib {
# Build
Think about C++ classes and files. If you have 3 classes like A, B and C, it is
common practice
to have them defined in 3 header files in particular if they are complex
classes, even if both B and C inherits from A.
And hardly anyone would try to put the 3 of them in a single header file, even
My goal is to keep all files in the same directory and all .pro logic in the
same file.
QMake should be ashamed of itself.
Why? It is a design decision made by the people who made qmake to have 1 .pro
file per major target.
The most obvious evidence is the `TEMPLATE` variable in p
are needed if these pro files are *not* in
subdirectories, what SUBDIRS expect otherwise.
Regards,
André
Am 08.02.2018 um 14:22 schrieb Ola Røer Thorsen:
2018-02-08 13:56 GMT+01:00 william.croc...@analog.com
<mailto:william.croc...@analog.com> mailto:william.croc...@analog.com>>:
Hello list:
I have an application.
I would like to rearchitect it were 90% is in a shared library.
I would use that lib to link a main application.
I would like to create a single .pro file that can be
used to create both the library and main app.
I do not want to create the lib and app in separa
3. Since (I think?) you can only reasonably have two y-axis scales (one on the
left, one on the right) per plot, and our sensor value ranges are so varied, we
can't
reasonably put all the sensors on one plot and set the y-axes scales to the
largest range
because then you can't see the details
On 11/14/2017 05:46 AM, Nuno Santos wrote:
Hi,
I’m using QSortFilterProxyModel to sort a data model ascending and descending.
I wanted to create an exception to make a single item always appear at the
beginning of the filtered model, bypassing the sort.
Does anyone knows if this is possible?
For the second one, consider that after arg(d) is executed, the input string to arg(a) is "B: %41".
Since 41 is now "the lowest numbered place marker", "XXX" gets substituted. It is easy to
mistakenly think that QString magically treats multiple .args as somehow being indexed. I think the
It's not tomorrow that you will design an airplane on an Android
tablet, control the CERN particle accelerator from a Windows phone or
monitor the country electricity distribution network grid from an
Apple iPod.
Well said! Hear! Hear!
Bill
(Oh, damn. Where was that closest Starbucks again.
Hello:
What is the current thinking on why my desktop app
might start spewing this, seconds after copying
to some text the clipboard.
QXcbClipboard: SelectionRequest too old.
Qt 5.7.0 on RHEL 6.8
Thanks.
Bill
___
Interest mailing list
Interest@qt
ux or Windows?
13.04.2017 15:39, william.croc...@analog.com пишет:
On 04/13/2017 08:34 AM, Igor Mironchik wrote:
Hi,
Strange, I launch 3Dtree on Linux under valgrind:
==4321== HEAP SUMMARY:
==4321== in use at exit: 439,965 bytes in 6,185 blocks
==4321== total heap usage: 2,207,719 allocs, 2
On 04/13/2017 09:21 AM, Igor Mironchik wrote:
Hi,
Fresh data:
First grow of the tree of 5 years - 135,1 MB
First restart and 5 years - 173,8 MB
Second restart - 203,6 MB
Is it a fragmentation? Or something else?
Are those numbers for Linux or Windows?
13.04.2017 15:39, william.croc
On 04/13/2017 08:34 AM, Igor Mironchik wrote:
Hi,
Strange, I launch 3Dtree on Linux under valgrind:
==4321== HEAP SUMMARY:
==4321== in use at exit: 439,965 bytes in 6,185 blocks
==4321== total heap usage: 2,207,719 allocs, 2,201,534 frees, 1,241,469,509
bytes allocated
==4321==
==4321== L
han the current GUI thread."
Yes. That is my understanding too, as stated above.
Thanks,
Dan Allen.
On 03/04/17 14:49, william.croc...@analog.com wrote:
On 04/01/2017 09:48 AM, Dan Allen wrote:
Hi Bill,
I agree, however when the print is quite complex it makes the GUI very
unresponsive.
log.
- The sub-event loop monitors the printing process with a thread safe
communication mechanism, like signals and slots.
- When the printing completes, close the dialog.
- Exit your sub-event loop.
Thanks,
Dan Allen.
On 01/04/17 13:43, william.croc...@analog.com wrote:
On 04/01/2017 03:41
On 04/01/2017 03:41 AM, Dan Allen wrote:
Hi,
Could anyone tell me if it's possible to paint into a QPrintPreviewWidget in
another thread, and if so, how?
I have created a class to perform printing and this runs in another thread.
When used for printing it works fine. However when used for the
03/16/2017 08:15 AM, william.croc...@analog.com wrote:
[This sender failed our fraud detection checks and may not be who they appear to
be. Learn about spoofing at http://aka.ms/LearnAboutSpoofing]
Hello:
I am slowly porting my app forward from Qt 4.8.6
With 4.8.6, it is my observation that
Hello:
I am slowly porting my app forward from Qt 4.8.6
With 4.8.6, it is my observation that simple line drawings,
as made by a QPainter and with Antialiasing enabled in render hints,
are implemented in software which makes them quite slow.
What can I look forward to if I port my app to 5.X (5
On 03/10/2017 03:31 AM, Krzysztof Kawa wrote:
2017-03-10 0:18 GMT+01:00 Thiago Macieira :
On quinta-feira, 9 de março de 2017 18:12:57 CET Sérgio Martins wrote:
On Thu, Mar 9, 2017 at 1:13 PM, Thiago Macieira
1) is there a need for qmake to provide a way to select *exactly* C++11,
not a later,
On 01/19/2017 09:55 AM, Jason H wrote:
I really think Qt needs a compile tool
I would vote against that as it would be just another
layer to be learned and for which something would eventually go wrong.
(Kind of like what the aliens did to our space probe
in the first Star Trek movie.)
I pref
On 01/16/2017 09:07 PM, mark diener wrote:
Bill:
I thought I would do a brain dump on what I learned.
If your data is bound by the roleNames() mechanism, then the
dataChanged( ) function works greatl
If your data is retrieved by INVOKABLE functions, then you need to call
the following:
QModel
On 01/15/2017 06:19 PM, mark diener wrote:
Cannot use emit dataChanged(index(0),index(growcount-1)) to cause
re-display of changed
values in ListView.
Tried every combination:
emit dataChanged(index(grow),index(grow));
emit dataChanged(index(0),index(grows));
emit dataChanged(index(0),index(gro
On 01/11/2017 06:37 PM, Frank Rueter | OHUfx wrote:
Thanks Giuseppe,
I will check out both those options and report back.
On 12/01/17 12:15 PM, Giuseppe D'Angelo wrote:
Il 12/01/2017 00:02, Frank Rueter | OHUfx ha scritto:
Is there any way to intercept a any tool tip even from anywhere in the
On 01/05/2017 10:29 AM, Bob Hood wrote:
On 1/5/2017 8:03 AM, Jason H wrote:
The mantra is to use QML.
I just wrote a wonderful utility using Qt 5.6.2 and Widgets for the desktop, and
there's no hint of QML in it. It functions beautifully, is easily maintainable,
and even has full animations.
On 12/21/2016 01:33 PM, Jason H wrote:
When I compile Qt, it is a harrowing experience. I've _never_ actually had a compile go as planned, which
"as planned" is: configure && make && make install (with configure options of
course). I don't think it's me. I thought that with all the gerrit revie
My approach so far is a choice based on lod, from low to high:
- draw nothing
I would despise a system where repeated zoom-outs
eventually resulted in "draw nothing". If you draw
nothing then I am lead to believe that there is
nothing there.
- draw the bounding rect
- draw the rectangles d
Perhaps I'm missing something, but why not skip the processEvents call
altogether and just queue an event to do the resizing later?
E.g:
void MyApp::show()
{
...
// The lambda is just quickest to write, you can use a private slot as
well.
QTimer::singleShot(0, [sz, pos] () -> void
On 11/14/2016 06:23 AM, william.croc...@analog.com wrote:
This sender failed our fraud detection checks and may not be who they appear to
be. Learn about spoofing at http://aka.ms/LearnAboutSpoofing
But, if there *IS* something to do (sync), and I do not give it enough time,
then the new bug
But, if there *IS* something to do (sync), and I do not give it enough time,
then the new bug will be that my app only restores window size and location
SOMETIMES, because processEvents was not given enough time.
You seem to be misunderstanding what the timeout is. It doesn't say
"this functi
On 11/08/2016 10:00 AM, Michael Sué wrote:
Hi,
BaseClass::show();
qApp->flush();
// It appears that with Qt 5.7, SOMETIMES, this call to processEvents
waits
// for the full 5 secs though I do not believe there is anything to do.
qApp->processEvents(QEventLoo
On 11/08/2016 09:45 AM, Michael Sué wrote:
Hi,
qApp->processEvents(QEventLoop::ExcludeUserInputEvents,5000);
Your processEvents call timeouts after 5 secs, and you wait for 5 secs, at
least sometimes. How about reducing it to 1 sec
then, as you think it has nothing to do, anyway, and
.
Also, I put print statements around the call to processEvents and
verified that it takes 5 secs, SOMETIMES.
Bill
- Michael.
-Original Message-
From: Interest [mailto:interest-bounces+sue=sf.mpg...@qt-project.org] On Behalf
Of william.croc...@analog.com
Sent: Tuesday, November 8, 2016 2
On 11/07/2016 07:22 PM, william.croc...@analog.com wrote:
This sender failed our fraud detection checks and may not be who they appear to
be. Learn about spoofing at http://aka.ms/LearnAboutSpoofing
I am porting my app to Qt 5.7
When I run it, it appears on the screen,
but there is a long
I am porting my app to Qt 5.7
When I run it, it appears on the screen,
but there is a long pause (~10 secs.) before it is responsive.
I ran it with strace and there is a point where it makes
100K calls to the poll() function, which accounts for the long pause.
I tried running it in a debugger,
On 11/07/2016 08:44 AM, Bill Crocker wrote:
This sender failed our fraud detection checks and may not be who they appear to
be. Learn about spoofing at http://aka.ms/LearnAboutSpoofing
I am pretty sure I am who I appear to be.
Bill
___
Interest mail
On 09/07/2016 04:23 PM, Mike Jackson wrote:
We are attempting to track down a memory leak that we _think_ we have. We have
reduced our code to the point where all we do is invoke a new QWidget instance,
show() it, hide() it and then delete it. We do this in a loop 100 times. We
monitor the memory
On 09/04/2016 05:48 PM, Konstantin Shegunov wrote:
Hi,
Do you forward the X? Sometimes this might do it ... for some reason ...
Hello:
I am running on a virtual machine
through an NX windowing system.
Sorry, I just noticed that I do not get the errors
when I run through a VNC based windowing
IIRC: The first 'L' in LGPL stands for 'Lesser', not 'Library'.
For version 2 (which the above text refers to), it was called
"Library". You are free to use the later versions, whatever name they now have.
See https://www.gnu.org/licenses/old-licenses/lgpl-2.0.en.html
Very good.
- I do n
On 07/29/2016 11:07 AM, Christoph Feck wrote:
On Friday 29 July 2016 16:58:31 william.croc...@analog.com wrote:
On 07/29/2016 10:33 AM, Christoph Feck wrote:
On Friday 29 July 2016 16:14:41 william.croc...@analog.com wrote:
applies to items which are common to both.)
KF5 has a solution for
On 07/29/2016 10:33 AM, Christoph Feck wrote:
On Friday 29 July 2016 16:14:41 william.croc...@analog.com wrote:
applies to items which are common to both.)
KF5 has a solution for that. I'm not an Model/View expert, but i
think this is what you're looking for:
https://api.kde.org/
applies to items which are common to both.)
KF5 has a solution for that. I'm not an Model/View expert, but i think
this is what you're looking for:
https://api.kde.org/frameworks/kitemmodels/html/classKLinkItemSelectionModel.html
Thanks for the pointer. Alas...
- I am industry and this is
Hello:
This is a desk top widgets question.
No QML here.
I have two QTreeView instances.
They both use the same base model,
but differ in subsequent layers of proxy models.
What is the most convenient way to keep then in sync.
When an index is selected in one, I want the corresponding
index to
I suggest you just take the weekend and write your own
parser and lexical analysis, void of Flex and Bison.
I did and I have never looked back.
:-)
If you advice to reinvent the wheel, it's bad advice. But it makes sense
to know alternatives which may be easier to use or more convenient to w
On 07/07/2016 08:01 PM, Fabio Giovagnini wrote:
Thanks Frank. So you suggest to build from the sources. I' try. Thanks again
I suggest you just take the weekend and write your own
parser and lexical analysis, void of Flex and Bison.
I did and I have never looked back.
:-)
Bill
Il 07/lug/20
On 06/24/2016 11:52 AM, Bob Hood wrote:
On 6/24/2016 9:42 AM, Alan Ezust wrote:
There is another thread on this very subject from last week:
http://lists.qt-project.org/pipermail/interest/2016-June/023114.html
http://lists.qt-project.org/pipermail/interest/2016-June/023116.html
I agree with yo
On 06/15/2016 04:28 AM, Willy Lambert wrote:
Hi all,
I'd like to use state machines to implement some of my behaviors. Is there any
graphical WYSIWIG editor for state machines in QT (or any side well known
project) ?
Many of my coworkers like this, but there is no
explicit Qt integration that
I have never been able to get creator to work. The 5 series won't even run
under my versions of VNC and the NX virtual desktops. This apparently due to a
dependency on new visual fluff.
Qt Quick doesn't indeed not work well over VNC. The common workaround is to
not load Quick based plugins
to my
set(CMAKE_CXX_FLAGS "-m32 -pthread").
On Wed, May 4, 2016 at 7:29 PM, william.croc...@analog.com
<mailto:william.croc...@analog.com> mailto:william.croc...@analog.com>> wrote:
On 05/04/2016 01:07 PM, Thiago Macieira wrote:
On quarta-feira, 4 de mai
On 05/04/2016 01:07 PM, Thiago Macieira wrote:
On quarta-feira, 4 de maio de 2016 10:08:27 PDT Bill Crocker wrote:
From my experience the symbols I am seeing are typical of missing moc
files. I know I have all of my #include "abc.moc" statements in place
because my project builds fine with qm
On 03/29/2016 10:47 AM, David Heremans wrote:
Hello,
I seem to have a 'visibility problem' with my application.
I have a QGraphicsscene that represents a piece of A4 paper at 300DPI
(approx. 3300 by 2500 scene coordinates). On this scene I have a simple
street map and some symbols. I draw the li
Hello:
If I have a single data structure being presented to the world
by two, separate item models and I want to "insert a row".
I assume I would:
1 - call beginInsertRows on both models,
2 - insert the row in my single data structure
3 - call endInsertRows on both models.
I am pretty sure I am
Sure, you can look and see that the size() of a QByteArray returns
an 'int', but that is only as of today. You should get into the habit
of controlling the types written to QDataStreams.
Actually, for reading and writing binary data files, I think it is wise to get
into the habbit of using expl
QDataStream out2(&file); // and module A write those datas to a file.
out2 << bai.size();
out2 << bai;
All of the following is IMHO:
I think that if you are going to read the size back as an 'int'
you should insure that an 'int' is written in the first place:
out2 <<
On 03/07/2016 09:35 AM, Sina Dogru wrote:
Well but, I am writing a QString to QByteArray,
QByteArray bai;
QDataStream out(&bai, QIODevice::WriteOnly);
out << QString("A QString");
And writing an 'int' and QByteArray which a QString written
file.open(QIODevice::WriteOnly);
QDataStream out2(&fil
On 03/07/2016 09:19 AM, Sina Dogru wrote:
2016-03-07 15:51 GMT+02:00 william.croc...@analog.com
<mailto:william.croc...@analog.com> mailto:william.croc...@analog.com>>:
Some tool kits use a buffer in their version of QDataStream.
You can not in general be sure that
int main()
{
// module A creates a byte array
QByteArray bai;
QDataStream out(&bai, QIODevice::WriteOnly);
out << QString("A QString"); // writes some information on it
Some tool kits use a buffer in their version of QDataStream.
You can not in general be sure that anything has actually been
On 03/04/2016 11:24 AM, André Somers wrote:
Op 04/03/2016 om 13:20 schreef william.croc...@analog.com:
On 03/04/2016 03:06 AM, Roshni Lalwani wrote:
I have application in which I am planning to use a QtreeWidget . The maxinum
number of elements in the treeWidget can go uptp 500 . COuld you
On 03/04/2016 03:06 AM, Roshni Lalwani wrote:
I have application in which I am planning to use a QtreeWidget . The maxinum
number of elements in the treeWidget can go uptp 500 . COuld you let me how will
be performance of using QtreeWidget for 500 elements . Will it lead to some
performance degra
Ok, so then in my case, I'd just inherit from QStyledItemDelegate and add a function
that allows me to pass in my QMap so that I can adjust your
calls of setColor() in paint() on the fly based on modelIndex.
Do you happen to have any pointers for customizing the drag and drop indicator?
N
On 02/05/2016 10:34 AM, Murphy, Sean wrote:
I’m still struggling with how to customize the selection color for items on a
QTableView
I use a QStyledItemDelegate.
In the paint(painter,option,index) method I create my own QPalette based on
selection etc and then call the base class paint function
I do not remember why I added a styleSheet. Perhaps to make it more fat-finger
touch-friendly for Android or iOS. Anyway, I must re-think and re-test.
I always tell my customers to stay away from style sheets. They are way more
trouble than what they are worth.
My complaint:
Some things c
On 01/13/2016 05:33 AM, Konstantin Tokarev wrote:
13.01.2016, 04:10, "william.croc...@analog.com":
On 01/12/2016 07:37 PM, Elvis Stansvik wrote:
2016-01-12 15:37 GMT+01:00 Bill Crocker:
Hello:
Could someone please show me the few lines of code required
to add a list
On 01/12/2016 07:37 PM, Elvis Stansvik wrote:
2016-01-12 15:37 GMT+01:00 Bill Crocker:
Hello:
Could someone please show me the few lines of code required
to add a list *of three elements* to a QTextDocument using low
level (i.e QTextBlock, QTextCursor, QTextList, etc.) classes.
This would be
On 01/10/2016 02:59 AM, Tony Rietwyk wrote:
Bill asked:
Sent: Sunday, 10 January 2016 1:25 AM
Next question:
How do I save and restore to HTML?
Hi Bill,
I can't help with the saving. But we display html documents with
tags and replace them with QWidgets:
The HTML representation is
How do I this using a QTextEdit widget in HTML mode
with QTextCursor etc.
Okay. I have made some progress using the QTextObjectInterface.
Next series of questions:
- If a QTextCursor spans one of my inline objects and some aspect of the
font is changed, how does my object get notified.
- My
On 01/08/2016 05:40 PM, Bill Crocker wrote:
Hello:
I am working on a WYSIWYG editor.
The user needs to be able to enter macros which render
specially on the screen. For the purpose of this conversation,
pretend they enter "$DATE" which displays as "8-JAN" on the screen.
They are not allowed to e
On 01/08/2016 09:49 AM, Murphy, Sean wrote:
I would probably prefer something like an overlay message popping up for a
few seconds or (a bit nineties style) a status bar message. Another would be
to have a subtle small icon overlay float from the button up to the tab.
Overlay message probably i
On 01/07/2016 03:44 PM, Murphy, Sean wrote:
I'm trying to figure out the right way to show some feedback to the user and
I'm stuck. Here's the setup:
- I have a QTabWidget, that has three tabs, one for live data, one for archived
data, and a third tab that doesn't having much to do with this pa
I think Qt opened the door for geometric consideration when they
invented the scene, gave items mouse-event-handlers and provided
intersection based item queries. :-)
Fair enough :) You could always try filing a feature request and see
what people think.
People will think, "What has this
Given a QPoint and a QPainterPath.
How do I find the distance from the QPoint to the
closest point along the QPainterPath.
Perhaps. But you should consider that QPainterPath is, as the name
suggests, primarily for painting, and not meant for solving generic
geometric problems. So I'm not sure
On 12/29/2015 06:42 AM, Elvis Stansvik wrote:
2015-12-28 22:49 GMT+01:00 william.croc...@analog.com
Given a QPoint and a QPainterPath.
How do I find the distance from the QPoint to the
closest point along the QPainterPath.
Like Konstantin said, the best approach probably depends on whether
Hello:
Given a QPoint and a QPainterPath.
How do I find the distance from the QPoint to the
closest point along the QPainterPath.
I could step along the path with pointAtPercent
looking for the closest point, but that seems unduly
expensive: O(100N).
Any better ideas.
Thanks.
Bill
-
On 12/17/2015 02:40 PM, william.croc...@analog.com wrote:
On 12/17/2015 01:53 PM, Jason H wrote:
If I call:
QWidget::update() and
QWidget::updateGeometry()
Can I assume the layout request would be processed first and
then any repaints would take place.
In general can I assume that all
On 12/17/2015 01:53 PM, Jason H wrote:
If I call:
QWidget::update() and
QWidget::updateGeometry()
Can I assume the layout request would be processed first and
then any repaints would take place.
In general can I assume that all layout requests would be serviced
upon
I know they are unnecessary because my app responds with multiple
screen refreshes (paints) from a single user action. And for me those
paints can be expensive.
Did you write a widget that calls update()? I'm not sure I understand your
concern. update() should only be called when a redraw i
On 12/17/2015 11:16 AM, Jason H wrote:
My very first Qt app is large and a little sloppy in
that the QWidget::update() function is being called
*someplace* where it should not, This is causing
unnecessary repaints.
Is there one place I can put a break to find the calls
which actually cause a
Or, can you recommend a better way to diagnose
this problem. (The whole thing needs to be rewritten
now that I am older and wiser, but not just yet.)
I'd try to log calls to update() on the widget, and dump the stacktrack for each
of those to a file. You can do that (at least on gdb) by setti
1 - 100 of 172 matches
Mail list logo