LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

A Stand Alone executable QT MsgBox with Stays On Top attribute

Posted 12-13-2012 at 07:59 AM by rainbowsally

A Stand Alone executable QT MsgBox with Stays On Top attribute.

Today's Features:
  • A non-modal qt based dialog/message box that STAYS ON TOP of the window stack.
  • How to center a window on the screen.
  • Using the short optargs to parse the options.

The msgbox utility in the 'extras' folders of the mc2 d/load (see link below) uses xmessage for the display widget. That makes it independent of QT so it can run on any computer that has the X windowing system.

...
Member
Posted in Uncategorized
Views 669 Comments 0 rainbowsally is offline
Old

QT4 dialog & using MC2 EXT_ALL target examples

Posted 12-11-2012 at 12:45 AM by rainbowsally

The sources are in the qt4 demos and you can use the pro file if you like, but here's example of how to use the EXT_ALL target in an mc2.def.

This also applies to makefiles in general, but it's much easier to work through an intermediate system such as mc2.

It is also a great demo for using dialogs, and you can choose native or QT built-in styles for them, which makes a big difference for the file and color selection dialogs.

I particularly like the file
...
Member
Posted in Uncategorized
Views 630 Comments 0 rainbowsally is offline
Old

new mc2 - creates makefiles from a source tree

Posted 12-07-2012 at 11:17 PM by rainbowsally
Updated 08-06-2014 at 10:02 AM by rainbowsally

Fixed a bug in mc2 noticed here.
Where It Crashed: http://rainbowsally.org/rainbowsally....4.1-rs.tar.xz

The large number of files listed in the mc2.def was overloading the parser so Parser (and the string list file and pipe reader) got a heftier buffer.

The file above is a java application. Not a great one but it shows one way mc2 can even generate makefiles for java applications using EXT_ALL as a target and some other tricks.
...
Member
Posted in Uncategorized
Views 601 Comments 0 rainbowsally is offline

  



All times are GMT -5. The time now is 12:45 PM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration