mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-25 06:40:58 -04:00
* added noskin.qss for use RetroShare without styleesheets
* added for expandButton for the hide/show correct icons/ToolTips * added for Blogs Comboboxes some usefull icons git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@696 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
df509a3683
commit
0626a08d01
10 changed files with 83 additions and 12 deletions
|
@ -155,6 +155,7 @@ void BaseGuiPlus::closeWindow() {
|
||||||
BaseGui::closeWindow();
|
BaseGui::closeWindow();
|
||||||
}
|
}
|
||||||
//tray->hide();
|
//tray->hide();
|
||||||
|
hide();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -38,6 +38,12 @@
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label" >
|
<widget class="QLabel" name="label" >
|
||||||
|
<property name="maximumSize" >
|
||||||
|
<size>
|
||||||
|
<width>16</width>
|
||||||
|
<height>16</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
<property name="font" >
|
<property name="font" >
|
||||||
<font>
|
<font>
|
||||||
<weight>75</weight>
|
<weight>75</weight>
|
||||||
|
@ -48,7 +54,10 @@
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<property name="pixmap" >
|
<property name="pixmap" >
|
||||||
<pixmap resource="images.qrc" >:/images/message-mail.png</pixmap>
|
<pixmap resource="images.qrc" >:/images/kblogger.png</pixmap>
|
||||||
|
</property>
|
||||||
|
<property name="scaledContents" >
|
||||||
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -87,16 +96,28 @@
|
||||||
<property name="text" >
|
<property name="text" >
|
||||||
<string>Last Month</string>
|
<string>Last Month</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="icon" >
|
||||||
|
<iconset resource="images.qrc" >
|
||||||
|
<normaloff>:/images/view_calendar_month.png</normaloff>:/images/view_calendar_month.png</iconset>
|
||||||
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text" >
|
<property name="text" >
|
||||||
<string>Last Week</string>
|
<string>Last Week</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="icon" >
|
||||||
|
<iconset resource="images.qrc" >
|
||||||
|
<normaloff>:/images/view_calendar_week.png</normaloff>:/images/view_calendar_week.png</iconset>
|
||||||
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text" >
|
<property name="text" >
|
||||||
<string>Last Day</string>
|
<string>Last Day</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="icon" >
|
||||||
|
<iconset resource="images.qrc" >
|
||||||
|
<normaloff>:/images/view_calendar_day.png</normaloff>:/images/view_calendar_day.png</iconset>
|
||||||
|
</property>
|
||||||
</item>
|
</item>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -122,6 +143,10 @@
|
||||||
<property name="text" >
|
<property name="text" >
|
||||||
<string>All Users</string>
|
<string>All Users</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="icon" >
|
||||||
|
<iconset resource="images.qrc" >
|
||||||
|
<normaloff>:/images/user/identity16.png</normaloff>:/images/user/identity16.png</iconset>
|
||||||
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text" >
|
<property name="text" >
|
||||||
|
|
|
@ -129,10 +129,14 @@ void BlogMsgItem::toggle()
|
||||||
if (expandFrame->isHidden())
|
if (expandFrame->isHidden())
|
||||||
{
|
{
|
||||||
expandFrame->show();
|
expandFrame->show();
|
||||||
|
expandButton->setIcon(QIcon(QString(":/images/edit_remove24.png")));
|
||||||
|
expandButton->setToolTip("Hide");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
expandFrame->hide();
|
expandFrame->hide();
|
||||||
|
expandButton->setIcon(QIcon(QString(":/images/edit_add24.png")));
|
||||||
|
expandButton->setToolTip("Expand");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,10 +13,7 @@
|
||||||
<string>Form</string>
|
<string>Form</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" >
|
<layout class="QGridLayout" >
|
||||||
<property name="topMargin" >
|
<property name="margin" >
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<property name="bottomMargin" >
|
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<item row="0" column="0" >
|
<item row="0" column="0" >
|
||||||
|
@ -42,6 +39,9 @@
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" >
|
<layout class="QHBoxLayout" >
|
||||||
|
<property name="spacing" >
|
||||||
|
<number>6</number>
|
||||||
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="clearButton" >
|
<widget class="QPushButton" name="clearButton" >
|
||||||
<property name="sizePolicy" >
|
<property name="sizePolicy" >
|
||||||
|
@ -57,7 +57,8 @@
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon" >
|
<property name="icon" >
|
||||||
<iconset resource="images.qrc" >:/images/close_normal.png</iconset>
|
<iconset resource="../images.qrc" >
|
||||||
|
<normaloff>:/images/close_normal.png</normaloff>:/images/close_normal.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -69,7 +70,7 @@
|
||||||
<property name="sizeType" >
|
<property name="sizeType" >
|
||||||
<enum>QSizePolicy::Preferred</enum>
|
<enum>QSizePolicy::Preferred</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizeHint" >
|
<property name="sizeHint" stdset="0" >
|
||||||
<size>
|
<size>
|
||||||
<width>16</width>
|
<width>16</width>
|
||||||
<height>26</height>
|
<height>26</height>
|
||||||
|
@ -105,7 +106,7 @@
|
||||||
<property name="sizeType" >
|
<property name="sizeType" >
|
||||||
<enum>QSizePolicy::Preferred</enum>
|
<enum>QSizePolicy::Preferred</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizeHint" >
|
<property name="sizeHint" stdset="0" >
|
||||||
<size>
|
<size>
|
||||||
<width>1000</width>
|
<width>1000</width>
|
||||||
<height>20</height>
|
<height>20</height>
|
||||||
|
@ -128,7 +129,8 @@
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon" >
|
<property name="icon" >
|
||||||
<iconset resource="images.qrc" >:/images/add_24x24.png</iconset>
|
<iconset resource="../images.qrc" >
|
||||||
|
<normaloff>:/images/edit_add24.png</normaloff>:/images/edit_add24.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -164,7 +166,7 @@
|
||||||
<property name="sizeType" >
|
<property name="sizeType" >
|
||||||
<enum>QSizePolicy::Preferred</enum>
|
<enum>QSizePolicy::Preferred</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizeHint" >
|
<property name="sizeHint" stdset="0" >
|
||||||
<size>
|
<size>
|
||||||
<width>500</width>
|
<width>500</width>
|
||||||
<height>20</height>
|
<height>20</height>
|
||||||
|
@ -187,7 +189,8 @@
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon" >
|
<property name="icon" >
|
||||||
<iconset resource="images.qrc" >:/images/startall.png</iconset>
|
<iconset resource="../images.qrc" >
|
||||||
|
<normaloff>:/images/startall.png</normaloff>:/images/startall.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -226,6 +229,7 @@
|
||||||
</widget>
|
</widget>
|
||||||
<resources>
|
<resources>
|
||||||
<include location="images.qrc" />
|
<include location="images.qrc" />
|
||||||
|
<include location="../images.qrc" />
|
||||||
</resources>
|
</resources>
|
||||||
<connections/>
|
<connections/>
|
||||||
</ui>
|
</ui>
|
||||||
|
|
|
@ -271,6 +271,9 @@
|
||||||
<file>images/up.png</file>
|
<file>images/up.png</file>
|
||||||
<file>images/underconstruction.png</file>
|
<file>images/underconstruction.png</file>
|
||||||
<file>images/user.png</file>
|
<file>images/user.png</file>
|
||||||
|
<file>images/view_calendar_day.png</file>
|
||||||
|
<file>images/view_calendar_week.png</file>
|
||||||
|
<file>images/view_calendar_month.png</file>
|
||||||
<file>images/window_fullscreen.png</file>
|
<file>images/window_fullscreen.png</file>
|
||||||
<file>images/window_nofullscreen.png</file>
|
<file>images/window_nofullscreen.png</file>
|
||||||
<file>layouts/default.ui</file>
|
<file>layouts/default.ui</file>
|
||||||
|
|
BIN
retroshare-gui/src/gui/images/view_calendar_day.png
Normal file
BIN
retroshare-gui/src/gui/images/view_calendar_day.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 696 B |
BIN
retroshare-gui/src/gui/images/view_calendar_month.png
Normal file
BIN
retroshare-gui/src/gui/images/view_calendar_month.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 652 B |
BIN
retroshare-gui/src/gui/images/view_calendar_week.png
Normal file
BIN
retroshare-gui/src/gui/images/view_calendar_week.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 677 B |
|
@ -153,7 +153,8 @@ int main(int argc, char *argv[])
|
||||||
//skinWindow->show();
|
//skinWindow->show();
|
||||||
|
|
||||||
}*/
|
}*/
|
||||||
/* Run Retroshare */
|
|
||||||
|
/* Run Retroshare */
|
||||||
//int ret = rshare.run();
|
//int ret = rshare.run();
|
||||||
|
|
||||||
/* Startup a Timer to keep the gui's updated */
|
/* Startup a Timer to keep the gui's updated */
|
||||||
|
|
33
retroshare-gui/src/release/qss/noskin.qss
Normal file
33
retroshare-gui/src/release/qss/noskin.qss
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
|
||||||
|
|
||||||
|
QPushButton#okButton {
|
||||||
|
|
||||||
|
max-height: 25px
|
||||||
|
min-height: 25px;
|
||||||
|
min-width: 77px;
|
||||||
|
/*max-width: 77px;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
QPushButton#cancelprefButton {
|
||||||
|
|
||||||
|
min-height: 25px;
|
||||||
|
min-width: 77px;
|
||||||
|
max-width: 77px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QPushButton#applyButton {
|
||||||
|
|
||||||
|
min-height: 25px;
|
||||||
|
max-height: 25px;
|
||||||
|
min-width: 77px;
|
||||||
|
max-width: 77px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QPushButton#cancelButton {
|
||||||
|
|
||||||
|
min-height: 25px;
|
||||||
|
max-height: 25px;
|
||||||
|
min-width: 77px;
|
||||||
|
max-width: 77px;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue