From e6a725a855208bccab349c6265c6d99af65ecc42 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Mon, 9 Nov 2015 12:45:10 -0500 Subject: A couple changes to Lumina: 1) Add 3 different "view modes" for applications in the start menu: Alphabetical (no categories), Partial Categories (same as before - still on list though), or Categories (need to click the category to go into it and see the applications).2) Fix the theming of partially checked checkboxes and groupboxes. 3) Force the desktop icons to have black text in the theme (no matter which color scheme is in use). 4) Adjust the outlining effects of the desktop icons to use a radial gradient now, so you get a smoother effect which does not steal eye focus as much on contrasting backgrounds. --- lumina-desktop/panel-plugins/systemstart/ItemWidget.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'lumina-desktop/panel-plugins/systemstart/ItemWidget.h') diff --git a/lumina-desktop/panel-plugins/systemstart/ItemWidget.h b/lumina-desktop/panel-plugins/systemstart/ItemWidget.h index acb908ec..0f24cec4 100644 --- a/lumina-desktop/panel-plugins/systemstart/ItemWidget.h +++ b/lumina-desktop/panel-plugins/systemstart/ItemWidget.h @@ -28,8 +28,14 @@ class ItemWidget : public QFrame{ Q_OBJECT public: + //Overloaded Constructors for various uses + // - Favorites (path/type) ItemWidget(QWidget *parent=0, QString itemPath="", QString type="unknown", bool goback=false); + // - Generic Apps ItemWidget(QWidget *parent=0, XDGDesktop item= XDGDesktop()); + // - Categories + //ItemWidget(QWidget *parent=0, QString cat=""); + ~ItemWidget(); bool gooditem; @@ -69,7 +75,7 @@ private slots: protected: void mouseReleaseEvent(QMouseEvent *event){ if(menuopen){ resetmenuflag(); } //skip this event if a submenu was open - else if(event->button() == Qt::RightButton){ + else if(event->button() == Qt::RightButton && !icon->whatsThis().startsWith("chcat::::") ){ menuopen = true; setupContextMenu(); contextMenu->popup(event->globalPos()); -- cgit