LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

GTK Resource Compilation Utility

Posted 04-09-2015 at 02:30 PM by rainbowsally

GTK Resource Compilation.

There's a utility called 'glib-compile-resources' that takes an xml file that is basically a
list of resources such as glade ui files, and it outputs c code to embed the data in the
application. It's messy to use, but it works.

There may be another messy gtk/glib utility to create these xml files that 'glib-compile-resources'
can use, but if there is here's another one that may or may not be easier to use.
...
Member
Posted in Uncategorized
Views 98 Comments 0 rainbowsally is offline
Old

New-Make ready for hyperjump and KDE Menu's How-To

Posted 12-29-2012 at 10:35 PM by rainbowsally
Updated 08-06-2014 at 08:41 AM by rainbowsally

New-Make ready for hyperjump and KDE Menu's How-To

This is somewhat advanced stuff but.. maybe not. It might also appeal to anyone who has a little talent for tinkering who needs to set up a KDE menu for an application that doesn't have one. See warning below, however.

Today's features
  • Last of the first generation new-make installer/uninstallers (probably).
  • Usage example that installs and uninstalls a dummy application and icons into the KDE menus.

1.0.17[*]...
Member
Posted in Uncategorized
Views 538 Comments 0 rainbowsally is offline
Old

Tooling Up. ui-tool (QT4 ui file utilites)

Posted 12-15-2012 at 10:16 AM by rainbowsally
Updated 06-10-2013 at 04:17 PM by rainbowsally (bullet list not showing correctly + typo fix + parag alignment)

UPDATE: (2013-06-10) There's a stand-alone version of the uitool here.
http://www.linuxquestions.org/questi...3-06-10-35568/

It's part of the next libLQ-qt/mc2 project but that lib is not ready to fly yet.

--------
Note: This is now part of the libLQ-qt download, but it's been renamed lq-uitool. It builds in the tools folder and should install automatically if all goes well.

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

ui-tools implementation (ui-tools.cpp)

Posted 12-15-2012 at 09:57 AM by rainbowsally
Updated 12-15-2012 at 08:29 PM by rainbowsally (linkage to first part + parag alignment fixed)

ui-tools implementation (ui-tools.cpp)

The following changes are in the code below, but are listed in case you already have the file and want to fix it yourself (and see the context of the problem).

Changelog Dec 15 2012 (second prob)
"Unknown error" msg issued when it's not an error.

Here's the fix. Whenever we call
Code:
  ok = find_slots(...);
we need to return 'true' without acting on the return values but not return 'false'...
Member
Posted in Uncategorized
Views 647 Comments 0 rainbowsally is offline
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 721 Comments 0 rainbowsally is offline

  



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