QtDockTile

Qt Components

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

1
Score 77.7%
Description:

Using issue of docks on desktops today become more and more popular. There is at least 3 popular solutions of this issue: MacOS Dock, Windows 7 taskbar and Unity launchers from Ubuntu. Also there is icon tasks in KDE 4.8. Looking at this, there is a need to cross-platform library for the work with all this docks.

Common issues for docks

Badges
Progress indicator
Menu
Alarms
All this things are basics and they are fully supported in Win7, MacOS and Ubuntu. On this basis QtDockTile API will be built and all platform-dependent extensions will be added by the time of development and they won't be essentials.

Architecture of library and using in your code

For maximum flexibility and extensibility realization in every is usual Qt plugins. It allows adding support of new API without recompiling all the library, and in the case of inability of using any realization, plugin just won't work. The plugins are booted by the special singleton-manager. Every plugin inform this manager if it can work in this enviroment or not, resulting in thing that manager can call methods in only that plugins, which are allowed in this enviroment. User just work with simle class QtDockTile that is front-end to this manager. So you can create any number of QtDockTile instance. For the realization of dock menu Qt QMenu will be used. It is important to know about restrictions on the platform, which you use.

Simple example in code:

m_tile = new QtDockTile(this);
m_tile->setMenu(ui->menu);
connect(ui->pushButton, SIGNAL(clicked()), m_tile, SLOT(alert()));
m_tile->setBadge(123);
connect(ui->horizontalSlider, SIGNAL(valueChanged(int)), m_tile, SLOT(setProgress(int)));

As you can see, it is very simple!
Last changelog:

7 years ago

1.0beta
--Initial Release

alliancemd

7 years ago

In case if you have problems extracting .tar.bz file, rename it to tar.gz and extract...
I don't know why but the file ends with .tar.bz...

Report

7 years ago

1.0beta
--Initial Release

12345678910
9
product-maker Dganic Sep 03 2012 9 excellent
product-maker elmodos Jul 16 2012 9 excellent
product-maker silvansky Feb 07 2012 9 excellent
product-maker rNazarov Feb 04 2012 9 excellent
product-maker SeaJey Feb 04 2012 9 excellent
product-maker degtep Feb 03 2012 9 excellent
product-maker unikum111 Feb 03 2012 9 excellent
product-maker e1nste1n Feb 03 2012 9 excellent
product-maker viv Feb 03 2012 9 excellent
product-maker Base: 4 x 5.0 Ratings
elmodos
Jul 16 2012
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
0 Affiliates
Details
license
version
1.0beta
updated Feb 03 2012
added Feb 03 2012
downloads 24h
0
pageviews 24h 3
System Tags