From 49f31d5e186e6602fb8d674d583cdb7aaf1b3976 Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Wed, 2 Mar 2011 17:39:13 +0100 Subject: gui stuff .. --- src/main.cpp | 1 + src/ui/dialog.ui | 15 +++++++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index 83525a6..61aa8f7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -172,6 +172,7 @@ int main(int argc, char *argv[]) { QList vsessions(VSession::readXmlDir(vSessionPath)); Dialog w(windowmgr); + w.setWindowFlags(Qt::FramelessWindowHint); w.resize(width, height); if (xsessions.empty() && vsessions.empty()) { std::cerr << a.translate( diff --git a/src/ui/dialog.ui b/src/ui/dialog.ui index e9e2920..b1b37c5 100644 --- a/src/ui/dialog.ui +++ b/src/ui/dialog.ui @@ -13,6 +13,11 @@ vmchooser + + #Dialog { + border:1px solid #666; +} + 0 @@ -44,7 +49,8 @@ background-color:#003592; -margin-top:0px; +margin-left:1px; +margin-top:1px; margin-bottom:0px; @@ -74,7 +80,8 @@ margin-bottom:0px; background-color:#003592; -margin-top:0px; +margin-top:1px; +margin-right:1px; margin-bottom:0px; @@ -102,8 +109,8 @@ margin-bottom:0px; - border-top:1px solid #ccc; -border-bottom:1px solid #ccc; + border-top:1px solid #666; +border-bottom:1px solid #666; -- cgit v1.2.3-55-g7522 From c630d1d76d0a378a8738edc5c685a278f6c90a2b Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Wed, 2 Mar 2011 18:24:23 +0100 Subject: .. --- src/img/title_r.png | Bin 4108 -> 4113 bytes src/ui/dialog.ui | 12 ++++++------ 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/img/title_r.png b/src/img/title_r.png index 2d0e2cb..3edbcb0 100644 Binary files a/src/img/title_r.png and b/src/img/title_r.png differ diff --git a/src/ui/dialog.ui b/src/ui/dialog.ui index b787ca6..2e7a827 100644 --- a/src/ui/dialog.ui +++ b/src/ui/dialog.ui @@ -48,10 +48,10 @@ - background-color:#003592; + #label_l {background-color:#003592; margin-left:1px; margin-top:1px; -margin-bottom:0px; +margin-bottom:0px;} QFrame::Plain @@ -79,10 +79,10 @@ margin-bottom:0px; - background-color:#003592; + #label_r {background-color:#003592; margin-top:1px; margin-right:1px; -margin-bottom:0px; +margin-bottom:0px;} QFrame::Plain @@ -109,8 +109,8 @@ margin-bottom:0px; - border-top:1px solid #999; -border-bottom:1px solid #999; + #treeView {border-top:1px solid #999; +border-bottom:1px solid #999;} -- cgit v1.2.3-55-g7522