LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

GUI Programming: QT4 Event Preeption Part 2-A (temp)

Posted 05-02-2012 at 09:32 PM by rainbowsally
Updated 05-04-2012 at 12:33 PM by rainbowsally (QA check failed ;-))

[Corrected hash algorithm to return -1 for null string (aka "") input. May 4, 2012]

Today's features
  • conditional compilation (OLD_SCHOOL vs. ?)
  • discovery of a potential recursion problem in preemptive event handling (QTextEdit)

This example is complicated enough to be but actually is not quite ready for prime time, but I do want to point out the advantage of creating hash values for speeding up text searches in tables of data. See the utils.cpp implementation...
Member
Posted in Uncategorized
Views 5907 Comments 2 rainbowsally is offline
Old

Unofficial Debs for libcsv

Posted 05-02-2012 at 09:31 PM by hydraMax (Bits and Pixels)
Updated 05-02-2012 at 09:33 PM by hydraMax

I've produced some unofficial debs for libcsv. libcsv is an pure ANSI C library for reading and writing CSV data. I've made the packages available because I am thinking about using libcsv in an upcoming project. The packages are available here:

https://frigidcode.com/code/libcsv-packages/

I hope to have some RPMs available as well within a few days.
Member
Posted in Uncategorized
Views 517 Comments 0 hydraMax is offline
Old

Terminal ගැන වැඩි විස්තර...

Posted 05-02-2012 at 02:25 PM by sunjayasri

Terminal යනු ඔබ අප වින්ඩෝස් (Windows)OS හී පාවිච්චි කරනු ලබන කමාන්ඩ්ප්*රොම්ට් වැනි කොන්සෝල් එකකි.

මෙමගින්...
LQ Newbie
Posted in Uncategorized
Views 364 Comments 0 sunjayasri is offline
Old

ලින්ක්ස් හා මා ලබා ගත් අත් දැකීම්....

Posted 05-02-2012 at 01:47 PM by sunjayasri

පලමුව මා අත්හදා බලනු ලැබූවේ ලිනක්ස් උබුන්ටු සංස්කරනයයි..ඒ මා 16 වන වියේදීය..මා හට එය අන්දකයිප්පු ලෝකයන් මෙන් දැනිනි...මන්ද මා හට දැනුනේ මා වෙනම ලෝකයක ගොස් අතරමන් වූවා සේය...

එහෙත් මා මෙවන විට ලිනක්ස් සමග ගැටෙමින් ඒ අත්දැකීම් තුලින් දීර්ඝ ගමනක් පැමින ඇත..ඒ ගැන මා නිහතමානී ලෙස සතුටු වන අතරම මා ලබන අත්දැකීම් ඔබ සමග බෙදා ගැනීමට මා බලා පොරොත්තු වෙමි...
LQ Newbie
Posted in Uncategorized
Views 312 Comments 0 sunjayasri is offline
Old

GUI Programming: Exposing the main event loop (Subclassing QApplication)

Posted 05-02-2012 at 07:23 AM by rainbowsally
Updated 05-02-2012 at 07:25 AM by rainbowsally

GUI Programming: Exposing the main event loop (Subclassing QApplication)

Today's features
  • a QTextEdit in 4 lines of code.
  • subclassing QApplication to view ALL objects and events as they are processed.
  • how to preempt events in QT

It looks like this is about the only way to actually preempt messages in QT4.

This is NOT the same as installEventFilter() which is simple and useful for many things but runs too late in a series of dispatches to preempt or change...
Member
Posted in Uncategorized
Views 571 Comments 0 rainbowsally is offline

  



All times are GMT -5. The time now is 05:41 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration