On 27/11/11 11:36, Yuri Chornoivan wrote:
написане Sun, 27 Nov 2011 13:20:34 +0200, Cristian Oneț
<onet.crist...@gmail.com>:
On Sunday 27 November 2011 12:28:42 Yuri Chornoivan wrote:
> Could you tell us the style that you use? I've tried with "oxygen",
> "phase"
> and "qtcurve" and they all displayed the combobox as expected.
IaOra-KDE (standard Mageia/old Mandriva style)
I don't have that style installed and can't find a way to install it
so could
you test if the attached patch fixes the problem?
Sorry, but no. Thanks for your efforts anyway (I'd better change the
style than KMyMoney ;) ).
_______________________________________________
Perhaps it's too late for you, but if you wish, you could try this patch
to see if helps with your problem. It might benefit others too.
Thanks.
Allan
>From b65788fca07e99615dfcf9ab6bc0b6115ea4ed9a Mon Sep 17 00:00:00 2001
From: Allan Anderson <agande...@gmail.com>
Date: Sun, 27 Nov 2011 18:00:16 +0000
Subject: [PATCH] Modify introwizardpage.ui to avoid clipping lower edge.
Modify csvdialog.ui to allow lower frame to stretch more vertically.
---
kmymoney/plugins/csvimport/csvdialog.ui | 2 +-
kmymoney/plugins/csvimport/introwizardpage.ui | 186 ++++++++++++++----------
2 files changed, 109 insertions(+), 79 deletions(-)
diff --git a/kmymoney/plugins/csvimport/csvdialog.ui b/kmymoney/plugins/csvimport/csvdialog.ui
index e5cbce5..282c7a9 100644
--- a/kmymoney/plugins/csvimport/csvdialog.ui
+++ b/kmymoney/plugins/csvimport/csvdialog.ui
@@ -19,7 +19,7 @@
<property name="windowTitle">
<string>CSV Import Wizard</string>
</property>
- <layout class="QGridLayout" name="gridLayout" rowstretch="80,30">
+ <layout class="QGridLayout" name="gridLayout" rowstretch="70,40">
<item row="0" column="0">
<widget class="QFrame" name="frame_main">
<property name="frameShape">
diff --git a/kmymoney/plugins/csvimport/introwizardpage.ui b/kmymoney/plugins/csvimport/introwizardpage.ui
index b3e1d99..2dee1ce 100644
--- a/kmymoney/plugins/csvimport/introwizardpage.ui
+++ b/kmymoney/plugins/csvimport/introwizardpage.ui
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>696</width>
- <height>163</height>
+ <width>772</width>
+ <height>220</height>
</rect>
</property>
<property name="sizePolicy">
@@ -19,80 +19,23 @@
<property name="minimumSize">
<size>
<width>0</width>
- <height>150</height>
+ <height>220</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
- <height>240</height>
+ <height>280</height>
</size>
</property>
<property name="windowTitle">
<string>Intro Wizard Page</string>
</property>
<layout class="QGridLayout" name="gridLayout">
- <item row="0" column="0" rowspan="3">
- <spacer name="horizontalSpacer">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="0" column="1" colspan="2">
- <widget class="QLabel" name="label">
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>76</height>
- </size>
- </property>
- <property name="text">
- <string><!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">
-p, li { white-space: pre-wrap; }
-</style></head><body style=" font-family:'Sans'; font-size:9pt; font-weight:400; font-style:normal;">
-<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif'; font-weight:600;">Please select either Banking or Investment,</span></p>
-<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif'; font-weight:600;">then open the file you wish to import.</span></p>
-<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif'; font-weight:600;">Or, if you are importing from a brokerage,</span></p>
-<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif'; font-weight:600;">select the appropriate entry.</span></p>
-<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif'; font-weight:600;">New broker entries may be added.</span></p></body></html></string>
- </property>
- <property name="alignment">
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
- </property>
- </widget>
- </item>
- <item row="0" column="3" rowspan="3">
- <spacer name="horizontalSpacer_right">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="1" column="1" rowspan="2" colspan="2">
- <widget class="Line" name="line_hor">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- <item row="2" column="2">
- <layout class="QHBoxLayout" name="horizontalLayout" stretch="30,150,30">
+ <item row="0" column="0">
+ <layout class="QHBoxLayout" name="horizontalLayout" stretch="10,20,10">
<item>
- <spacer name="horizontalSpacer_2">
+ <spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@@ -105,27 +48,114 @@ p, li { white-space: pre-wrap; }
</spacer>
</item>
<item>
- <widget class="KComboBox" name="combobox_source">
- <property name="toolTip">
- <string>To add a new broker, enter its name then click Return.</string>
- </property>
- <property name="editable">
- <bool>true</bool>
+ <layout class="QVBoxLayout" name="verticalLayout" stretch="25,3,40,10">
+ <property name="topMargin">
+ <number>0</number>
</property>
<item>
- <property name="text">
- <string>Banking</string>
- </property>
+ <widget class="QLabel" name="label">
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>76</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>80</height>
+ </size>
+ </property>
+ <property name="text">
+ <string><!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">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Sans'; font-size:9pt; font-weight:400; font-style:normal;">
+<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif'; font-weight:600;">Please select either Banking or Investment,</span></p>
+<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif'; font-weight:600;">then open the file you wish to import.</span></p>
+<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif'; font-weight:600;">Or, if you are importing from a brokerage,</span></p>
+<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif'; font-weight:600;">select the appropriate entry.</span></p>
+<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif'; font-weight:600;">New broker entries may be added.</span></p></body></html></string>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="Line" name="line_hor">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="5,150,5">
+ <item>
+ <spacer name="horizontalSpacer_2">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>13</width>
+ <height>22</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="KComboBox" name="combobox_source">
+ <property name="toolTip">
+ <string>To add a new broker, enter its name then click Return.</string>
+ </property>
+ <property name="editable">
+ <bool>true</bool>
+ </property>
+ <item>
+ <property name="text">
+ <string>Banking</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Investment</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer_mid">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>13</width>
+ <height>22</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
</item>
<item>
- <property name="text">
- <string>Investment</string>
- </property>
+ <spacer name="verticalSpacer">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
</item>
- </widget>
+ </layout>
</item>
<item>
- <spacer name="horizontalSpacer_mid">
+ <spacer name="horizontalSpacer_right">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
--
1.7.4.1
_______________________________________________
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel