diff options
author | Ken Moore <moorekou@gmail.com> | 2015-11-09 12:45:10 -0500 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-11-09 12:45:10 -0500 |
commit | e6a725a855208bccab349c6265c6d99af65ecc42 (patch) | |
tree | 397fd3c232108c329997462d45327e5c4d1fa4ef /lumina-desktop/panel-plugins/systemstart/ItemWidget.h | |
parent | Add the WM_PROTOCOLS ICCCM support to the lumina library. (diff) | |
download | lumina-e6a725a855208bccab349c6265c6d99af65ecc42.tar.gz lumina-e6a725a855208bccab349c6265c6d99af65ecc42.tar.bz2 lumina-e6a725a855208bccab349c6265c6d99af65ecc42.zip |
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.
Diffstat (limited to 'lumina-desktop/panel-plugins/systemstart/ItemWidget.h')
-rw-r--r-- | lumina-desktop/panel-plugins/systemstart/ItemWidget.h | 8 |
1 files changed, 7 insertions, 1 deletions
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()); |