Browse Source

color fix

master
Robin Thoni 10 years ago
parent
commit
229604001f

+ 15
- 5
intrabocal/widget.ui View File

@@ -7,7 +7,7 @@
7 7
     <x>0</x>
8 8
     <y>0</y>
9 9
     <width>409</width>
10
-    <height>193</height>
10
+    <height>196</height>
11 11
    </rect>
12 12
   </property>
13 13
   <property name="windowTitle">
@@ -37,6 +37,12 @@ QPushButton:hover
37 37
 QPushButton:pressed
38 38
 {
39 39
 	background-color:rgb(42, 42, 42);
40
+}
41
+
42
+QLineEdit
43
+{
44
+	border: 1px solid white;
45
+border-radius: 2px;
40 46
 }</string>
41 47
   </property>
42 48
   <layout class="QVBoxLayout" name="verticalLayout">
@@ -233,10 +239,14 @@ QPushButton:pressed
233 239
           </size>
234 240
          </property>
235 241
          <property name="styleSheet">
236
-          <string notr="true">QWidget{
237
-background-color: black;
238
-border: 1px;
239
-	color: rgb(255, 255, 255);
242
+          <string notr="true">QWidget
243
+{
244
+border: 1px solid white;
245
+border-radius: 2px;
246
+}
247
+QFrame, QToolTip
248
+{
249
+color: white;
240 250
 }</string>
241 251
          </property>
242 252
          <property name="editable">

+ 12
- 2
netsoul/dialogaddcontact.ui View File

@@ -14,8 +14,18 @@
14 14
    <string>Add Contact - Epimafia</string>
15 15
   </property>
16 16
   <property name="styleSheet">
17
-   <string notr="true">color: rgb(255, 255, 255);
18
-background-color: rgb(0, 0, 0);</string>
17
+   <string notr="true">QWidget
18
+{
19
+color: rgb(255, 255, 255);
20
+background-color: rgb(0, 0, 0);
21
+}
22
+
23
+
24
+QLineEdit
25
+{
26
+	border: 1px solid white;
27
+border-radius: 2px;
28
+}</string>
19 29
   </property>
20 30
   <property name="modal">
21 31
    <bool>true</bool>

+ 6
- 0
netsoul/dialogchat.cpp View File

@@ -1,9 +1,15 @@
1 1
 #include "dialogchat.h"
2 2
 #include "ui_dialogchat.h"
3
+#include <QShortcut>
3 4
 
4 5
 DialogChat::DialogChat(QWidget *parent) : QWidget(parent), ui(new Ui::DialogChat)
5 6
 {
6 7
 	ui->setupUi(this);
8
+
9
+	QShortcut* quit = new QShortcut(QKeySequence("Ctrl+W"), this);
10
+	connect(quit, SIGNAL(activated()), this, SLOT(hide()));
11
+	quit = new QShortcut(QKeySequence("Escape"), this);
12
+	connect(quit, SIGNAL(activated()), this, SLOT(hide()));
7 13
 }
8 14
 
9 15
 DialogChat::~DialogChat()

+ 12
- 2
netsoul/dialogchat.ui View File

@@ -14,8 +14,18 @@
14 14
    <string>Chat</string>
15 15
   </property>
16 16
   <property name="styleSheet">
17
-   <string notr="true">color: white;
18
-background-color: black;</string>
17
+   <string notr="true">QWidget
18
+{
19
+color: white;
20
+background-color: black;
21
+}
22
+
23
+
24
+QLineEdit
25
+{
26
+	border: 1px solid white;
27
+border-radius: 2px;
28
+}</string>
19 29
   </property>
20 30
   <layout class="QVBoxLayout" name="verticalLayout">
21 31
    <item>

+ 11
- 2
netsoul/mainwindow.ui View File

@@ -22,8 +22,17 @@
22 22
   </property>
23 23
   <widget class="QWidget" name="centralwidget">
24 24
    <property name="styleSheet">
25
-    <string notr="true">background-color: black;
26
-color: white;</string>
25
+    <string notr="true">QWidget
26
+{
27
+background-color: black;
28
+color: white;
29
+}
30
+
31
+QLineEdit
32
+{
33
+	border: 1px solid white;
34
+	border-radius: 2px;
35
+}</string>
27 36
    </property>
28 37
    <layout class="QVBoxLayout" name="verticalLayout">
29 38
     <item>

+ 5
- 1
netsoul/usertreewidget.cpp View File

@@ -13,7 +13,11 @@ UserTreeWidget::UserTreeWidget(QWidget *parent) : QTreeWidget(parent)
13 13
     header->setText(c++, "ID");
14 14
     setRootIsDecorated(false);
15 15
     setSortingEnabled(true);
16
-    setStyleSheet("QHeaderView::section\n{\ncolor: black;\n}");
16
+#ifdef Q_OS_WIN
17
+	setStyleSheet("QHeaderView::section\n{\ncolor: black;\n}");
18
+#else
19
+	setStyleSheet("QHeaderView\n{\ncolor: white;\n}");
20
+#endif
17 21
     connect(this, SIGNAL(itemDoubleClicked(QTreeWidgetItem*,int)), this, SLOT(itemDoubleClicked(QTreeWidgetItem*,int)));
18 22
     sortByColumn(0, Qt::AscendingOrder);
19 23
     setSelectionMode(QAbstractItemView::ExtendedSelection);

+ 7
- 1
ns_finder/widget.ui View File

@@ -7,7 +7,7 @@
7 7
     <x>0</x>
8 8
     <y>0</y>
9 9
     <width>364</width>
10
-    <height>93</height>
10
+    <height>94</height>
11 11
    </rect>
12 12
   </property>
13 13
   <property name="windowTitle">
@@ -43,6 +43,12 @@ color: black;
43 43
 QLabel
44 44
 {
45 45
 color: white;
46
+}
47
+
48
+QLineEdit
49
+{
50
+	border: 1px solid white;
51
+border-radius: 2px;
46 52
 }</string>
47 53
   </property>
48 54
   <layout class="QHBoxLayout" name="horizontalLayout">

+ 8
- 2
usermgr/widget.ui View File

@@ -7,7 +7,7 @@
7 7
     <x>0</x>
8 8
     <y>0</y>
9 9
     <width>238</width>
10
-    <height>317</height>
10
+    <height>327</height>
11 11
    </rect>
12 12
   </property>
13 13
   <property name="windowTitle">
@@ -43,6 +43,12 @@ color: black;
43 43
 QLabel
44 44
 {
45 45
 color: white;
46
+}
47
+
48
+QLineEdit
49
+{
50
+	border: 1px solid white;
51
+border-radius: 2px;
46 52
 }</string>
47 53
   </property>
48 54
   <layout class="QVBoxLayout" name="verticalLayout">
@@ -134,7 +140,7 @@ color: white;
134 140
         <string notr="true">QWidget
135 141
 {
136 142
 border: 1px solid white;
137
-border-radius: 1px;
143
+border-radius: 2px;
138 144
 }
139 145
 QFrame, QToolTip
140 146
 {

Loading…
Cancel
Save