LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-09-2011, 06:13 AM   #1
Endarur
LQ Newbie
 
Registered: Jul 2010
Location: Koblenz (Germany)
Distribution: Litotas
Posts: 24

Rep: Reputation: 3
qt system tray widget


Hi there,

i need to program a little system tray but don't know how to do it. Has someone an idea where to start/get information about that topic or if there is already a system tray widget for qt i can use?
I don't mean QSystemTrayIcon because i need the System tray where these icons can be placed (it's needed for my desktop environment Litotas Desktop)

Thx for your help
 
Old 03-09-2011, 05:24 PM   #2
jrtayloriv
Member
 
Registered: Jun 2004
Location: Inland NW, US
Distribution: Ubuntu
Posts: 366
Blog Entries: 1

Rep: Reputation: 44
Take a look at KSystemTray for an example of how one major desktop system implemented a system tray.

EDIT: Sorry it wasn't clear that I was suggesting this as a model (i.e. look how they did it), rather than as a plugin module for his desktop system.

Last edited by jrtayloriv; 03-10-2011 at 05:07 PM.
 
Old 03-10-2011, 11:44 AM   #3
Endarur
LQ Newbie
 
Registered: Jul 2010
Location: Koblenz (Germany)
Distribution: Litotas
Posts: 24

Original Poster
Rep: Reputation: 3
Ok that one sounds good, but would mean i have two possibilities.
1) rewrite the code so it doesn't depend on other kde code or
2) depend my desktop environment on kdelibs

Or am I wrong?
 
1 members found this post helpful.
Old 03-10-2011, 12:30 PM   #4
almatic
Member
 
Registered: Mar 2007
Distribution: Debian
Posts: 547

Rep: Reputation: 67
Hi,

you are probably not using qt3 anymore, so you want to look at systemtray::taskarea which is in kdebase-workspace.
However, depending on the kdelibs should not be an option for your desktop imho. Why would I install a desktop that depends on kde, I'd just install kde if I wanted that.
More interesting for you is probably the specification on freedesktop.org. These standards are met by gnome, kde and most other desktops to ensure a common api for the notification area. This is important, because applications, who have a trayicon in kde/gnome etc. will work on your desktop too if you meet those standards.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
System Does Not Support a System Tray dauphinfay Linux - Software 1 02-21-2009 04:37 AM
Need a System Tray? drj000 Linux - Software 7 01-19-2005 07:47 PM
Things for KDE system tray in gnome system tray Boffy Linux - General 3 09-17-2004 07:56 AM
RH.9 System Tray ganninu Linux - Newbie 2 10-17-2003 03:30 PM
System tray floyd Linux - Newbie 2 09-01-2003 10:19 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:16 AM.

Main Menu
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