diff options
author | Ken Moore <moorekou@gmail.com> | 2015-10-08 09:16:34 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-10-08 09:16:34 -0400 |
commit | f2e7539354da61ff2fd03ccfb58acae8b89aa097 (patch) | |
tree | d42fabdf0bd5a1ca0f3c5b30ffff63aa32739c76 /lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp | |
parent | Get rid of an extra empty grid space between desktop items. (diff) | |
download | lumina-f2e7539354da61ff2fd03ccfb58acae8b89aa097.tar.gz lumina-f2e7539354da61ff2fd03ccfb58acae8b89aa097.tar.bz2 lumina-f2e7539354da61ff2fd03ccfb58acae8b89aa097.zip |
Commit a couple fixes:
1) Make sure the calendar desktop plugin updates the date occasionally.
2) Add the framework for a custom-painted Toolbutton for the applauncher plugin. This will be used to ensure font outlines in the near future.
3) Another small adjustment for new window geometries - run the overall adjustment first - then re-check and see if the window is off the top of the screen before trying the fallback movement routine.
Diffstat (limited to 'lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp')
-rw-r--r-- | lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp b/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp index 3acb83fb..0335b650 100644 --- a/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp +++ b/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp @@ -1,11 +1,12 @@ #include "AppLauncherPlugin.h" #include "../../LSession.h" +#include "OutlineToolButton.h" AppLauncherPlugin::AppLauncherPlugin(QWidget* parent, QString ID) : LDPlugin(parent, ID){ QVBoxLayout *lay = new QVBoxLayout(); this->setLayout(lay); lay->setContentsMargins(0,0,0,0); - button = new QToolButton(this); + button = new OutlineToolButton(this); button->setToolButtonStyle(Qt::ToolButtonTextUnderIcon); button->setAutoRaise(true); button->setText("...\n..."); //Need to set something here so that initial sizing works properly |