The examples below shows how to respond to user actions. Example 1: The above application consists of a button that the user can click to quit.we are using QPushButton to insert a button which displays “Quit”.Qt’s widgets emit signals to indicate that a user action or a change of state has occurred.QPushButton emits a clicked()Continue reading “Making Connections in Qt”
Monthly Archives: September 2011
Basics of Qt with Examples
Qt is a cross platform application framework that is widely used for developing application software with a GUI(Graphical User Interface).I am here publishing codes in detail that i have tried while working with Qt. Example 1:create widget and display text First create a directory and then create the following cpp file inside. Here is theContinue reading “Basics of Qt with Examples”
Using X11/Xlib library
I haven’t found anything very satisfying on the Web as an X11/Xlib tutorial.But it returns quite a useful bunch of things. Here i am giving some codes that i have tried during my project works. Program 1:FINDING MOUSE COORDINATES USING X11/Xlib LIBRARY mouse.c #include <X11/Xlib.h> /* defines common Xlib functions and structs. */ #include <stdio.h>Continue reading “Using X11/Xlib library”
Restore/Recover Ubuntu 10.04 Lucid Lynx Gnome Desktop Panels
Sometimes when you miss-configured the main application panel in Ubuntu, it becomes difficult to restore.I also had such situation and it may happen when you accidentally deleted items or the panel itself and now you can’t figure out how to get it back.Don’t worry Sure, you can add a new panel and rebuild it byContinue reading “Restore/Recover Ubuntu 10.04 Lucid Lynx Gnome Desktop Panels”