Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: =?UTF-8?Q?Josef_M=C3=B6llers?= Newsgroups: comp.lang.c++ Subject: Re: Please direct me to a newsgroup to discuss qt(5) Date: Sun, 31 May 2026 17:15:56 +0200 Lines: 32 Message-ID: References: <10vhfbu$1iv7k$1@dont-email.me> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net M6GAp968qJAKZ3QG3jG/zAOio2wOoPh5WbKmpTGFl0eBIqyO/M Cancel-Lock: sha1:pp0cXPpQkU3HiyEMmhqOseWbxf8= sha256:GKmt58kVeZEqvBVr709zzNIquzSuT7vADQ47xlj8S6s= User-Agent: Mozilla Thunderbird Content-Language: en-US In-Reply-To: <10vhfbu$1iv7k$1@dont-email.me> Xref: csiph.com comp.lang.c++:123925 On 31.05.26 16:07, James Kuyper wrote: > On 2026-05-31 06:24, Stefan Ram wrote: >> =?UTF-8?Q?Josef_M=C3=B6llers?= wrote or quoted: >>> What would be the appropriate newsgroup to discuss using qt5? >> >> There should be a newsgroup "comp.soft-sys.qt" or >> "comp.soft-sys.misc". But since these do not exist and >> people here in comp.lang.c++ want to keep discussions to >> the language proper, the best choice might be the group for >> discussing programming under the operating system used. >> >> > Not everything has to be on usenet. The best place to go to discuss QT > is . Which is exactly where I went and a kind JonB provided me with a pointer to QMainWindow and its structure with Menu Bar, Central Widget, and Status Bar. As it turned out, I already had been using a QMainWidget, albeit incorrectly, so to solve my specific problem, I just QMainWindow *w = new QMainWindow; QMenuBar *menuBar = w->menuBar(); // ... populate Menu Bar w->setCentralWidget(new QWidget); Canvas *Drawingarea = new Canvas(w->centralWidget()); Drawingarea->setGeometry(0, 0, 1000, 500); where "Canvas" is a QWidget with a paintEvent(). Thanks for any help and/or useful suggestions. Josef