QuickAccess

Plasma 4 Extensions

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

12
7 .0
Description:

This is a small applet designed for the panel to have quick access to the most used folders.

Hints for the Drag and Drop support:
you can open the dialog by hovering for 1 sec over the applet. The same way you can navigate through the directory tree, simply stay 1 sec over a folder/the backarrow to get into the folder...
If you drop a file/folder it will land in the folder you are in, no matter if you dropped it on a foldericon or not...


If you see any bugs or think something is a design failure please inform me about it.


I have to thank Luciano Leveroni and Marcel Nowaczyk for their help, suggestions and testing, without them you would have a lot of bugs in the released version...
Last changelog:

12 years ago

0.7.1:
------
-fixed a bug which lets quickaccess/plasma crash if you didn't open the popupdialog before a dndevent

0.7:
----
-sorting
-improved selection(by rubberband or shift/ctrl)
-fixed a bug with invalid urls and changed default path to "~"
-applet should now save the size if placed on the desktop
-improved scrollinganimation
-the popupdialog gets closed when an item in the contexmenu is triggered

0.6.1:
------
-fixed a bug with doubleclick settings(thanks for the report painkiller101)
-fixed a bug where the icon in the panel remains highlighted
-the listview now has by default keyboard focus
-changed the width of the text in iconmode

0.6:
----
-changed the flipscrollview to an itemview that supports a listmode and an iconmode(idea by Marcel Nowaczyk aka painkiller101)
-option to disable navigation(clicking on a folder opens dolphin/konqueror)
-some visual changes(e.g. better readable text with transparent themes)

0.5.2:
------
-fixed a bug where the previewimagesize was not updated when the iconsize of the listview changed
-tooltips are disabled by default
-little changes in the itemheight

0.5.1:
------
-fixed a bug where the text in the listview was drawn under the triangle( thanks to painkiller101 for the hint)

0.5:
----
-ToolTip support
-extracted the resizefunctionality into a base class
-option to adjust which previewplugins should be used(by default only the imageplugin)
-some visual "improvements"

C

mherbert

12 years ago

Hmm, if I understand you right it should be possible in the next version...

Mark

Report

maggoi

12 years ago

Hi,

when I try to build your Plasmoid on my amd64 kubuntu hardy I get that error:

/home/marco/Plasmoids/quickaccess-0.7.1/quickaccess.cpp:34:29: Fehler: konq_operations.h: No such file or directory
/home/marco/Plasmoids/quickaccess-0.7.1/quickaccess.cpp: In member function »virtual void QuickAccess::dropEvent(QGraphicsSceneDragDropEvent*)«:
/home/marco/Plasmoids/quickaccess-0.7.1/quickaccess.cpp:276: Fehler: »KonqOperations« wurde nicht deklariert
make[2]: *** [CMakeFiles/plasma_applet_quickaccess.dir/quickaccess.o] Fehler 1
make[1]: *** [CMakeFiles/plasma_applet_quickaccess.dir/all] Fehler 2
make: *** [all] Fehler 2


Any suggestions?

Cheers Marco

Report

C

mherbert

12 years ago

Hi Marco,
it seems you have to install libkonq5-dev and libkonq5. If you have any further problems to build quickaccess, Fred Hermanns aka Fintan made summary of the packages needed to compile it on Kubuntu, have look at page 6 in the comments section.

Mark

Report

maggoi

12 years ago

Got it compiled. You've done a very good job developing that Plasmoid. Thank you. Would be nice to have more Preview Plugins jpeg etc.

Report

C

mherbert

12 years ago

I use a kde function to get the thumbnails. So if you are able to see jpeg previews in dolphin/konqueror u should be able to see them in quickaccess

Mark

Report

madsheytan

12 years ago

Hi, your plasmoid is great. I'm using it as a quick access for my downloads. There is one more missing feature for me-notification. It will be great if the plasmoid notifi me that there is/are new file/files. F.e when my download finish it will blink with another icon, or change the icon with a fade effect. Something like that. Please make it ;)

ssry for my bad eng.

Report

C

mherbert

12 years ago

That sounds like a very good idea to me, but I don't know when I can implement that, because I am busy atm.
But as soon as I got some spare time I will have a look into it...

Mark

Report

ansani

12 years ago

If you like debian, here you find a .deb KDE 4.1 package:

http://ansani.it/debian/dists/experimental/contrib/binary-i386/quickaccess_0.7.1-1_i386.deb

Enjoy :)

Report

C

mherbert

12 years ago

Thanks, I have updated the download section.

Mark

Report

brainsqueezer

12 years ago

It won't be avaliable until 4.2 but this is interesting:
http://aseigo.blogspot.com/2008/08/associating-widgets-with-mimetypes.html

Maybe possibility to (1) drop an image to be selected as icon or (2) drop a folder to be select as current directory.

Also it would be interesting the possibility of dropping a folder into the panel/dashboard as it currently happens with FolderView and Icon applets but maybe this must be hardcoded into plasma code.

Report

brainsqueezer

12 years ago

I thought that second suggestion wouldn't be possible to do but seems I was wrong.

I have added a line to plasma-applet-quickaccess.desktop:

X-Plasma-DropMimeTypes=inode/directory

So when a drop a folder into the background a menu appears offering me the possibility to create a QuickAccess plasmoid. For getting it to work maybe you must implement any interface but shouldn't be hard to do (see FolderView).

Hope in the future we can drop applets to the panel but this is an step.

Report

C

mherbert

12 years ago

Hey Ramon Antonio,
I have read that blog too and the first thing I have done was firing up kate and implement that feature (2) ;)
But I am not sure if I should associate it with images, it would be a bit confusing, because quickaccess has nothing to do with images...

Mark

Report

brainsqueezer

12 years ago

I misunderstood blog post. I thought it was about dropping things into existing applets that is not a killer feature but maybe useful. I creating a new applet when dropping into dashboard just as a related topic.

Report

chrisfudge

12 years ago

Hi Mark,
Thanks for this excellent Plasmoid. I particularly like the "View mode" option as always a folder or file name is longer than its Icon and is obsurerd. I've pointed your plasmoid at /Desktop to create my own Apps menu.
Sometimes I forget and move/download a file onto Desktop(old MS user). Is there any merit in having an option to sort by "Type" Apps,Folders then anything else.

Report

C

mherbert

12 years ago

Hi Chris,
thanks for your comment and your suggestion, I have implemented it and it will be available in the next version.

Mark

Report

kappa01

12 years ago

Is it possible to change the file manager preference for opening folders?

Default seems to be konqueror. Can that be changed to Dolphin? Could it be set to one or the other depending on the folder?

Report

C

mherbert

12 years ago

It uses the kde-settings to determine what app is used to open folders. To change that behavior, you have to change your settings to dolphin.
And no it is not possible to set it depending on the folder...

Report

MonsterMagnet

12 years ago

Hello mherbert,

i really like your plasmoid, have you thought about creating an ADVANCED FOLDERVIEW widget ? Would be nice to have preview thumbnails and navigaton in folderview. Should be easy for you or other C developers to modify your code to get this working.

I count on you !

Keep up the good work !

Report

C

mherbert

12 years ago

Thanks for your comment.
It should be easy to implement your wish, but I don't use any icons on the desktop, that's why I am not that motivated to implement it myself ;)
But if anybody else wants to implement it, (s)he could drop me a message to discuss it.

Mark

Report

Refused

12 years ago

wow it's very nice, but I need to delete files... how can I do without opening the folder with dolphin/konqueror?

Report

C

mherbert

12 years ago

the only way is to drag and drop them into the wastebin, if you use that applet... I planned to make the applet readonly, but well that changed... perhaps I should add a delete option...

Report

Fintan

12 years ago

Thank you for your patience mherbert:)

I did that:
Quote:Try to run:
Quote:

# mkdir build
# cd build
# cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..


I got as far as above:
Quote:
fintan@fintanws2:~/Eyecandy/KDE4/84128-quickaccess-0.7.1/quickaccess-0.7.1$ mkdir build
fintan@fintanws2:~/Eyecandy/KDE4/84128-quickaccess-0.7.1/quickaccess-0.7.1$ cd build
fintan@fintanws2:~/Eyecandy/KDE4/84128-quickaccess-0.7.1/quickaccess-0.7.1/build$ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
-- The C compiler identification is GNU
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND -- broken
CMake Error at /usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake:25 (MESSAGE):
The C++ compiler "CMAKE_CXX_COMPILER-NOTFOUND" is not able to compile a
simple test program.

It fails with the following output:





CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)


CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.6)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done
fintan@fintanws2:~/Eyecandy/KDE4/84128-quickaccess-0.7.1/quickaccess-0.7.1/build$

Cannot continue:((

Report

C

mherbert

12 years ago

Seems the package you also need is "g++", try it again after you installed it.

Report

Fintan

12 years ago

Thank you so much for the patience with an ignorant:)

To recap the installation for HH kde4.1:

The following packages are needed:

Quote:libkonq5-dev, libkonq5, cmake, libplasma-dev, kdelibs5-dev, kdebase-dev-kde4 as well as gcc, gcc-3.3base, and g++

unpack the downloaded plasmoid to a folder and run in a terminal from the folder:

Quote:# mkdir build
# cd build
# cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
# make
# sudo make install

restart kde4.1

Report

C

mherbert

12 years ago

Wahoo it works ;)
Thanks for the summary, now I can point other Kubuntu users to you comment.

Mark

Report

12 years ago

0.7.1:
------
-fixed a bug which lets quickaccess/plasma crash if you didn't open the popupdialog before a dndevent

0.7:
----
-sorting
-improved selection(by rubberband or shift/ctrl)
-fixed a bug with invalid urls and changed default path to "~"
-applet should now save the size if placed on the desktop
-improved scrollinganimation
-the popupdialog gets closed when an item in the contexmenu is triggered

0.6.1:
------
-fixed a bug with doubleclick settings(thanks for the report painkiller101)
-fixed a bug where the icon in the panel remains highlighted
-the listview now has by default keyboard focus
-changed the width of the text in iconmode

0.6:
----
-changed the flipscrollview to an itemview that supports a listmode and an iconmode(idea by Marcel Nowaczyk aka painkiller101)
-option to disable navigation(clicking on a folder opens dolphin/konqueror)
-some visual changes(e.g. better readable text with transparent themes)

0.5.2:
------
-fixed a bug where the previewimagesize was not updated when the iconsize of the listview changed
-tooltips are disabled by default
-little changes in the itemheight

0.5.1:
------
-fixed a bug where the text in the listview was drawn under the triangle( thanks to painkiller101 for the hint)

0.5:
----
-ToolTip support
-extracted the resizefunctionality into a base class
-option to adjust which previewplugins should be used(by default only the imageplugin)
-some visual "improvements"

12345678910
4
product-maker lionhater Oct 10 2012 9 excellent
product-maker maroony Feb 11 2012 9 excellent
product-maker Grobelard Nov 13 2011 9 excellent
product-maker J0nas Sep 26 2011 9 excellent
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
Landis
Dec 02 2013
maroony
Feb 11 2012
Grobelard
Nov 13 2011
m00nraker
Mar 22 2011
vortex375
Aug 30 2010
sokar620
Aug 17 2009
faelbluhm
May 18 2009
Yggdrasill
May 05 2009
universe777
Apr 18 2009
Montblanc
Mar 27 2009
painkiller101
Mar 08 2009
dekans
Feb 09 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.7.1
updated Aug 03 2008
added Jun 27 2008
downloads 24h
0
mediaviews 24h 0
pageviews 24h 5