This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Circle launcher

17

Votes
28
11
Tags: plasma plasma plasma
(comma "," separated)
User avatar
m1k0
Registered Member
Posts
21
Karma
0

[Plasma] Circle launcher

Fri Mar 20, 2009 5:44 pm
There are many implementation "circle menu" but any one for KDE :(
sample menus
For example

Main advantages:
- save space (very important for netbooks)
- equals distance for all options (very important for touchpad)

I know, that we have icon for hide/show menu, and thi is good, but this menu is a old bar.

Last edited by bcooksley on Sun Apr 05, 2009 3:17 am, edited 1 time in total.


m1k0, proud to be a member of KDE forums since 2008-Oct.
Kryten2X4B
Registered Member
Posts
911
Karma
4
OS

RE: circle menu

Sat Mar 21, 2009 2:10 am
Hm, if this menu is only meant to make it easier to get access to the favs or the ordinary k-menu I'd like to think it would be more worthwhile to be able to set what the mousebuttons to if clicked on the desktop:

I.e.

1. Left-click: launch whatever the pointer is over.
2. Right-click: bring forth the context-sensitive menu
3. Middle-click: bring forth the k-menu

Okay, maybe I'm old-school but that's THE one thing I for now miss from KDE3.


OpenSUSE 11.4, 64-bit with KDE 4.6.4
Proud to be a member of KDE forums since 2008-Oct.
f33l
Registered Member
Posts
15
Karma
0
OS

RE: circle menu

Sat Mar 21, 2009 8:28 am
we could take some inspiration from games. For instance ETQW has a very nice and usuable circle m
The User
KDE Developer
Posts
647
Karma
0
OS

RE: circle menu

Sat Mar 21, 2009 10:47 am
I think it should not be complicate to implement such a QWidget.
Edit:
I try to create such a widget. ;)

Last edited by The User on Sat Mar 21, 2009 1:38 pm, edited 1 time in total.
The User
KDE Developer
Posts
647
Karma
0
OS

RE: circle menu

Sat Mar 21, 2009 11:58 pm
This Thread has caused a new development! :)
Now I have made a working QGraphicsItem for such menus.
I should add a Widget-class for easier creation. The main.cpp is really ugly, you will see what I mean. ;)
But the existing class provides a few usefuls features:
-A KIcon
-Signals ~like in QAbstractButton
-Submenus or Subwidgets
-Specifying the arch (full circle or only a half circle, clockwise or against clockwise, rotation)
I have drawn the circle using a QPainterPath, that is ugly. Should I use QPixmap? Or a SVG-Class? Any suggestions?

When these tasks are down it is still not a real menu for Plasma, it is just a widget. Maybe anybody could help, because I am unexperienced with KDE-configuration-files and other needed stuff.

http://files.the-user.org/CircleMenu.tar.bz2
It contains my compiled data for Linux i686. For compiling do:
Code: Select all
qmake
make


The User
The User
KDE Developer
Posts
647
Karma
0
OS

RE: circle menu

Sat Apr 04, 2009 10:11 pm
Hi!
After a week without circlemenu-development I have continued and there are now two classes, a QGraphicsItem for applications using Plasma or QGraphicsView and a QWidget for "normal" applications as alternative to QMenu.
But I have still no idea, what kind of pointer I should use for drawing of the circle. QPixmap, any SVG-class, QIcon (KIcon inherits QIcon) or something else?

The User
User avatar
Primoz
Moderator
Posts
859
Karma
1
OS

RE: circle menu

Sat Apr 04, 2009 10:31 pm
The User wrote:Hi!
After a week without circlemenu-development I have continued and there are now two classes, a QGraphicsItem for applications using Plasma or QGraphicsView and a QWidget for "normal" applications as alternative to QMenu.
But I have still no idea, what kind of pointer I should use for drawing of the circle. QPixmap, any SVG-class, QIcon (KIcon inherits QIcon) or something else?

The User

Try posting your questions here: Developers/Helping hands


Primoz, proud to be a member of KDE forums since 2008-Nov.
The User
KDE Developer
Posts
647
Karma
0
OS

RE: circle menu

Sat Apr 04, 2009 10:36 pm
Okay. Thank you.
User avatar
Primoz
Moderator
Posts
859
Karma
1
OS

RE: [Plasma] Circle launcher

Sun Apr 05, 2009 8:28 pm
Well it seems that someone "beat" The User to it, as I just found plasmoid on KDE-Look called Daisy which is more or less circular menu.
Here's the link:
http://www.kde-look.org/content/show.ph ... ent=102077


Primoz, proud to be a member of KDE forums since 2008-Nov.
The User
KDE Developer
Posts
647
Karma
0
OS

RE: [Plasma] Circle launcher

Sun Apr 05, 2009 9:33 pm
I will have a look at it. ;)
I like concurrence and this implementation will help me.

Last edited by The User on Sun Apr 05, 2009 9:37 pm, edited 1 time in total.


Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], Sogou [Bot]