Browse Source

color fix

master
Robin Thoni 10 years ago
parent
commit
229604001f

+ 15
- 5
intrabocal/widget.ui View File

7
     <x>0</x>
7
     <x>0</x>
8
     <y>0</y>
8
     <y>0</y>
9
     <width>409</width>
9
     <width>409</width>
10
-    <height>193</height>
10
+    <height>196</height>
11
    </rect>
11
    </rect>
12
   </property>
12
   </property>
13
   <property name="windowTitle">
13
   <property name="windowTitle">
37
 QPushButton:pressed
37
 QPushButton:pressed
38
 {
38
 {
39
 	background-color:rgb(42, 42, 42);
39
 	background-color:rgb(42, 42, 42);
40
+}
41
+
42
+QLineEdit
43
+{
44
+	border: 1px solid white;
45
+border-radius: 2px;
40
 }</string>
46
 }</string>
41
   </property>
47
   </property>
42
   <layout class="QVBoxLayout" name="verticalLayout">
48
   <layout class="QVBoxLayout" name="verticalLayout">
233
           </size>
239
           </size>
234
          </property>
240
          </property>
235
          <property name="styleSheet">
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
 }</string>
250
 }</string>
241
          </property>
251
          </property>
242
          <property name="editable">
252
          <property name="editable">

+ 12
- 2
netsoul/dialogaddcontact.ui View File

14
    <string>Add Contact - Epimafia</string>
14
    <string>Add Contact - Epimafia</string>
15
   </property>
15
   </property>
16
   <property name="styleSheet">
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
   </property>
29
   </property>
20
   <property name="modal">
30
   <property name="modal">
21
    <bool>true</bool>
31
    <bool>true</bool>

+ 6
- 0
netsoul/dialogchat.cpp View File

1
 #include "dialogchat.h"
1
 #include "dialogchat.h"
2
 #include "ui_dialogchat.h"
2
 #include "ui_dialogchat.h"
3
+#include <QShortcut>
3
 
4
 
4
 DialogChat::DialogChat(QWidget *parent) : QWidget(parent), ui(new Ui::DialogChat)
5
 DialogChat::DialogChat(QWidget *parent) : QWidget(parent), ui(new Ui::DialogChat)
5
 {
6
 {
6
 	ui->setupUi(this);
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
 DialogChat::~DialogChat()
15
 DialogChat::~DialogChat()

+ 12
- 2
netsoul/dialogchat.ui View File

14
    <string>Chat</string>
14
    <string>Chat</string>
15
   </property>
15
   </property>
16
   <property name="styleSheet">
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
   </property>
29
   </property>
20
   <layout class="QVBoxLayout" name="verticalLayout">
30
   <layout class="QVBoxLayout" name="verticalLayout">
21
    <item>
31
    <item>

+ 11
- 2
netsoul/mainwindow.ui View File

22
   </property>
22
   </property>
23
   <widget class="QWidget" name="centralwidget">
23
   <widget class="QWidget" name="centralwidget">
24
    <property name="styleSheet">
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
    </property>
36
    </property>
28
    <layout class="QVBoxLayout" name="verticalLayout">
37
    <layout class="QVBoxLayout" name="verticalLayout">
29
     <item>
38
     <item>

+ 5
- 1
netsoul/usertreewidget.cpp View File

13
     header->setText(c++, "ID");
13
     header->setText(c++, "ID");
14
     setRootIsDecorated(false);
14
     setRootIsDecorated(false);
15
     setSortingEnabled(true);
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
     connect(this, SIGNAL(itemDoubleClicked(QTreeWidgetItem*,int)), this, SLOT(itemDoubleClicked(QTreeWidgetItem*,int)));
21
     connect(this, SIGNAL(itemDoubleClicked(QTreeWidgetItem*,int)), this, SLOT(itemDoubleClicked(QTreeWidgetItem*,int)));
18
     sortByColumn(0, Qt::AscendingOrder);
22
     sortByColumn(0, Qt::AscendingOrder);
19
     setSelectionMode(QAbstractItemView::ExtendedSelection);
23
     setSelectionMode(QAbstractItemView::ExtendedSelection);

+ 7
- 1
ns_finder/widget.ui View File

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

+ 8
- 2
usermgr/widget.ui View File

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

Loading…
Cancel
Save