Re: QTreeWidgetItem::setForeground no longer works with latest KF5

2023-01-06 Thread Robin Atwood
I finally found time to make my trivial example run and it doesn't show the behaviour: I can highlight text in a QTreeWidgetItem. So I don't know what to do next. :( Thanks for the help. Robin

Re: QTreeWidgetItem::setForeground no longer works with latest KF5

2023-01-03 Thread Robin Atwood
On Tue, 3 Jan 2023 19:58:42 +0100 Tomas Mecir wrote: > The app doesn't seem to do anything when started, but I'll leave that > part to you to figure out. Thanks, Tomas. It needed a "main.moc" and the SKIP_AUTOMOC removed. And you're right, it doesn't do anything. Sigh.

Re: QTreeWidgetItem::setForeground no longer works with latest KF5

2023-01-03 Thread Robin Atwood
I have made a bare-bones version of my code and guess what: it won't link! I get messages: /usr/src/dev/kde4/qtwitest/src/main.cpp:17: undefined reference to `vtable for QtwiTest' This is usually caused by not supplying a constructor body, but I have done that. Can anyone see what is

Re: QTreeWidgetItem::setForeground no longer works with latest KF5

2022-12-31 Thread Robin Atwood
> > Can we get an example that we can build and test? > > Cheers, > Albert I will try and make one, but it will take some time. Robin

QTreeWidgetItem::setForeground no longer works with latest KF5

2022-12-30 Thread Robin Atwood
I have a current Gentoo system with Qt5.15 and KDE 5.26 and I have just rebuilt some RYO apps I originally wrote back in 2010 and updated to KF5 in 2018. The affected apps use a QTreeWidget and highlight various rows using QTreeWidgetItem::setForeground. This has always worked until I rebuilt the

Re: Trouble with tool bars

2018-04-02 Thread Robin Atwood
On Sunday 01 April 2018, Albert Astals Cid wrote: > I guess the code is your documentation at that point if you think things > aren't working. My current thoughts are to use an ordinary widget and not a toolbar! Thanks for the responses Robin -- -- This message has been scanned for

Re: Trouble with tool bars

2018-04-01 Thread Robin Atwood
On Sunday 01 April 2018, Albert Astals Cid wrote: > El divendres, 30 de març de 2018, a les 17:36:32 CEST, Robin Atwood va > > escriure: > > I want to add a short-cut to one of the tool bars but I don't have a > > QAction for it. I tried listing the contents of > >

Trouble with tool bars

2018-03-30 Thread Robin Atwood
My first KDE4 to KF5 port has gone well and the app now compiles and runs without any warning messages. :) However, I am now trying to improve some things. I have a tool bar which is created by the XML support: Filter Toolbar I want to add a short-cut

Re: KF5 Conversion problems

2018-03-11 Thread Robin Atwood
st to use a '#include ' (and in general, > #include ). I added KF5::KDE4Support to the target link libraries and that problem went away. This raises the problem: how do I know which link libraries I need? Is there a list of dependencies somewhere? Thanks Robin -- -------

Re: KF5 Conversion problems

2018-03-10 Thread Robin Atwood
On Saturday 10 March 2018, Christoph Feck wrote: > On 10.03.2018 15:51, Robin Atwood wrote: > > This is my first KDE4->KF5 conversion so brace for a lot of n00b > > questions! To start I am getting compile failures because the wrong > > include files are

KF5 Conversion problems

2018-03-10 Thread Robin Atwood
This is my first KDE4->KF5 conversion so brace for a lot of n00b questions! To start I am getting compile failures because the wrong include files are getting picked up: [8/10] Building CXX object src/CMakeFiles/kmtail.dir/kmtail_autogen/mocs_compilation.cpp.o FAILED:

Re: Converting KDE4 projects to KF5

2018-02-21 Thread Robin Atwood
On Wednesday 21 February 2018, Kevin Funk wrote: > On Wednesday, 21 February 2018 14:42:20 CET Robin Atwood wrote: > > I have several old projects that really needed to be updated to KF5. Is > > there a handy guide to doing the conversion? > > Heya Robin, > &g

Re: Event popup in wrong place

2012-09-27 Thread Robin Atwood
On Thursday 27 Sep 2012, Frank Reininghaus wrote: Hi, 2012/9/22 Robin Atwood: I posted this note before but never got any replies. Perhaps all the developers were on holiday! Not every developer reads every single message on this rather general mailing list. For Plasma-related

Event popup in wrong place

2012-08-15 Thread Robin Atwood
dialog. What else do I need to do? I rebuilt the application very recently, so it should be up to date. TIA -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten