Review your favorite Linux distribution.
Go Back > Blogs
User Name



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...
Posted in Uncategorized
Views 411 Comments 0 rainbowsally is offline

GUI coding: First Stop QT4

Posted 04-18-2012 at 02:55 PM by rainbowsally
Updated 04-18-2012 at 02: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
Posted in Uncategorized
Views 8501 Comments 2 rainbowsally is offline

Setting up Ubuntu / Squid Transparent Proxy

Posted 04-18-2012 at 06:28 AM by anthraxbb

New to Ubuntu and Linux, I hope someone will give sometime to help me out. I want to setup a transparent proxy server in ubuntu 10.04 or 11.04 using an Intel Pro 1000 MT Dual Network Adapter. My setup are as follows:

Modem > [eth0] Transparent Proxy [eth1] > Switch > Clients

Data obtain from Linksys E1000 Router:
- IP Address: 122.52.126.xx6
- Subnet Mask:
- Default Gateway: 122.52.126.xx5
- DNS 1:
LQ Newbie
Posted in Uncategorized
Views 5652 Comments 1 anthraxbb is offline

Mount Iphone/Ipod touch in Linux

Posted 04-17-2012 at 03:31 PM by stretchedthin

Mount Iphone/Ipod touch in Linux
This tutorial is thanks to a request from a subscriber on the Youtube channel. The tutorial addresses the steps necessary to get the newer Apple iPod Touch and iPhone devices to mount so they can be accessed by your Linux box. Even if your Linux distribution can do this out of the box, you may find it helpful to know what is at work, so you can address the situation if something goes wrong.

Mount Iphone/Ipod touch in Linux (Vectorlinux)
Posted in Uncategorized
Views 1532 Comments 0 stretchedthin is offline

New versions links (mc2, libLQ, new-make)

Posted 04-16-2012 at 08:46 PM by rainbowsally

Latest mc2 (automatic makefile creator) and libLQ (our first library) are here.

For the Computer Mad Scientists, you might find uncmake/uncmakefile Usr2usr, and the make-based binary package installer uninstaller utilities interesting as well.

Uncmake latest will be posted here:
Posted in Uncategorized
Views 420 Comments 0 rainbowsally is offline


All times are GMT -5. The time now is 09:11 AM.

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