Re: [Interest] Update widget geometry BEFORE window shown

2024-05-29 Thread John Weeks
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

Re: [Interest] spurious breakpoints in Qt Creator

2022-05-16 Thread John Weeks
; 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

[Interest] fixit in Creator 7.01

2022-05-04 Thread John Weeks
anted (adding parens) and it applied BOTH fixes! -John Weeks ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

[Interest] debugging on Macintosh

2022-04-27 Thread John Weeks
. -John Weeks ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

[Interest] alphabetize the symbol menu?

2022-04-27 Thread John Weeks
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

Re: [Interest] QTextLayout::setPreeditArea()

2022-01-03 Thread 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

Re: [Interest] semi-modal dialog

2021-07-29 Thread 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

Re: [Interest] qSort replacement

2021-07-21 Thread John Weeks
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

[Interest] Security message when I download Qt Creator?

2021-02-24 Thread John Weeks
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

Re: [Interest] Qt Creator debugger does not flush "Application Output" on every log call?

2020-09-21 Thread 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

[Interest] Bug in QCodoaWindow?

2020-08-27 Thread John Weeks
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'

Re: [Interest] macOS Big Sur ARM Build

2020-06-24 Thread John Weeks
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. >

Re: [Interest] how to get 3 pixel focus ring?

2020-06-08 Thread John Weeks
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

[Interest] Qt Creator Application Output window

2020-04-22 Thread John Weeks
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-

Re: [Interest] Wrong position QStyleOptionProgressBar on macOS

2020-03-20 Thread John Weeks
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

Re: [Interest] Q_NAMESPACE is not portable?

2019-08-27 Thread John Weeks
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

[Interest] Troubles with debugging

2019-08-19 Thread John Weeks
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

[Interest] Two different layouts?

2019-08-14 Thread John Weeks
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

Re: [Interest] Qt free software policy

2019-08-14 Thread John Weeks
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

Re: [Interest] Finish QLineEdit editing when user clicks anywhere outside the QLineEdit

2019-08-14 Thread John Weeks
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.

Re: [Interest] Finish QLineEdit editing when user clicks anywhere outside the QLineEdit

2019-08-14 Thread John Weeks
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

Re: [Interest] Odd crash with QPainter + QOpenGLWidget

2019-03-27 Thread John Weeks
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

Re: [Interest] Qt iOS / App Groups / NSUserDefaults initWithSuiteName / Not persisting (Nuno Santos)

2018-11-16 Thread John Weeks
> 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

Re: [Interest] Calling QMainWindow::close() vs. clicking on close button in title bar

2018-10-30 Thread John Weeks
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: > &

Re: [Interest] Find frontmost widget of specific type?

2018-10-22 Thread John Weeks
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

Re: [Interest] Can't debug on Android device anymore

2018-06-11 Thread John Weeks
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? > > "

Re: [Interest] Singleton application

2018-04-17 Thread John Weeks
-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:

Re: [Interest] High-dpi fixing for Qt 5.5

2018-03-02 Thread John Weeks
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 : > >

[Interest] SVG Full

2018-01-31 Thread John Weeks
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

Re: [Interest] Qt Charts questions

2018-01-04 Thread John Weeks
not know if they support logarithmic > axes.) -John Weeks ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Changing creator editor title bar

2017-11-29 Thread John Weeks
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

Re: [Interest] QT QFontMetrics boundingRect failed to textwordwrap, thanks!

2017-11-29 Thread John Weeks
Add returns in your text: QString text("1234567890123456789012345678901234567890\r" "1234567890123456789012345678901234567890\r" "1234567890123456789012345678901234567890\r" "123456789012345678901

Re: [Interest] QDockWidgets: how to get regular windows in detached (floating) mode?

2017-10-11 Thread John Weeks
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

[Interest] WindowStaysOnTopHint on Windows always on top?

2017-07-10 Thread John Weeks
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

Re: [Interest] QAudioDecoder mp3 problem

2016-09-01 Thread John Weeks
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

[Interest] debugger thread display

2016-08-11 Thread John Weeks
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

Re: [Interest] Design Issue with QAbstractItemModel & QTreeView

2016-08-04 Thread John Weeks
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

Re: [Interest] Design Issue with QAbstractItemModel & QTreeView

2016-08-04 Thread John Weeks
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

Re: [Interest] Relationship between a QEventLoop and QCoreApplication::exec().

2016-08-04 Thread John Weeks
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

Re: [Interest] Relationship between a QEventLoop and QCoreApplication::exec().

2016-08-04 Thread John Weeks
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

Re: [Interest] Problem with ^ on a Macintosh with German keyboard layout

2016-06-14 Thread John Weeks
> 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

[Interest] Problem with ^ on a Macintosh with German keyboard layout

2016-06-14 Thread John Weeks
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

[Interest] QSvgRenderer::defaultSize() is wrong?

2016-06-02 Thread John Weeks
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

Re: [Interest] Qt5.6: Mouse clicks on ScrollBars also gets passed to widgets behind them

2016-05-19 Thread John Weeks
> 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? >

[Interest] Menu causes problems on OS X

2016-05-10 Thread John Weeks
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); ~

Re: [Interest] "Internal mouse button tracking invalid" messages

2016-03-22 Thread John Weeks
> 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 _

Re: [Interest] "Internal mouse button tracking invalid" messages

2016-03-21 Thread 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

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread John Weeks
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

Re: [Interest] famous issue : setMouseTracking

2016-03-08 Thread John Weeks
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

Re: [Interest] [OS X] maintaining a list of own WIds

2016-03-04 Thread John Weeks
> 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:

Re: [Interest] [OS X] maintaining a list of own WIds

2016-03-01 Thread John Weeks
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

Re: [Interest] [OS X] maintaining a list of own WIds

2016-02-29 Thread John Weeks
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

[Interest] Drawing in a high DPI QImage on Windows

2015-12-03 Thread John Weeks
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! -

Re: [Interest] Putting a define with spaces in the .pro file?

2015-11-13 Thread 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

Re: [Interest] qSwap or std::swap?

2015-10-26 Thread John Weeks via 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

Re: [Interest] qSwap or std::swap?

2015-10-26 Thread John Weeks
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

Re: [Interest] Keeping track of a QDialog position

2015-10-19 Thread John Weeks
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

Re: [Interest] Odd new-style connect()/disconnect() error with Qt 5.5.0

2015-10-14 Thread John Weeks
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

Re: [Interest] geometry() for a widget that hasn't been shown

2015-09-23 Thread John Weeks
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

Re: [Interest] geometry() for a widget that hasn't been shown

2015-09-22 Thread John Weeks
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

[Interest] geometry() for a widget that hasn't been shown

2015-09-21 Thread John Weeks
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..

[Interest] geometry() for a widget that hasn't been shown

2015-09-18 Thread John Weeks
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:/

Re: [Interest] Qt 5.5.x

2015-09-11 Thread John Weeks
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

Re: [Interest] QFileSystemWatcher and accesing files in monitored directory...

2015-08-31 Thread John Weeks
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

Re: [Interest] QFileSystemWatcher and accesing files in monitored directory...

2015-08-31 Thread John Weeks
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

Re: [Interest] Mac with Retina Display - Look is "Pixilated" with Qt-5.4.2

2015-07-27 Thread John Weeks
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

[Interest] Audio file metadata?

2015-06-03 Thread John Weeks
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

Re: [Interest] Dockwidgets as non-children

2015-05-14 Thread John Weeks
; > 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

Re: [Interest] Survey: do you override QCoreApplication::notify? Why?

2015-04-17 Thread John Weeks
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

Re: [Interest] Survey: do you override QCoreApplication::notify? Why?

2015-04-15 Thread John Weeks
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

Re: [Interest] QAudioDecoder

2015-04-14 Thread John Weeks
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

[Interest] QAudioDecoder

2015-04-13 Thread John Weeks
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

Re: [Interest] QAudioDecoder class on Macintosh?

2015-04-08 Thread John Weeks
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

[Interest] QAudioDecoder class on Macintosh?

2015-04-08 Thread John Weeks
there isn't any support. -John Weeks ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] How to force scroll bars always visible on Mac

2015-04-07 Thread John Weeks
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

Re: [Interest] High-dpi fixing for Qt 5.5

2015-03-25 Thread John Weeks
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

Re: [Interest] Do I need to build Qt from the source to have an app compile in 32 bit?

2015-03-16 Thread John Weeks
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

[Interest] QSvgRenderer has a strange coordinate system

2015-03-11 Thread John Weeks
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

Re: [Interest] [OSX/iOS] Garbage collection still in place in Qt?

2015-03-04 Thread 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

[Interest] Hidden application showing itself

2015-03-02 Thread John Weeks
) 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

[Interest] Qt::WA_NoMouseReplay? Extra mouse clicks during contextual menus.

2015-02-18 Thread John Weeks
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

Re: [Interest] hi-res drawing on Windows

2015-02-05 Thread John Weeks
> 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

[Interest] hi-res drawing on Windows

2015-02-05 Thread John Weeks
_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

Re: [Interest] Qt 5 Creator 3.3 (Mac) Debugger locks up with endless error logging of "DW_AT_specification(address) has no decl"

2015-02-03 Thread John Weeks
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 __

Re: [Interest] QML draw strings with emojis

2014-12-18 Thread 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

[Interest] Confusing activation behavior of floating windows

2014-11-26 Thread John Weeks
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

Re: [Interest] QWindow::setTransientParent()

2014-11-24 Thread John Weeks
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

Re: [Interest] QWindow::setTransientParent()

2014-11-21 Thread John Weeks
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

Re: [Interest] QWindow::setTransientParent()

2014-11-07 Thread John Weeks
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

[Interest] QWindow::setTransientParent()

2014-11-06 Thread 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 applicatio

Re: [Interest] How can I block the WindowActivate and FocusIn events when showing window programmatically

2014-10-31 Thread John Weeks
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

Re: [Interest] [osx] cmd-period mapping

2014-09-03 Thread John Weeks
> 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 _

Re: [Interest] QScrollBar shift-click on Windows

2014-07-25 Thread John Weeks
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

[Interest] QScrollBar shift-click on Windows

2014-07-24 Thread John Weeks
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

[Interest] QTextLayout::isValidCursorPosition() gives different result in Qt 5.3.0 vs Qt 4.8.6?

2014-07-15 Thread John Weeks
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

Re: [Interest] Calling reject() on a QFileDialog on Macintosh

2014-06-26 Thread John Weeks
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

[Interest] Calling reject() on a QFileDialog on Macintosh

2014-06-25 Thread 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

Re: [Interest] dependent foo.cpp does not exist.

2014-05-27 Thread 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 wrote: > Hi, > > I'm getting these strange errors all the time when

Re: [Interest] pb with 530 official release and MAC/OS

2014-05-20 Thread John Weeks
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

Re: [Interest] pb with 530 official release and MAC/OS

2014-05-20 Thread John Weeks
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   2   >