e);
> WMshow();
> WMhide();
> getQWidget()->setAttribute(Qt::WA_DontShowOnScreen, false);
Maybe that helps. Setting the attribute prevents the screen flash.
-John Weeks
WaveMetrics, Inc.
> On May 23, 2024, at 3:52 PM, David M. Cotter wrote:
>
> I need to do so
; breakpoints defined by me.
>
> I am using:
> - Linux (version 5.10.0-14-amd64)
> - GNOME (version 3.38.5)
> - Qt Creator (4.14.1)
> - Qt (version 6.3 compiled from source)
> ___
> Interest mailing list
> Interest@qt-project.or
anted (adding parens) and it
applied BOTH fixes!
-John Weeks
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
.
-John Weeks
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
With the clangd code model in the latest versions of Qt Creator, we seem to
have lost the ability to order the menu of symbols in an editor window
alphabetically. That would be the menu in the bar above the area holding editor
windows and views.
Am I missing something?
-John Weeks
Maybe something related to an input method? Input methods are used for things
like composing Japanese characters.
-John Weeks
> On Jan 3, 2022, at 2:31 PM, Joshua Grauman wrote:
>
> Hi all,
>
> I am working on using QTextLayout and I was wondering if someone could giv
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest
-John Weeks
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
Reeder, Jürgen Kesper
> ___
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest
-John Weeks
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
properly, or perhaps this happens
with any dmg these days? I did ultimately manage to download it by
right-clicking, selecting Save Link As and then clicking the status tile at the
bottom of the window, where there was a choice to go ahead anyway.
-John Weeks
u nuts, please upvote this bug i've filed. Thanks.
>
>
> -dave
> ___
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest
-John Weeks
WaveMetrics, Inc.
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
Isn't this a bug?
bool QCocoaWindow::isTransitioningToFullScreen() const
{
NSWindow *window = m_view.window;
return window.styleMask & NSWindowStyleMaskFullScreen &&
!window.qt_fullScreen;
}
Seems like the bitwise & needs parens.
This is from Qt 5.12.9. Haven'
At the point where Apple almost released 64-bit Carbon, but reversed course and
made us all switch to writing things with funny square brackets instead, Carbon
had been largely ported to 64 bits. There is still quite a bit of Carbon under
the hood in Cocoa.
-John Weeks
WaveMetrics, Inc.
>
7;t bad, but it
doesn't look like either Windows or Macintosh.
Hope this helps
-John Weeks
> On Jun 8, 2020, at 12:48 PM, David M. Cotter wrote:
>
> can anyone explain why tree view looks fine but table view only has 1 pixel?
>
> @adam did you download the example p
y?
2) Do others see this too?
-John Weeks
=
==2501==ERROR: AddressSanitizer: heap-use-after-free on address 0x60300112fe40
at pc 0x0001052ca5ac bp 0x7ffeefbfa430 sp 0x7ffeefbfa428
READ of size 8 at 0x60300112fe40 thread T0
2020-04-
problems is to paint the QStyle
object into a QImage or QPixmap, then draw that image wherever you need it.
I have filed bugs against some of these problems, and gotten very little
attention.
-John Weeks
> On Mar 20, 2020, at 12:02 PM, Roman Wüger wrote:
>
> Hello,
>
> I use
And I was taught in middle school that such a "for instance" should have commas
before and after:
"This is useful, for instance, if the object needs to be exported from a
dynamic library."
> On Aug 27, 2019, at 12:58 AM, Kai Köhne wrote:
>
>
>
>> -Original Message-
>> From: Interest
ave seen? Is
there a solution? Do I just have to use QDebug() statements liberally sprinkled
about my code to debug?
Any insight greatly appreciated.
-John Weeks
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
ht be.
Has anyone developed a solution to this? Or do I need to make a wrapper class
that has an accessor function for each of the widgets? That would be a pain to
implement, and a source of bugs in the future when I change the layouts.
Any ideas greatly appreci
We are a small company selling a very large and complex application which is
now based on Qt open source. At the time we first considered porting to Qt
(version 4.3?) the license was very expensive for small company (six
programmers) and the evaluation period simply wasn't adequate to deciding i
Ah. In our case, the QLineEdit is inside (and parented by) a widget that
provides the background of the window. That parent widget can accept focus, so
I guess our cases are not quite the same.
> On Aug 14, 2019, at 9:35 AM, Murphy, Sean wrote:
>
>> I used the QLineEdit focusOutEvent() event.
I used the QLineEdit focusOutEvent() event.
> On Aug 13, 2019, at 1:21 PM, Murphy, Sean wrote:
>
>> Hmm, about that extra step, to remember the filter stuff, since you already
>> have a custom line edit class, why not embed the MouseFilter class inside it?
>> I mean, the filter does not have to
aintEvent()
requires some slight of hand to sync the GL buffers. Maybe the crash is a
result of something like that.
-John Weeks
> On Mar 27, 2019, at 2:48 PM, Matthew Woehlke wrote:
>
> I've cargo-culted some code to render text over a QOpenGLWidget from
> another pr
> I feel stupid! :D
Heh. You can join the elite group of, what, nearly 100% of coders who have had
this experience? :)
Those that haven't are probably not doing serious work.
-John Weeks
WaveMetrics, Inc.
___
Interest mailing list
Int
Our application needs to control how windows close pretty carefully- we handle
QEvent::close by ignoring it, then doing whatever we feel like we need to do.
That is, we take over management of the situation.
-John Weeks
WaveMetrics, Inc.
> On Oct 30, 2018, at 5:53 AM, Andy wrote:
>
&
7;s windows.
I have made it work pretty well, but I quake in my boots whenever I get a bug
report about window order.
We are now using Qt 5.9 and don't have any sort of replacement for my delicate
and difficult code.
-John Weeks
WaveMetrics, Inc.
> On Oct 22, 2018, at 11:37 AM, Israel
a red herring and
that I solved it accidentally in some way that I can't recall :)
-John Weeks
> On Jun 11, 2018, at 6:56 AM, René Hansen wrote:
>
> Hi,
>
>
> Has anyone else starting seeing this error, when trying to run in debug mode
> on device?
>
> "
-171.
I see this in my bug report:
I cloned it from http://qt.gitorious.org/qt-solutions August 6, 2013.
Five years later it's still working for us.
-John Weeks
> On Apr 17, 2018, at 5:26 AM, Samuel Gaist wrote:
>
>
>> On 17 Apr 2018, at 12:33, Hamish Moffatt wrote:
Do it in the showEvent()?
> On Mar 2, 2018, at 8:16 AM, Elvis Stansvik wrote:
>
> 2018-03-02 16:26 GMT+01:00 Martins, Sérgio :
>> On 2018-03-02 15:21, Elvis Stansvik wrote:
>>>
>>> 2018-03-02 16:18 GMT+01:00 Elvis Stansvik :
2018-03-02 15:54 GMT+01:00 Nikos Chantziaras :
>
>
this? Might QSvgRenderer one day implement SVG Full?
Thanks for any insights.
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
not know if they support logarithmic
> axes.)
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
I never use the two menus that I can see there. I use the Symbols menu all the
time, when I can get to it.
Is there a way to select what's shown there, or to rearrange the elements to
suit my needs?
-John Weeks
___
Interest mailing list
Interest
Add returns in your text:
QString text("1234567890123456789012345678901234567890\r"
"1234567890123456789012345678901234567890\r"
"1234567890123456789012345678901234567890\r"
"123456789012345678901
You may need to call setVisible(true). IIRC, changing window flags makes the
widget invisible.
-John Weeks
> On Oct 11, 2017, at 2:36 PM, René J.V. Bertin wrote:
>
> Hi,
>
> Dock widgets are very useful, but there are cases where I'd like to be able
> to detach t
a bug on this
behavior.
Qt 5.6.3
Windows 10
-John Weeks
WaveMetrics, Inc.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
ce of a Qt plug-in that uses the platform support. The support on OS
X is so minimal that we wound up writing a platform-specific bit of code using
Core Audio (which is not pleasant!).
It's also hard to figure what support is actually available on a given
platform, and now I've forgott
her thread from the
Threads menu, and I see the locals and expressions view change, but the stack
trace remains showing the crashed thread.
Do I simply need to get a newer Qt Creator? Or is there something I need to do
differently?
Thanks for any insigh
ItemModel is only a representation of the data, not the
data itself, you don't care of the childAdded signal comes after a data item
has been added. At that point you prepare a new row in your QAbstractItemModel
subclass.
Where does your data come from? How do you know when new data is added to the
und
d, then calling
childHasBeenAdded. The WillBe and HasBeen functions are used to inform the base
class of what your code is doing.
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
e of QDialog::exec() in the main thread, and
QDialog can be used only in the main thread.
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
At the risk of displaying my ignorance...
Having followed this thread with great interest, I have come to the conclusion
that perhaps I'm not really certain what you mean by "nested". Any chance of an
example?
> On Aug 3, 2016, at 10:31 PM, Thiago Macieira
> wrote:
>
> I disagree. You shoul
> On Jun 14, 2016, at 2:31 PM, Thiago Macieira
> wrote:
>
> On terça-feira, 14 de junho de 2016 13:58:47 PDT John Weeks wrote:
>> On a German keyboard on Macintosh, shift+6 is a combining (or dead key) ^
>> character. If you hit, for instance, shift+6 then
solicit some comment from the
European folks using Qt, who might be more expert on this sort of issue!
-John Weeks
WaveMetrics, Inc.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
DPI unit and be
assured that it will always be that way.
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
> widget will come to focus.
>
> Is this the defined behavior? Or is it perhaps a bug?
>
> If this is the defined behavior, is there a way to disable it so that the
> scroll bar consumes the event and prevents it from getting passed to any
> widgets behind it?
>
think, and if you might know of a work-around.
Thanks!
-John Weeks
#include
#include
#include
#include
#include
#include
#include
#include
class MainWindow : public QMainWindow
{
public:
explicit MainWindow(QWidget *parent = 0);
~
> On Mar 22, 2016, at 5:30 AM, René J. V. Bertin wrote:
>
> Any idea if the proposed changes in the code reviews are in any way
> backportable
> to 5.6?
No idea at all. I only know about the bug because it affects us.
-John Weeks
_
or are they internal debugging messages that shouldn't really be printed in
> production code?
>
> R.
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-pro
Nobody's mentioned the fact that an overridden virtual slot requires an
absolutely horrid cast in order to use the new PMF syntax.
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
u also get enterEvent() and
leaveEvent(), though those are somewhat screwed up on Macintosh, even in 5.6.
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
> On Mar 4, 2016, at 11:24 AM, René J. V. Bertin wrote:
>
> Indeed. But it seems it *is* possible to be notified when the widget
> (finally)
> does become visible using something like
Which is exactly what we do because we need to know *before* a window is
minimized:
void IgorNormalWindow:
non-Qt application?
This:
http://stackoverflow.com/questions/20453965/how-to-get-notified-when-nswindow-opens
seems to indicate that you're not the only one that can't figure this out.
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
to get back nullptr. internalWinId() is undocumented, but a public API
used lots of places in Qt code, so it's probably not going anywhere soon.
-John Weeks
WaveMetrics, Inc.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
scale factor set by default to 2.5.
Can someone show some example code or suggest API's to use for this? It appears
that devicePixelRatio() will only return integer values.
We are currently building against a pretty recent build of Qt 5.6.
Thanks!
-
Our .pro files have things like this:
DESTDIR = $$quote(../IgorPhoenixFolder)
Does that provide any traction?
-John Weeks
WaveMetrics, Inc.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
;
> I think it's only less complex than overload resolution, but overloads are
> better understood (you can't live without them). I mean, overloads without
> templates... that gets complex again.
Right. That's why Scott Meyers devotes quite a lot of space to it. And in C++11
anism for names to avoid name
collisions. Why does this make such a difference in the generated code?
I'm old enough now that the risk of making a fool of myself is a small price to
pay in order to learn something.
-John Weeks
___
Interest mai
they don't follow, but only snap into position after a delay.
-John Weeks
WaveMetrics, Inc.
> On Oct 19, 2015, at 12:36 PM, Rollastre Prostrit wrote:
>
> Hello.
>
> I am trying to keep track of the position of a QDialog as the user
> clicks on the title and moves it
ecking wasn't worth the incredibly obscure cast required
to make the new syntax work.
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
Thanks, André.
I had considered that but was having trouble with the retching feeling in my
stomach. I may just do that after taking some dramamine!
-John Weeks
WaveMetrics, Inc.
> On Sep 23, 2015, at 1:00 AM, André Somers wrote:
>
> In the past, I have resorted to first showing t
s its JIRA bug time...
-John Weeks
> On Sep 22, 2015, at 4:31 AM, Jan Dasselaar wrote:
>
> Maybe the QWidget::adjustSize() function is what you are looking for.
> I think after calling adjustSize() the geometry() function should give
stAttribute(Qt::WA_PendingResizeEvent) ||
!testAttribute(Qt::WA_WState_Created))
sendResizeEvents(this);
Is there some other way to get this to happen? I suppose I could just call
grab() and throw away the QPixmap, but that seems like an awful kludge..
e_Created))
sendResizeEvents(this);
Is there some other way to get this to happen? I suppose I could just call
grab() and throw away the QPixmap, but that seems like an awful kludge...
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http:/
eader file it will recompile all
the .cpp files that include that header.
If you're using precompiled headers and you touch one of the headers included
in the precompiled headers, then it will re-build everything.
-John Weeks
___
Interest mail
s, and that it would
fail if already open elsewhere.
(Horrible hack ahead) Or get the number of bytes in the file, wait a bit and
get the number again. If it changes, it's still being filled.
-John Weeks
___
Interest mailing list
Interest@qt-pr
ften open and check a file right after the file is created.
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
ion? You may be experiencing
this bug:
https://bugreports.qt.io/browse/QTBUG-38100
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
Does anyone know if it's possible to use QAudio to get metadata from an audio
file? Info like the channel layout or embedded comments?
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
;
> Is there any way to do this directly in Qt?
>
> Scott
The only way I know of is to create a new QWidget with no parent, and then
re-parent the wrapped widget in the new QWidget. It will require an annoying
amount of code to handle re-docking if that
control
panel or graph window.
Also, code in our internal language prevents UI interaction, except that
certain keys or a click on an Abort button can cancel execution. That allows
stopping an infinite loop, or a complex computation that might go on for a long
time (one of our customers was asking
ary threads only or for all threads?
Main thread only. Much of our use of notify() is for more fine-grained control
of event delivery, where QEventLoop::ExcludeUserInputEvents excludes too much.
-John Weeks
___
Interest mailing list
Interest@qt-proj
It's fixed today!
Now for my other question...
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
Question 2: Hm... I guess there is no question, it's just a bug.
Thanks all!
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
Thanks, Oliver and René.
Maybe I should just skip QAudioDecoder and go with FFMpeg!
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
there isn't any
support.
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
radio buttons for "Show scroll bars:" Automatically (what I described),
When scrolling (I think that's like when you drag with two fingers), and
Always. Being an old-time Mac user who believes in the old Mac HIG that said we
shouldn't have hidden UI elements, I have mine se
x27;t discover that situation easily.
-John Weeks
WaveMetrics, Inc.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
f Xcode and "installed" it in
the Xcode 6 bundle. It's not supported by Apple, and we're not using a set-up
like that for our shipping release, but it seems to work on my machine for
debug builds. Don't blame me, though, if it
paint device it renders to.
This not only affects the internal coordinate system, it affects the size of
the image returned by QSvgRenderer::defaultSize(), where the coordinates are
perversely not documented.
Does anyone know why this is? It seems like a bug to me.
-John Weeks
tEventKeyModifiers().
I note also that QMacStyle uses HITheme API's as well. I haven't been able to
find NSThis or NSThat replacements for drawing pictures of controls and window
elements, either.
-John Weeks
___
Interest mailing list
Inter
) Is there a way to tell Qt that it should honor the application being hidden?
2) Is there a way to ask Qt if the application is hidden? If I could find that
out, I could manage the visibility of our windows myself.
Thanks,
-John Weeks
___
Interest
the future?
Third question: Is there a better way to prevent the extra mouse click? Or a
better way to present my menu?
Thanks!
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
> On Feb 5, 2015, at 3:03 PM, Jason H wrote:
> int
> That pixelRatio is either 1 or 0, I don't think it is ever in between.
Well, during development of my button class, when I had bugs :) I saw QPixmap
return devicePixelRatio between 1.0 and 2.0. Maybe that's just QPixmap, t
_DEVICE_PIXEL_RATIO", "2")
then I get 2.0 from devicePixelRatio(), as expected. I also get my hi-res icons.
If I do this instead:
qputenv("QT_DEVICE_PIXEL_RATIO", "1.5")
then devicePixelRatio returns 1.0, not 1.5.
And it
How does Xcode do it? Xcode is quite reliable stepping through code.
> On Feb 3, 2015, at 10:37 AM, André Pönitz wrote:
>
> In any case, that's not really caused by Qt, and there's also not much Qt
> Creator can do about.
-John Weeks
__
I wonder if your problem is related to this bug:
https://bugreports.qt-project.org/browse/QTBUG-40549. It has been fixed for the
release 5.4.0.
John Weeks
WaveMetrics, Inc.
Phone (503) 620-3001
Fax (503) 620-6754
email supp...@wavemetrics.com
> On Dec 18, 2014, at 3:02 PM, Bo Thor
A
About to activate Window A
Window activate: "Window A" and the active window is "Window A"
About to create Window B
About to show Window B
About to activate Window B
Window activate: "Window B" and the active window is "Window B"
About to create Window C
About
as on
screen, and we need hi-res export.
I ran across some code in a JIRA bug using QGLFramebufferObject; I see there is
also QOpenGLFramebufferObject so I guess we can use the same technique.
-John Weeks
___
Interest mailing list
Interest@qt-project.or
pared to QGLWidget:
renderText() and renderPixmap().
We were using renderPixmap() to export graphics at resolution higher than what
is displayed on-screen. And renderText() was being used for plotting data with
text as the data point markers.
Are there alternatives to these for QOpenGLWi
into it.
Again, thanks for the bug report. I didn't know enough about the situation to
file one myself.
-John Weeks
On Nov 7, 2014, at 12:13 AM, Rutledge Shawn
wrote:
>
> On 7 Nov 2014, at 02:05, John Weeks wrote:
>
>> Can anyone tell me about QWindow::setTransientPar
Can anyone tell me about QWindow::setTransientParent()? When building with Qt
5 I keep seeing warnings:
void QWindow::setTransientParent(QWindow *) QWidgetWindow(0x118c39a10, name =
"QWidgetClassWindow") must be a top level window.
One situation where I see it is on Macintosh:
Our applicatio
widgets.
Warning: I could have made some typo in the process of abstracting the method
from much more complex code...
-John Weeks
On Oct 31, 2014, at 7:35 AM, Yili Pan wrote:
> Hi Bo:
>
> Thank you for the reply!
>
> I do not want to filter out all the WindowActivate or Fo
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
Regards,
John Weeks
WaveMetrics, Inc.
Phone (503) 620-3001
Fax (503) 620-6754
email supp...@wavemetrics.com
_
On Jul 24, 2014, at 11:50 PM, Bo Thorsen wrote:
> You should open a feature request in the bug tracker.
Thanks, Bo:
https://bugreports.qt-project.org/browse/QTBUG-40439
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists
for QScrollBar, QAbstractSlider,
QStyleOptionSlider, and QStyle looking for scrolling options.
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
should be a valid cursor position (that's where the next
character typed will go, right?). But just in case this is a bug in Qt 5, I'd
like to avoid changing the code to accommodate a bug...
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
ive?
The dialog disappears, but the menus are all disabled. Some things work- I can
click in another window and type. But the disabled menus are a problem. We have
a call to re-set the menus; I called it and it didn't seem to help.
-John Weeks
___
In
);
QApplication::postEvent(dialog, event);
the dialog closes, but with Qt 5.3 it leaves the application in some sort of
modal state. This puzzles me- hitting the Escape key works fine. What's the
difference?
By the way, this works as I expect with Qt 4.8.6.
-John
I forget the exact symptoms, be we've had strange problems like that if there
are two different files in the project that have the same names.
-John Weeks
On May 27, 2014, at 7:50 AM, Thomas Sevaldrud wrote:
> Hi,
>
> I'm getting these strange errors all the time when
release 5.3.1 with the pending fixes from the last two
> months, plus maybe this fix.
That's good to hear. Thanks!
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
ple, don't use a QProgressDialog
inside a paintEvent()!
-John Weeks
On May 20, 2014, at 12:13 PM, Thiago Macieira wrote:
> Em ter 20 maio 2014, às 19:04:39, mai...@virtual-winds.org escreveu:
>> Thanks for your reply
>>
>> Why is removing the processEvent
1 - 100 of 168 matches
Mail list logo