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

Notices

Uncategorized Entries with no category
Old

Low Level Tools & Keeping QT Designer/Assistant from going online w/ remoteControl

Posted 04-25-2012 at 03:53 AM by rainbowsally
Updated 04-25-2012 at 03:55 AM by rainbowsally

Low Level Tools & Keeping QT Designer/Assistant from going online w/ remoteControl

[The fix for designer's help menu trying to get online behind your back is at the bottom.]

Before we dig back into low level code, let's talk about low level tools in general for a sec.

And what I mean by "low level" in this context is where things are not done so automatically for us. Where you actually can get your hands a little dirty -- "hands on",...
Member
Posted in Uncategorized
Views 351 Comments 0 rainbowsally is offline
Old

QT Computer Mad Science: Look Ma, No Code! (designer/creator experiment)

Posted 04-24-2012 at 09:22 AM by rainbowsally
Updated 08-06-2014 at 11:19 AM by rainbowsally (fixed a bum tag)

I could have sworn that early versions of QT4 couldn't do this. It still can't do some things the old QT3 could do "progress" is like that, but it looks like this one might work if you have a somewhat recent version of QT4 (and designer or creator and kde).

Here's a bit of Computer Mad Science that you might find interesting. Or at least amusing.

Features:
  • It may run in preview mode without even compiling it.
  • It may ONLY run in preview mode if you don't
...
Member
Posted in Uncategorized
Views 283 Comments 0 rainbowsally is offline
Old

GUI coding. A peek at run-time inheritance (method lookups)

Posted 04-20-2012 at 09:23 AM by rainbowsally
Updated 04-20-2012 at 09:26 AM by rainbowsally

GUI coding. A peek at run-time inheritance (method lookups)

In previous blog entries we built QT's example/desktop/screenshot application and did a bit of tracing with a debugger.

Let's take a look at the metaobject definition file (moc_screenshot.cpp) next.

This is where QT implements a class' method inheritance. It looks up 'methods' from the widget's parent first, then if parent doesn't handle the '_id' we try it here, and if we don't handle it...
Member
Posted in Uncategorized
Views 254 Comments 0 rainbowsally is offline
Old

GUI coding. The 4 main parts of a typical GUI toolkit

Posted 04-19-2012 at 02:34 PM by rainbowsally
Updated 04-19-2012 at 02:51 PM by rainbowsally (clarification of 'metaobject' purpose in last line)

Let's start slow.

First of all, most of the GUI toolkits including QT4 are set up in the following steps, and in this order.
  1. Create an application, possibly with commandline args. (If not created explicitly this 'application' thing will already exist somewhere.)
  2. Create a main widget with the 'application' thingie as its parent.
  3. Show the main widget.
  4. Run the application event loop.

The 'application' is the main event dispatcher which translates X events...
Member
Posted in Uncategorized
Views 308 Comments 0 rainbowsally is offline
Old

GUI coding: First Stop QT4

Posted 04-18-2012 at 03:55 PM by rainbowsally
Updated 04-18-2012 at 03:57 PM by rainbowsally (misspelled title)

First of all, let me say that I've needed a widget that acts like a terminal -- like forever -- and I've checked out a LOT of toolkits having various degrees of success with each.

Perhaps oddly, tk was the best. QT4 was the worst. I subclassed a text editor widget and YOW! was it ever slow!! But I think we'll give QT another look and this is why.

I've checked out many toolkits including
  • tcl/tk (and variants)
  • xclass and xforms and it's descendants
  • fltk v 1.x
  • fltk
...
Member
Posted in Uncategorized
Views 5958 Comments 2 rainbowsally is offline

  



All times are GMT -5. The time now is 12:39 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