summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp1
-rw-r--r--src/ui/dialog.ui15
2 files changed, 12 insertions, 4 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 6264923..cb76d61 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -164,6 +164,7 @@ int main(int argc, char *argv[]) {
QList<Session*> vsessions(VSession::readXmlDir(vSessionPath));
Dialog w;
+ 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..b787ca6 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 #999;
+}</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 #999;
+border-bottom:1px solid #999;
</string>
</property>
<property name="frameShape">