diff --git a/retroshare-gui/src/gui/connect/ConnectDialog.cpp b/retroshare-gui/src/gui/connect/ConnectDialog.cpp index c38f21f9a..d284b01ba 100644 --- a/retroshare-gui/src/gui/connect/ConnectDialog.cpp +++ b/retroshare-gui/src/gui/connect/ConnectDialog.cpp @@ -42,7 +42,7 @@ ConnectDialog::ConnectDialog(QWidget *parent, Qt::WFlags flags) // Create the status bar statusBar()->showMessage("Peer Informations"); - setFixedSize(QSize(330, 412)); + //setFixedSize(QSize(330, 412)); connect(ui.cancelButton, SIGNAL(clicked()), this, SLOT(closeinfodlg())); connect(ui.okButton, SIGNAL(clicked()), this, SLOT(authAttempt())); diff --git a/retroshare-gui/src/gui/connect/ConnectDialog.ui b/retroshare-gui/src/gui/connect/ConnectDialog.ui index 4f1a122fa..84dc67543 100644 --- a/retroshare-gui/src/gui/connect/ConnectDialog.ui +++ b/retroshare-gui/src/gui/connect/ConnectDialog.ui @@ -5,8 +5,8 @@ 0 0 - 324 - 428 + 462 + 380 @@ -493,315 +493,238 @@ Qt::NoContextMenu - Peer Details + Make Friend - + + :/images/rstray3.png:/images/rstray3.png - - - - 10 - 330 - 301 - 25 - - - - - 0 - - - 6 - - - - - <html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt; font-weight:600;">AUTH CODE:</span></p></body></html> - - - - - - - - 0 - 0 - 0 - 0 - - - - - - - - Qt::Horizontal - - - QSizePolicy::Expanding - - - - 40 - 20 - - - - - - - - - - 10 - 360 - 301 - 33 - - - - - 0 - - - 6 - - - - - false - - - - 77 - 0 - - - - Make Friend - - - - - - - Qt::Horizontal - - - - 131 - 31 - - - - - - - - - 77 - 0 - - - - Close - - - - - - - - - 9 - 9 - 312 - 315 - - - - Peer Details - - - - - 10 - 150 - 46 - 14 - - - - <html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Arial'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Country:</span></p></body></html> - - - - - - 10 - 90 - 46 - 14 - - - - <html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Arial'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Org:</span></p></body></html> - - - - - - 10 - 60 - 46 - 14 - - - - <html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Arial'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Name:</span></p></body></html> - - - - - - 10 - 30 - 46 - 14 - - - - <html><head><meta name="qrichtext" content="1" /><style type="text/css"> + + + 0 + 0 + 462 + 359 + + + + + + + Peer Details + + + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Arial'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Trust:</span></p></body></html> - - - - - - 10 - 120 - 46 - 14 - - - - <html><head><meta name="qrichtext" content="1" /><style type="text/css"> + + + + + + + true + + + + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Name:</span></p></body></html> + + + + + + + true + + + + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Org:</span></p></body></html> + + + + + + + true + + + + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Arial'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Loc:</span></p></body></html> - - - - - - 10 - 180 - 57 - 31 - - - - <html><head><meta name="qrichtext" content="1" /><style type="text/css"> + + + + + + + true + + + + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Country:</span></p></body></html> + + + + + + + true + + + + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Arial'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Certificate</span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;">signers:</p></body></html> - - - - - - 70 - 150 - 221 - 21 - - - - true - - - - - - 70 - 120 - 221 - 21 - - - - true - - - - - - 70 - 90 - 221 - 21 - - - - true - - - - - - 70 - 60 - 221 - 21 - - - - true - - - - - - 70 - 30 - 221 - 21 - - - - true - - - - - - 70 - 180 - 221 - 131 - - - - + + + + + + + + + + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt; font-weight:600;">AUTH CODE:</span></p></body></html> + + + + + + + + 0 + 0 + + + + + + + + Qt::Horizontal + + + QSizePolicy::Expanding + + + + 235 + 18 + + + + + + + + 6 + + + 0 + + + + + Qt::Horizontal + + + + 131 + 31 + + + + + + + + + 77 + 0 + + + + Cancel + + + + :/images/cancel.png:/images/cancel.png + + + + + + + false + + + + 77 + 0 + + + + Make Friend + + + + :/images/user/add_user16.png:/images/user/add_user16.png + + + + + + + + + + + 0 + 359 + 462 + 21 + + - trust @@ -811,8 +734,6 @@ p, li { white-space: pre-wrap; } country signers Ledit_name - okButton - cancelButton diff --git a/retroshare-gui/src/gui/images.qrc b/retroshare-gui/src/gui/images.qrc index a07e50b8d..fb4f00ff4 100644 --- a/retroshare-gui/src/gui/images.qrc +++ b/retroshare-gui/src/gui/images.qrc @@ -52,6 +52,7 @@ images/chat/hide_avatar_frame.png images/chat/show_avatar_frame.png images/chats_24x24.png + images/cancel.png images/close-down.png images/close_normal.png images/console-small-down.png @@ -243,6 +244,7 @@ images/user/identitylightgrey24.png images/user/agt_forum24.png images/user/identity32.png + images/user/add_user16.pngg images/up.png images/underconstruction.png images/user.png diff --git a/retroshare-gui/src/gui/images/cancel.png b/retroshare-gui/src/gui/images/cancel.png new file mode 100644 index 000000000..e2db55f22 Binary files /dev/null and b/retroshare-gui/src/gui/images/cancel.png differ diff --git a/retroshare-gui/src/gui/qss/default.qss b/retroshare-gui/src/gui/qss/default.qss index e866506a6..4ec2942a4 100644 --- a/retroshare-gui/src/gui/qss/default.qss +++ b/retroshare-gui/src/gui/qss/default.qss @@ -17,14 +17,15 @@ QMenuBar { QPushButton#okButton { - min-height: 27px; + max-height: 25px + min-height: 25px; min-width: 77px; - max-width: 77px; + /*max-width: 77px;*/ } QPushButton#cancelprefButton { - min-height: 27px; + min-height: 25px; min-width: 77px; max-width: 77px; } diff --git a/retroshare-gui/src/release/qss/default.qss b/retroshare-gui/src/release/qss/default.qss index e866506a6..4ec2942a4 100644 --- a/retroshare-gui/src/release/qss/default.qss +++ b/retroshare-gui/src/release/qss/default.qss @@ -17,14 +17,15 @@ QMenuBar { QPushButton#okButton { - min-height: 27px; + max-height: 25px + min-height: 25px; min-width: 77px; - max-width: 77px; + /*max-width: 77px;*/ } QPushButton#cancelprefButton { - min-height: 27px; + min-height: 25px; min-width: 77px; max-width: 77px; }