mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-07 22:22:45 -04:00
Wiki Editor and stylesheets fixes
This commit is contained in:
parent
e46d6783bc
commit
f7e409519d
8 changed files with 40 additions and 12 deletions
|
@ -88,6 +88,7 @@ WikiEditDialog::WikiEditDialog(QWidget *parent)
|
||||||
ui.toolButton_Show->setIcon(FilesDefs::getIconFromQtResourcePath(QString(":/icons/png/down-arrow.png")));
|
ui.toolButton_Show->setIcon(FilesDefs::getIconFromQtResourcePath(QString(":/icons/png/down-arrow.png")));
|
||||||
ui.toolButton_Hide->setIcon(FilesDefs::getIconFromQtResourcePath(QString(":/icons/png/up-arrow.png")));
|
ui.toolButton_Hide->setIcon(FilesDefs::getIconFromQtResourcePath(QString(":/icons/png/up-arrow.png")));
|
||||||
ui.pushButton_Preview->setIcon(FilesDefs::getIconFromQtResourcePath(QString(":/icons/png/search.png")));
|
ui.pushButton_Preview->setIcon(FilesDefs::getIconFromQtResourcePath(QString(":/icons/png/search.png")));
|
||||||
|
ui.pushButton_History->setIcon(FilesDefs::getIconFromQtResourcePath(QString(":/icons/png/history-clock-white.png")));
|
||||||
|
|
||||||
ui.checkBox_OldHistory->setChecked(false);
|
ui.checkBox_OldHistory->setChecked(false);
|
||||||
mOldHistoryEnabled = false;
|
mOldHistoryEnabled = false;
|
||||||
|
@ -294,12 +295,12 @@ void WikiEditDialog::historyToggle()
|
||||||
if (ui.groupBox_History->isHidden())
|
if (ui.groupBox_History->isHidden())
|
||||||
{
|
{
|
||||||
ui.groupBox_History->show();
|
ui.groupBox_History->show();
|
||||||
ui.pushButton_History->setText(tr("Hide Edit History"));
|
ui.pushButton_History->setToolTip(tr("Hide Edit History"));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ui.groupBox_History->hide();
|
ui.groupBox_History->hide();
|
||||||
ui.pushButton_History->setText(tr("Show Edit History"));
|
ui.pushButton_History->setToolTip(tr("Show Edit History"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -418,7 +419,7 @@ void WikiEditDialog::setNewPage()
|
||||||
redrawPage();
|
redrawPage();
|
||||||
ui.treeWidget_History->clear();
|
ui.treeWidget_History->clear();
|
||||||
ui.groupBox_History->hide();
|
ui.groupBox_History->hide();
|
||||||
ui.pushButton_History->setText(tr("Show Edit History"));
|
ui.pushButton_History->setToolTip(tr("Show Edit History"));
|
||||||
|
|
||||||
ui.headerFrame->setHeaderImage(FilesDefs::getPixmapFromQtResourcePath(":/images/addpage.png"));
|
ui.headerFrame->setHeaderImage(FilesDefs::getPixmapFromQtResourcePath(":/images/addpage.png"));
|
||||||
ui.headerFrame->setHeaderText(tr("Create New Wiki Page"));
|
ui.headerFrame->setHeaderText(tr("Create New Wiki Page"));
|
||||||
|
|
|
@ -14,10 +14,19 @@
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="gridLayout_3">
|
<layout class="QGridLayout" name="gridLayout_3">
|
||||||
<property name="verticalSpacing">
|
<property name="leftMargin">
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="margin">
|
<property name="topMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="rightMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="bottomMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="verticalSpacing">
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
|
@ -246,7 +255,7 @@
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="pushButton_History">
|
<widget class="QPushButton" name="pushButton_History">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Show Edit History</string>
|
<string>History</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|
|
@ -93,6 +93,7 @@
|
||||||
<file>icons/png/forums.png</file>
|
<file>icons/png/forums.png</file>
|
||||||
<file>icons/png/fullscreen_arrows.png</file>
|
<file>icons/png/fullscreen_arrows.png</file>
|
||||||
<file>icons/png/highlight.png</file>
|
<file>icons/png/highlight.png</file>
|
||||||
|
<file>icons/png/history-clock-white.png</file>
|
||||||
<file>icons/png/help.png</file>
|
<file>icons/png/help.png</file>
|
||||||
<file>icons/png/home.png</file>
|
<file>icons/png/home.png</file>
|
||||||
<file>icons/png/info.png</file>
|
<file>icons/png/info.png</file>
|
||||||
|
|
BIN
retroshare-gui/src/gui/icons/png/history-clock-blue.png
Normal file
BIN
retroshare-gui/src/gui/icons/png/history-clock-blue.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3 KiB |
BIN
retroshare-gui/src/gui/icons/png/history-clock-white.png
Normal file
BIN
retroshare-gui/src/gui/icons/png/history-clock-white.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.6 KiB |
|
@ -1224,3 +1224,20 @@ NewFriendList QTreeView::branch:open:has-children:has-siblings {
|
||||||
border-image: none;
|
border-image: none;
|
||||||
image: url(:/images/arrow-down.png);
|
image: url(:/images/arrow-down.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
WikiEditDialog QPushButton#pushButton_History {
|
||||||
|
font: bold;
|
||||||
|
font-size: 15px;
|
||||||
|
color: white;
|
||||||
|
background: #5bb62b;
|
||||||
|
border-radius: 4px;
|
||||||
|
max-height: 20px;
|
||||||
|
min-width: 4em;
|
||||||
|
padding: 2px;
|
||||||
|
padding-left: 6px;
|
||||||
|
padding-right: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
WikiEditDialog QPushButton#pushButton_History:hover {
|
||||||
|
background: #57af29;
|
||||||
|
}
|
||||||
|
|
|
@ -2243,7 +2243,7 @@ BoardPostDisplayWidget_card QFrame#mainFrame[new=true] {
|
||||||
|
|
||||||
BoardPostDisplayWidget_compact QLabel#titleLabel,
|
BoardPostDisplayWidget_compact QLabel#titleLabel,
|
||||||
BoardPostDisplayWidget_card QLabel#titleLabel{
|
BoardPostDisplayWidget_card QLabel#titleLabel{
|
||||||
font-size: 14pt;
|
font-size: 12pt;
|
||||||
font: bold;
|
font: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1173,7 +1173,7 @@ PostedListWidgetWithModel QToolButton#subscribeToolButton:hover {
|
||||||
|
|
||||||
GxsForumThreadWidget QToolButton#subscribeToolButton {
|
GxsForumThreadWidget QToolButton#subscribeToolButton {
|
||||||
font: bold;
|
font: bold;
|
||||||
font-size: 14pt;
|
font-size: 12pt;
|
||||||
color: white;
|
color: white;
|
||||||
background: #0099cc;
|
background: #0099cc;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
@ -1473,7 +1473,7 @@ BoardPostDisplayWidget_card QLabel#newLabel {
|
||||||
|
|
||||||
BoardPostDisplayWidget_compact QLabel#titleLabel,
|
BoardPostDisplayWidget_compact QLabel#titleLabel,
|
||||||
BoardPostDisplayWidget_card QLabel#titleLabel{
|
BoardPostDisplayWidget_card QLabel#titleLabel{
|
||||||
font-size: 14pt;
|
font-size: 12pt;
|
||||||
font: bold;
|
font: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue