fix/change buttons summoning file/folder chooser dialog
- changes the generic QPushButtons used to open a file/folder chooser dialog
for a new kind called RingButton.
- icons are always at the right most position of the button.
- removes some cssblob in stylesheet.
Change-Id: Ie1c3832f6496e0e7de4bb7d120e7081483ec8785
Tuleap: #482
diff --git a/configurationwidget.ui b/configurationwidget.ui
index 7c460da..7f31484 100644
--- a/configurationwidget.ui
+++ b/configurationwidget.ui
@@ -200,7 +200,7 @@
<bool>true</bool>
</property>
<property name="currentIndex">
- <number>1</number>
+ <number>0</number>
</property>
<widget class="QWidget" name="generalPage">
<layout class="QHBoxLayout" name="verticalLayout_2">
@@ -463,29 +463,16 @@
</widget>
</item>
<item>
- <widget class="QPushButton" name="recordPath">
+ <widget class="RingButton" name="recordPath">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
- <property name="layoutDirection">
- <enum>Qt::RightToLeft</enum>
- </property>
<property name="text">
<string/>
</property>
- <property name="icon">
- <iconset resource="ressources.qrc">
- <normaloff>:/images/icons/ic_folder_black_18dp_2x.png</normaloff>:/images/icons/ic_folder_black_18dp_2x.png</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>18</width>
- <height>18</height>
- </size>
- </property>
</widget>
</item>
<item>
@@ -1108,6 +1095,11 @@
<header>videowidget.h</header>
<container>1</container>
</customwidget>
+ <customwidget>
+ <class>RingButton</class>
+ <extends>QPushButton</extends>
+ <header>ringbutton.h</header>
+ </customwidget>
</customwidgets>
<resources>
<include location="ressources.qrc"/>