LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Unread

New mc2/libLQ-qt bundle (v. 3.0.2)

Posted Today at 12:12 PM by rainbowsally

This is a temporary blog entry. The main link for libLQ-qt (the QT version) and mc2 (also now with some QT stuff in it) will be posted here.

http://www.linuxquestions.org/questi...support-34783/

Features:
  • Bundled mc2 and libLQ-qt
  • Switchable dynamic/static builds
  • Troubleshooting tips
  • Desktop icon option (to go to the build folders/examples)

If there ends up being a libLQ-x and/or libLQ-gtk, the appropriate...
Member
Posted in Uncategorized
Views 14 Comments 0 Go to first new comment rainbowsally is offline
Unread

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

Posted Yesterday at 09:31 AM by rainbowsally
Updated Today at 12:22 PM by rainbowsally (not many hits)

[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 it uses the QT system itself (i.e., the libs, not the docs) to generate the information in a format that runs quickly,...
Member
Posted in Uncategorized
Views 30 Comments 0 Go to first new comment rainbowsally is offline
Unread

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 54 Comments 0 Go to first new comment rainbowsally is offline
Unread

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 46 Comments 0 Go to first new comment rainbowsally is offline
Unread

libLQ-qt-mc2 with qt4 support

Posted 05-27-2012 at 09:22 PM by rainbowsally
Updated Today at 12:02 PM by rainbowsally (new version)

Latest 3.0.2, May 30, 2012

libLQ-qt-mc2 v. 3.0 (with qt4 support)

We're working on building some support for QT widgets in the LQ library now. This project might self destruct at some time in the future, but for now while working on the qt-interactive project (interpreter, and hopefully a somewhat sane byte-code compiler -- which it currently is no) it looks like there may be a few things that could go into a library for reuse in other apps.

Here's a...
Member
Posted in Uncategorized
Views 60 Comments 0 Go to first new comment rainbowsally is offline

  



All times are GMT -5. The time now is 02:37 PM.

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