nts 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.org
> htt
(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
__
> 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
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
__
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't checked
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
, 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 project? it's trivial
) 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-22 09
ems 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 QStyl
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:
y'all have 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
one 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 appreciated.
-John We
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
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()
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
vent()
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 project:
>
> 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
Interest
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:
>
&
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 Brewster wrote:
>
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?
>
> "Can't f
-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 <samuel.ga...@edeltech.ch> wrote:
>
>
>> On 17 Apr 2018, at 12:33
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 :
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
do not know if they support logarithmic
> axes.)
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
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 <rjvber...@gmail.com> wrote:
>
> Hi,
>
> Dock widgets are very useful, but there are cases where I'd like to be a
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
and on
the presence 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 ava
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 insight.
-John Weeks
l 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
underlying data se
adding the child, 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
ead.
It would also seem to cover any use 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
>
> On Jun 14, 2016, at 2:31 PM, Thiago Macieira <thiago.macie...@intel.com>
> 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 i
me 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
0 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
the QTextEdit, the QTextEdit
> 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
> w
hers 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 <rjvber...@gmail.com> 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 aff
e of errors in user code,
> 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-pr
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
> 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:
tackoverflow.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
rnalWinId() 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
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!
-John Weeks
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
void 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 mailing list
Interest@qt-project.
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
with rvalue references it ge
follow, but only snap into position after a delay.
-John Weeks
WaveMetrics, Inc.
> On Oct 19, 2015, at 12:36 PM, Rollastre Prostrit <rollas...@gmail.com> wrote:
>
> Hello.
>
> I am trying to keep track of the position of a QDialog as the user
> clicks on the t
pile-time error checking 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 <an...@familiesomers.nl> wrote:
>
> In the past,
bug time...
-John Weeks
> On Sep 22, 2015, at 4:31 AM, Jan Dasselaar <j...@altus-escon.com> wrote:
>
> Maybe the QWidget::adjustSize() function is what you are looking for.
> I think after calling adjustSize() the geometry() function should give a
&
::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...
-John Weeks
(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://lists.qt-project.org/mailman
as touched. If you touch a header 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
irus protection software will
often 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
e that excludes other processes, 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 mai
? 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 is desirable.
-John Weeks
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 for optimization tips because his code
ran all night and didn't finish).
-John
?
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-project.org
http://lists.qt-project.org/mailman
for my other question...
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
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
if this is a work in progress, or will I wait in vain
for a Macintosh backend plug-in that supports QAudioDecoder?
Thanks all!
Ah, ha! I just noticed the static function QAudioDecoder::hasSupport(). Of
course, I still have to write code before I can discover that there isn't any
support.
-John
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
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 doesn't work for you :)
-John Weeks
is of the 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
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
Interest@qt-project.org
http://lists.qt-project.org
) 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
!
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
.
If I do this instead:
qputenv(QT_DEVICE_PIXEL_RATIO, 1.5)
then devicePixelRatio returns 1.0, not 1.5.
And it doesn't seem like I should have to set this myself, anyway.
Thanks for any insight you might be able to offer!
-John Weeks
___
Interest
.
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
How does Xcode do it? Xcode is quite reliable stepping through code.
On Feb 3, 2015, at 10:37 AM, André Pönitz apoen...@t-online.de wrote:
In any case, that's not really caused by Qt, and there's also not much Qt
Creator can do about.
-John Weeks
there a
long time- I also see it when building with Qt 4.8.6.
Thanks for any insight that can be offered!
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
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.org
http
() 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 QOpenGLWidget?
-John Weeks
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 application
.
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 pyl0...@gmail.com wrote:
Hi Bo:
Thank you for the reply!
I do not want to filter out all the WindowActivate or FocusIn event
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
___
Interest mailing list
Interest@qt
On Jul 24, 2014, at 11:50 PM, Bo Thorsen b...@vikingsoft.eu 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
?). 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
not active?
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
);
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 Weeks
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 tho...@silentwings.no wrote:
Hi,
I'm getting these strange errors all the time when
Sounds like the same problem I ran into:
https://bugreports.qt-project.org/browse/QTBUG-38874
-John Weeks
On May 20, 2014, at 10:04 AM, mai...@virtual-winds.org wrote:
Thanks for your reply
Why is removing the processEvent the right thing to do?
Anyhow if I remove it, the event loop
use a QProgressDialog
inside a paintEvent()!
-John Weeks
On May 20, 2014, at 12:13 PM, Thiago Macieira thiago.macie...@intel.com wrote:
Em ter 20 maio 2014, às 19:04:39, mai...@virtual-winds.org escreveu:
Thanks for your reply
Why is removing the processEvent the right thing to do
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
:
https://bugreports.qt-project.org/browse/QTBUG-38600
Thanks for your attention to my problem!
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
We often just edit the .ui file. It's XML and not too hard to comprehend. You
probably have to change it in a couple places.
-John Weeks
On Apr 11, 2014, at 11:38 AM, Murphy, Sean smur...@walbro.com wrote:
Is there a way to easily change the base class of a Qt Designer Form Class?
I
QSizePolicy:Fixed means don't
resize this widget at all.
Thanks,
John Weeks
Hi John,
It sounds like you don't have any other widget that will take up the
space in the layout? The layout managers will only use the height for
width as a hint, so you have to provide some way to help it. Either add
other
the width, where I really need a height that is *exactly* half the width.
Is this working as expected, that the height returned by heightForWidth() is
really a minimum height? If that is so, is there a way to achieve what I really
want?
Thank you all!
-John Weeks
can't wait
until mouse up.
Is that correct?
Is there a solution to this?
Thanks!
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
On 24-Feb-2014, at 2:24 PM, Thiago Macieira wrote:
That's something entirely controlled by the window manager. Sorry.
Thanks, Thiago. That's good to know.
-John
___
Interest mailing list
Interest@qt-project.org
On 03-Feb-2014, at 8:32 PM, Mandeep Sandhu wrote:
Wow...so much active-ity in this para! :)
At 61, I like to think of myself as an active senior...
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman
of your e-mail.
-John Weeks
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
1 - 100 of 144 matches
Mail list logo