mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-13 00:19:30 -05:00
fixed up merge
This commit is contained in:
commit
7765b87049
@ -239,6 +239,10 @@ GxsChannelPostsWidgetWithModel::GxsChannelPostsWidgetWithModel(const RsGxsGroupI
|
|||||||
|
|
||||||
ui->postDetails_TE->setPlaceholderText(tr("No post selected"));
|
ui->postDetails_TE->setPlaceholderText(tr("No post selected"));
|
||||||
|
|
||||||
|
// Set initial size of the splitter
|
||||||
|
ui->splitter->setStretchFactor(0, 1);
|
||||||
|
ui->splitter->setStretchFactor(1, 0);
|
||||||
|
|
||||||
QFontMetricsF fm(font());
|
QFontMetricsF fm(font());
|
||||||
|
|
||||||
for(int i=0;i<mChannelPostsModel->columnCount();++i)
|
for(int i=0;i<mChannelPostsModel->columnCount();++i)
|
||||||
@ -544,6 +548,8 @@ void GxsChannelPostsWidgetWithModel::processSettings(bool load)
|
|||||||
/* View mode */
|
/* View mode */
|
||||||
//setViewMode(Settings->value("viewMode", VIEW_MODE_FEEDS).toInt());
|
//setViewMode(Settings->value("viewMode", VIEW_MODE_FEEDS).toInt());
|
||||||
#endif
|
#endif
|
||||||
|
// state of splitter
|
||||||
|
ui->splitter->restoreState(Settings->value("SplitterChannelPosts").toByteArray());
|
||||||
} else {
|
} else {
|
||||||
#ifdef TO_REMOVE
|
#ifdef TO_REMOVE
|
||||||
// save settings
|
// save settings
|
||||||
@ -554,6 +560,8 @@ void GxsChannelPostsWidgetWithModel::processSettings(bool load)
|
|||||||
/* View mode */
|
/* View mode */
|
||||||
//Settings->setValue("viewMode", viewMode());
|
//Settings->setValue("viewMode", viewMode());
|
||||||
#endif
|
#endif
|
||||||
|
// state of splitter
|
||||||
|
Settings->setValue("SplitterChannelPosts", ui->splitter->saveState());
|
||||||
}
|
}
|
||||||
|
|
||||||
Settings->endGroup();
|
Settings->endGroup();
|
||||||
|
@ -169,7 +169,7 @@
|
|||||||
</attribute>
|
</attribute>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="channelName_LB">
|
<widget class="StyledElidedLabel" name="channelName_LB">
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<weight>75</weight>
|
<weight>75</weight>
|
||||||
@ -337,7 +337,7 @@
|
|||||||
<string notr="true"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
<string notr="true"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||||
p, li { white-space: pre-wrap; }
|
p, li { white-space: pre-wrap; }
|
||||||
</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;">
|
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:8pt;">Description</span></p></body></html></string>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:8pt;">Description</span></p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="textInteractionFlags">
|
<property name="textInteractionFlags">
|
||||||
@ -550,6 +550,11 @@ p, li { white-space: pre-wrap; }
|
|||||||
<extends>QToolButton</extends>
|
<extends>QToolButton</extends>
|
||||||
<header>gui/common/SubscribeToolButton.h</header>
|
<header>gui/common/SubscribeToolButton.h</header>
|
||||||
</customwidget>
|
</customwidget>
|
||||||
|
<customwidget>
|
||||||
|
<class>StyledElidedLabel</class>
|
||||||
|
<extends>QLabel</extends>
|
||||||
|
<header>gui/common/StyledElidedLabel.h</header>
|
||||||
|
</customwidget>
|
||||||
<customwidget>
|
<customwidget>
|
||||||
<class>RSTreeView</class>
|
<class>RSTreeView</class>
|
||||||
<extends>QTreeView</extends>
|
<extends>QTreeView</extends>
|
||||||
|
@ -745,12 +745,7 @@ GxsForumMsgItem QFrame#frame{
|
|||||||
background-color: white;
|
background-color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
GxsChannelPostsWidget QFrame#infoFrame
|
GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton {
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
GxsChannelPostsWidget QToolButton#subscribeToolButton {
|
|
||||||
font: bold;
|
font: bold;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: white;
|
color: white;
|
||||||
@ -759,18 +754,18 @@ GxsChannelPostsWidget QToolButton#subscribeToolButton {
|
|||||||
max-height: 27px;
|
max-height: 27px;
|
||||||
}
|
}
|
||||||
|
|
||||||
GxsChannelPostsWidget QToolButton#subscribeToolButton:hover {
|
GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton:hover {
|
||||||
background: #03b1f3;
|
background: #03b1f3;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
GxsChannelPostsWidget QToolButton#subscribeToolButton:pressed {
|
GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton:pressed {
|
||||||
background: #03b1f3;
|
background: #03b1f3;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border: 1px solid gray;
|
border: 1px solid gray;
|
||||||
}
|
}
|
||||||
|
|
||||||
GxsChannelPostsWidget QToolButton#subscribeToolButton:disabled {
|
GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton:disabled {
|
||||||
background: gray;
|
background: gray;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border: 1px solid gray;
|
border: 1px solid gray;
|
||||||
@ -778,15 +773,15 @@ GxsChannelPostsWidget QToolButton#subscribeToolButton:disabled {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* only for MenuButtonPopup */
|
/* only for MenuButtonPopup */
|
||||||
GxsChannelPostsWidget QToolButton#subscribeToolButton[popupMode="1"] {
|
GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton[popupMode="1"] {
|
||||||
padding-right: 0px;
|
padding-right: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
GxsChannelPostsWidget QToolButton#subscribeToolButton::menu-arrow {
|
GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton::menu-arrow {
|
||||||
image: none;
|
image: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
GxsChannelPostsWidget QToolButton#subscribeToolButton::menu-button {
|
GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton::menu-button {
|
||||||
image: none;
|
image: none;
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -799,6 +794,14 @@ GxsChannelFilesStatusWidget QToolButton#openFolderToolButton[popupMode="0"] {
|
|||||||
padding-right: 0px;
|
padding-right: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GxsChannelFilesStatusWidget QToolButton#openFolderToolButton::menu-indicator {
|
||||||
|
image: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
GxsChannelFilesStatusWidget QToolButton#openFolderToolButton[popupMode="0"] {
|
||||||
|
padding-right: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
GxsGroupDialog QLabel#groupLogo{
|
GxsGroupDialog QLabel#groupLogo{
|
||||||
border: 2px solid #CCCCCC;
|
border: 2px solid #CCCCCC;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
|
@ -84,7 +84,7 @@ ConfCertDialog QLabel#servicePermissionsLabel
|
|||||||
qproperty-fontSizeFactor: 125;
|
qproperty-fontSizeFactor: 125;
|
||||||
}
|
}
|
||||||
|
|
||||||
GxsChannelPostsWidget QLabel#nameLabel
|
GxsChannelPostsWidgetWithModel QLabel#channelName_LB
|
||||||
{
|
{
|
||||||
qproperty-fontSizeFactor: 250;
|
qproperty-fontSizeFactor: 250;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user