Re: [Interest] spurious breakpoints in Qt Creator

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

[Interest] fixit in Creator 7.01

2022-05-04 Thread John Weeks
(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
__ > 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
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
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't checked

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
, 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

[Interest] Qt Creator Application Output window

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

Re: [Interest] Wrong position QStyleOptionProgressBar on macOS

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

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] Troubles with debugging

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

[Interest] Two different layouts?

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

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

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()

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

Re: [Interest] Odd crash with QPainter + QOpenGLWidget

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

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 Interest

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
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: >

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

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

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 <samuel.ga...@edeltech.ch> wrote: > > >> On 17 Apr 2018, at 12:33

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 :

[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
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

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 <rjvber...@gmail.com> wrote: > > Hi, > > Dock widgets are very useful, but there are cases where I'd like to be a

[Interest] WindowStaysOnTopHint on Windows always on top?

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

[Interest] debugger thread display

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

Re: [Interest] Design Issue with QAbstractItemModel & QTreeView

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

Re: [Interest] Design Issue with QAbstractItemModel & QTreeView

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

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

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

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 >

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 <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

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

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

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

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

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

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

[Interest] Menu causes problems on OS X

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

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 <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

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

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

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] [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:

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

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

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

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

[Interest] Drawing in a high DPI QImage on Windows

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

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
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.

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

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

Re: [Interest] Keeping track of a QDialog position

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

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

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

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 <an...@familiesomers.nl> wrote: > > In the past,

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

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

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

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

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

2015-09-18 Thread 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

Re: [Interest] Qt 5.5.x

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

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

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

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

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

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

2015-07-27 Thread John Weeks
? 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 is desirable. -John Weeks

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

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

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

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

Re: [Interest] QAudioDecoder

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

[Interest] QAudioDecoder class on Macintosh?

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

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

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
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

[Interest] QSvgRenderer has a strange coordinate system

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

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

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

[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
! -John Weeks ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] hi-res drawing on Windows

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

Re: [Interest] hi-res drawing on Windows

2015-02-05 Thread John Weeks
. -John Weeks ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

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 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

[Interest] Confusing activation behavior of floating windows

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

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.org http

Re: [Interest] QWindow::setTransientParent()

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

[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 application

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

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

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

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

Re: [Interest] QScrollBar shift-click on Windows

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

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

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

[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 Weeks

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 tho...@silentwings.no 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
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

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

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

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

2014-05-20 Thread John Weeks
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] QAction shortcuts in modal dialogs

2014-04-29 Thread John Weeks
: 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

Re: [Interest] Change widget type of Qt Creator Form Class

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

Re: [Interest] heightForWidth

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

[Interest] heightForWidth

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

[Interest] Finished resizing a window?

2014-02-24 Thread 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

Re: [Interest] Finished resizing a window?

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

Re: [Interest] New window in Qt makes the application activate

2014-02-04 Thread John Weeks
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

Re: [Interest] New window in Qt makes the application activate

2014-02-04 Thread John Weeks
of your e-mail. -John Weeks ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

  1   2   >