Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
This post has been edited 1 times, last edit by "panzar" (Apr 19th 2005, 12:42pm)
Quoted
Originally posted by Krasu
Note: better write your own filemanager with help of KDirOperator
Quoted
Originally posted by panzar
I have been meaning to ask about this.. Which is easiest, writing my own file selector or adapting someone elses? In the later case, which file-selector would you recomend me to adapt? Kate's, kdevelop's?
Source code |
|
1 2 3 4 5 |
KActionCollection *coll = dir_operator->actionCollection(); coll->action("back")->plug(toolbar); coll->action("forward")->plug(toolbar); coll->action("up")->plug(toolbar); |
Quoted
Originally posted by Krasu
It's not so hard as you think. You can create KDirOperator (it's a regular widget) and connect apropriate signals (like clicked() and doubleClicked()). That's all
If you want, you can plug() its actions somewhere (for example, in toolbar). For example
Source code
1 2 3 4 5 KActionCollection *coll = dir_operator->actionCollection(); coll->action("back")->plug(toolbar); coll->action("forward")->plug(toolbar); coll->action("up")->plug(toolbar);
Forum Software: Burning Board®, developed by WoltLab® GmbH
Linux Computer - Linux Forum -
Linux Computer und Notebooks - Lastminute - Wasserbetten & Whirlpools