diff options
author | Sebastian Schmelzer | 2011-03-02 17:39:13 +0100 |
---|---|---|
committer | Sebastian Schmelzer | 2011-03-02 17:39:13 +0100 |
commit | 49f31d5e186e6602fb8d674d583cdb7aaf1b3976 (patch) | |
tree | 845e3e6c308a7364077ac973845fc66cfb3087c7 | |
parent | new rz style layout (diff) | |
download | vmchooser-49f31d5e186e6602fb8d674d583cdb7aaf1b3976.tar.gz vmchooser-49f31d5e186e6602fb8d674d583cdb7aaf1b3976.tar.xz vmchooser-49f31d5e186e6602fb8d674d583cdb7aaf1b3976.zip |
gui stuff ..
-rw-r--r-- | src/main.cpp | 1 | ||||
-rw-r--r-- | src/ui/dialog.ui | 15 |
2 files changed, 12 insertions, 4 deletions
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<Session*> 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 @@ <property name="windowTitle"> <string>vmchooser</string> </property> + <property name="styleSheet"> + <string notr="true">#Dialog { + border:1px solid #666; +}</string> + </property> <layout class="QVBoxLayout" name="verticalLayout"> <property name="spacing"> <number>0</number> @@ -44,7 +49,8 @@ </property> <property name="styleSheet"> <string notr="true">background-color:#003592; -margin-top:0px; +margin-left:1px; +margin-top:1px; margin-bottom:0px;</string> </property> <property name="frameShadow"> @@ -74,7 +80,8 @@ margin-bottom:0px;</string> </property> <property name="styleSheet"> <string notr="true">background-color:#003592; -margin-top:0px; +margin-top:1px; +margin-right:1px; margin-bottom:0px;</string> </property> <property name="frameShadow"> @@ -102,8 +109,8 @@ margin-bottom:0px;</string> </size> </property> <property name="styleSheet"> - <string notr="true">border-top:1px solid #ccc; -border-bottom:1px solid #ccc; + <string notr="true">border-top:1px solid #666; +border-bottom:1px solid #666; </string> </property> <property name="frameShape"> |