aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/desktop-plugins
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2014-11-05 13:16:58 -0500
committerKen Moore <ken@pcbsd.org>2014-11-05 13:16:58 -0500
commitcb7ac8c92b68b2229e8d1759bbce3d0e2b597c17 (patch)
tree447b20ba91f0171b989e444e20162d03a2dba102 /lumina-desktop/desktop-plugins
parentMerge branch 'master' of github.com:pcbsd/lumina (diff)
downloadlumina-cb7ac8c92b68b2229e8d1759bbce3d0e2b597c17.tar.gz
lumina-cb7ac8c92b68b2229e8d1759bbce3d0e2b597c17.tar.bz2
lumina-cb7ac8c92b68b2229e8d1759bbce3d0e2b597c17.zip
Add a new utility: lumina-search
This utility provides quick searching for applications (the default), or for searching the entire user's home directory. The file search also supports the "*" wildcard for the search terms.
Diffstat (limited to 'lumina-desktop/desktop-plugins')
-rw-r--r--lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.cpp4
-rw-r--r--lumina-desktop/desktop-plugins/notepad/NotepadPlugin.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.cpp b/lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.cpp
index 98d132ac..54727a36 100644
--- a/lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.cpp
+++ b/lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.cpp
@@ -18,9 +18,8 @@ DesktopViewPlugin::DesktopViewPlugin(QWidget* parent, QString ID) : LDPlugin(par
list->setSpacing(2);
list->setSelectionBehavior(QAbstractItemView::SelectItems);
list->setSelectionMode(QAbstractItemView::NoSelection);
- list->setStyleSheet( "QListWidget{ background: transparent; }" );
+ list->setStyleSheet( "QListWidget{ background: rgba(255,255,255,100); border: none; border-radius: 3px;}" );
list->setIconSize(QSize(64,64));
- list->setGridSize(QSize(80,80));
this->layout()->addWidget(list);
this->setInitialSize(200,300);
watcher = new QFileSystemWatcher(this);
@@ -41,6 +40,7 @@ void DesktopViewPlugin::runItem(QListWidgetItem *item){
void DesktopViewPlugin::updateContents(){
list->clear();
+ list->setGridSize(QSize(80,70+this->fontMetrics().height()));
QDir dir(QDir::homePath()+"/Desktop");
QFileInfoList files = dir.entryInfoList(QDir::Files | QDir::Dirs | QDir::NoDotAndDotDot, QDir::Name | QDir::Type | QDir::DirsFirst);
for(int i=0; i<files.length(); i++){
diff --git a/lumina-desktop/desktop-plugins/notepad/NotepadPlugin.cpp b/lumina-desktop/desktop-plugins/notepad/NotepadPlugin.cpp
index bba1d863..01e7179e 100644
--- a/lumina-desktop/desktop-plugins/notepad/NotepadPlugin.cpp
+++ b/lumina-desktop/desktop-plugins/notepad/NotepadPlugin.cpp
@@ -10,7 +10,7 @@ NotePadPlugin::NotePadPlugin(QWidget* parent, QString ID) : LDPlugin(parent, ID)
this->layout()->setContentsMargins(0,0,0,0);
vlay->setContentsMargins(3,3,3,3);
frame = new QFrame(this);
- frame->setStyleSheet("QFrame{border-size: 1px; background: rgba(255,255,255,100);}");
+ frame->setStyleSheet("QFrame{border-size: 1px; background: rgba(255,255,255,100); color: black;}");
this->layout()->addWidget(frame);
frame->setLayout(vlay);
bgstack15