LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

stupid self-fullfilling assumptions about "normal users"

Posted 04-26-2012 at 12:30 PM by rainbowsally
Updated 08-06-2014 at 10:18 AM by rainbowsally

To whom it may concern.
re. QT GuitarTuner bug fix.

The 'ptr' that was causing the problem was apparently the main app, not the GuitarTuner. You can stop reading here, if this makes sense to you.

But if you want to check out the guitar tuner here's a bit more info and a link to the build sources at the bottom.

Check for missing deps.

Code:
int main(int argc, char** argv)
{
  return 0;
}
...
Member
Posted in Uncategorized
Views 265 Comments 0 rainbowsally is offline
Old

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

Posted 04-25-2012 at 02:53 AM by rainbowsally
Updated 04-25-2012 at 02: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 344 Comments 0 rainbowsally is offline
Old

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

Posted 04-24-2012 at 08:22 AM by rainbowsally
Updated 08-06-2014 at 10: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 280 Comments 0 rainbowsally is offline
Old

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

Posted 04-20-2012 at 08:23 AM by rainbowsally
Updated 04-20-2012 at 08: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 249 Comments 0 rainbowsally is offline
Old

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

Posted 04-19-2012 at 01:34 PM by rainbowsally
Updated 04-19-2012 at 01: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 300 Comments 0 rainbowsally is offline

  



All times are GMT -5. The time now is 04:01 AM.

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