LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

A QT4 InfoBox w/ StaysOnTop, Gradients, And Some Other Junk

Posted 12-14-2012 at 04:04 AM by rainbowsally
Updated 08-06-2014 at 09:37 AM by rainbowsally

A QT4 InfoBox

Today's Features
  • An Info Box, callable the commandline or a shell program that has scrollbars and resizes depending on content.
  • Using some of the LQ-qt lib functions.
  • A gradient stylesheet. Open the ui file with Designer and take a peek at the stylesheet syntax.
  • A snippet to make a window stay on top.
  • A way to resize a form window depending on text width and height of a TextEdit widget.
  • Using grid layout to make a resizable window and using 'widgets' instead
...
Member
Posted in Uncategorized
Views 722 Comments 0 rainbowsally is offline
Old

Tooling Up: Clickable Script Programs

Posted 12-13-2012 at 02:10 PM by rainbowsally
Updated 12-23-2012 at 04:15 PM by rainbowsally

Note: shell-exec and lq-launch (the lq version) are now included in the mc2 libLQ d/load. They are in the examples/goodies folders and can be copied directly into your ~/bin folder and should be usable immediately with no changes to your paths required.
---------------------------------------

Today's Features
  • Clickable sequential backup utility. You'll need to create a program to copy it to the directory you want to use it in. That's pretty easy, but well.. maybe not.
...
Member
Posted in Uncategorized
Views 465 Comments 0 rainbowsally is offline
Old

Generic QT Signal/Slot --or-- Using Dummy Custom Widget in Designer -- No Plugin Req'd

Posted 12-13-2012 at 01:52 PM by rainbowsally

[This is FUN!! It works. What a freaking trip. :-)]

The previous entry on using Old Style callbacks wasn't much of a hit. Ooooooohhhh... it's a hit alright.

But here it is in it's second incarnation cleaned up a bit though it needs a bit more simplification due to the number of elements that are involved and where they need to go. But this is cool.

Today's Features
  • Using a custom widget in Designer without making the plugin.
  • Using the "Old
...
Member
Posted in Uncategorized
Views 707 Comments 0 rainbowsally is offline
Old

A Stand Alone executable QT MsgBox with Stays On Top attribute

Posted 12-13-2012 at 07:59 AM by rainbowsally

A Stand Alone executable QT MsgBox with Stays On Top attribute.

Today's Features:
  • A non-modal qt based dialog/message box that STAYS ON TOP of the window stack.
  • How to center a window on the screen.
  • Using the short optargs to parse the options.

The msgbox utility in the 'extras' folders of the mc2 d/load (see link below) uses xmessage for the display widget. That makes it independent of QT so it can run on any computer that has the X windowing system.

...
Member
Posted in Uncategorized
Views 800 Comments 0 rainbowsally is offline
Old

CD-ROM data recovery - ddrescue respectively gddrescue

Posted 12-12-2012 at 10:00 AM by error_401
Updated 08-07-2014 at 11:12 AM by error_401 (Updated information)

I have a lot of pictures stored on CD-ROM's which over time start to loose data.
I want to recover as much data as possible and store it on my NAS. I have assembled my experience in this blog sort of a tutorial and reference.

1. Install ddrescue (gddrescue)
2. How it works - Manuals
3. Figure out your devices and prepare ddrescue
4. Use it on a damaged CD-ROM (data loss due bad sectors)
5. Recover as much data from data CD-ROM as possible
...
LQ Newbie
Posted in Uncategorized
Views 888 Comments 0 error_401 is offline

  



All times are GMT -5. The time now is 06:26 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration