LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Enter your password SUCKER! ;-) (a simple demo)

Posted 05-31-2012 at 10:38 PM by rainbowsally

Enter your password SUCKER!

;-)

Features:
  • Installer uninstaller in a simple clickable (or at least it should be clickable) script. (You can try setting the file associations these to run scripts with kde-open, xdg-open, gnome-open, ... or try the shell-exec app at this blog.)
  • Fun. But is it practical? Maybe, and maybe not. It depends on if you already knew how risky handing control of parts of your system to strangers can be.

Question: Who are they protecting...
Member
Posted in Uncategorized
Views 1255 Comments 0 rainbowsally is offline
Old

QT4 Interactive: qt4-info utility to list methods and properties

Posted 05-29-2012 at 09:31 AM by rainbowsally
Updated 06-01-2012 at 12:12 PM by rainbowsally (correction in error msg)

CHANGELOG: 6/1/2001
Corrected argv[<value>] in error msg at line 102 of file: src/qt4-info.cpp.

[If you work with qt4, this is well worth the exercise. You might be surprised at how much we do with so little code. -rs]

Care for a bit of Ye Olde Computer Mad Science? This one is kind of fun.

Todays Features:
  • Look up all QT4 classes and list properties or meta object method calls.

[This is part of the QT Interactive project, because...
Member
Posted in Uncategorized
Views 1317 Comments 0 rainbowsally is offline
Old

QT4 GUI Programming: Center Window

Posted 05-28-2012 at 12:50 AM by rainbowsally

Today's Features:
  • Center a non-dialog window in qt4.

If you have mc2, 'mc2 -fetch qt4' for the Makefile, otherwise, do whatever you do to get this rolling.

Here are the files for this demo/test.

file: src/main.cpp
Code:
// generic C++ source template created by new.main

#include <stdio.h>  // printf(), FILE*, etc.
#include <malloc.h> // malloc(), free()
#include <string.h> // strcpy(), memcpy(), etc.
...
Member
Posted in Uncategorized
Views 1329 Comments 0 rainbowsally is offline
Old

qt type id test/demo

Posted 05-27-2012 at 09:38 PM by rainbowsally
Updated 05-27-2012 at 09:40 PM by rainbowsally

Today's features:
  • Use C++ typeid's to compare or check types.
  • Share base64 encoded compressed file/dir data in message forums (example).

The typeid(obj) doesn't require QT, but it also works with it. Here's a simple makefile and a widget to show some type ids and how to compare
them.

After running this you should have a folder named typeid-test. Type 'make' inside that folder to create the 'main' executable.

Requires base64, QT4, make, gcc, and all that...
Member
Posted in Uncategorized
Views 1599 Comments 0 rainbowsally is offline
Old

libLQ-qt-mc2 with qt4 support

Posted 05-27-2012 at 09:22 PM by rainbowsally
Updated 05-04-2015 at 12:50 PM by rainbowsally (new version)

Note: As of March 2015, there are 64-bit versions of mc2 and kdevelop3, debugged kdbg, new.make, and more available for d/loading.

See blog entry here if you are running a 64 bit linux.
http://www.linuxquestions.org/questi...-64-bit-36530/

Here's the original post which might contain helpful links if you have trouble finding or linking the Qt libs. There are quite a few versions floating around at this time....
Member
Posted in Uncategorized
Views 1900 Comments 0 rainbowsally is offline

  



All times are GMT -5. The time now is 12:48 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration