Re: [Kmymoney-devel] String pixel widths differ

2014-09-23 Thread Christian Dávid
Am Montag, 22. September 2014, 13:46:42 schrieb Cristian Oneț: > This [1] is just an example there are other places like this. > "font-family:'Sans Serif' font-size:9pt"? Please note: defining the font size this way will create microtext on high dpi screens any they will be common in near future.

Re: [Kmymoney-devel] String pixel widths differ

2014-09-23 Thread Alvaro Soliverez
FWIW, I stopped using Qt Designer because it kept adding font settings and other stuff whenever I edited a .ui file. In the end, I ended up editing files with a plain text editor, so I know what is actually being changed. IMHO, we shouldn't set fonts other than the ones defined by the KDE theme. S

Re: [Kmymoney-devel] String pixel widths differ

2014-09-23 Thread Cristian Oneț
2014-09-23 16:54 GMT+03:00 Allan : > On 23/09/14 14:00, Cristian Oneț wrote: >> >> 2014-09-23 15:52 GMT+03:00 Allan : >>> >>> On 23/09/14 01:26, Jack wrote: On 2014.09.22 18:12, Allan wrote: > > > On 22/09/14 22:25, Jack wrote: >> >> >> On 2014.09.22 15:17, Al

Re: [Kmymoney-devel] String pixel widths differ

2014-09-23 Thread Allan
On 23/09/14 14:00, Cristian Oneț wrote: 2014-09-23 15:52 GMT+03:00 Allan : On 23/09/14 01:26, Jack wrote: On 2014.09.22 18:12, Allan wrote: On 22/09/14 22:25, Jack wrote: On 2014.09.22 15:17, Allan wrote: On 22/09/14 19:04, Jack wrote: On 2014.09.22 13:08, Allan wrote: [snip] I d

Re: [Kmymoney-devel] String pixel widths differ

2014-09-23 Thread Cristian Oneț
2014-09-23 15:52 GMT+03:00 Allan : > On 23/09/14 01:26, Jack wrote: >> >> On 2014.09.22 18:12, Allan wrote: >>> >>> On 22/09/14 22:25, Jack wrote: On 2014.09.22 15:17, Allan wrote: > > On 22/09/14 19:04, Jack wrote: >> >> On 2014.09.22 13:08, Allan wrote: >> [snip]

Re: [Kmymoney-devel] String pixel widths differ

2014-09-23 Thread Cristian Oneț
2014-09-23 15:52 GMT+03:00 Allan : > On 23/09/14 01:26, Jack wrote: >> >> On 2014.09.22 18:12, Allan wrote: >>> >>> On 22/09/14 22:25, Jack wrote: On 2014.09.22 15:17, Allan wrote: > > On 22/09/14 19:04, Jack wrote: >> >> On 2014.09.22 13:08, Allan wrote: >> [snip]

Re: [Kmymoney-devel] String pixel widths differ

2014-09-23 Thread Allan
On 23/09/14 01:26, Jack wrote: On 2014.09.22 18:12, Allan wrote: On 22/09/14 22:25, Jack wrote: On 2014.09.22 15:17, Allan wrote: On 22/09/14 19:04, Jack wrote: On 2014.09.22 13:08, Allan wrote: [snip] I don't think it really matters what font the system is using, as long as that font is

Re: [Kmymoney-devel] String pixel widths differ

2014-09-22 Thread Jack
On 2014.09.22 18:12, Allan wrote: On 22/09/14 22:25, Jack wrote: On 2014.09.22 15:17, Allan wrote: On 22/09/14 19:04, Jack wrote: On 2014.09.22 13:08, Allan wrote: [snip] I don't think it really matters what font the system is using, as long as that font is available. I'm using DejaVu Sa

Re: [Kmymoney-devel] String pixel widths differ

2014-09-22 Thread Allan
On 22/09/14 22:25, Jack wrote: On 2014.09.22 15:17, Allan wrote: On 22/09/14 19:04, Jack wrote: On 2014.09.22 13:08, Allan wrote: [snip] I don't think it really matters what font the system is using, as long as that font is available. I'm using DejaVu Sans at the moment, but I understand

Re: [Kmymoney-devel] String pixel widths differ

2014-09-22 Thread Jack
On 2014.09.22 15:17, Allan wrote: On 22/09/14 19:04, Jack wrote: On 2014.09.22 13:08, Allan wrote: [snip] I don't think it really matters what font the system is using, as long as that font is available. I'm using DejaVu Sans at the moment, but I understand that if that is not available

Re: [Kmymoney-devel] String pixel widths differ

2014-09-22 Thread Allan
On 22/09/14 19:04, Jack wrote: On 2014.09.22 13:08, Allan wrote: [snip] I don't think it really matters what font the system is using, as long as that font is available. I'm using DejaVu Sans at the moment, but I understand that if that is not available, the system will substitute a similar

Re: [Kmymoney-devel] String pixel widths differ

2014-09-22 Thread Jack
On 2014.09.22 13:08, Allan wrote: [snip] I don't think it really matters what font the system is using, as long as that font is available. I'm using DejaVu Sans at the moment, but I understand that if that is not available, the system will substitute a similar one. I'm not sure you un

Re: [Kmymoney-devel] String pixel widths differ

2014-09-22 Thread Allan
Replying to Cristian and Jack (saving paper) On 2014.09.22 06:13, Allan wrote: When testing the CSV plugin on Linux Mint and Ubuntu, I'm having difficulty because the string pixel widths differ, I assume because the fonts differ. I'm trying now to access KMyMoneyGlobalSettings::listCellFont(),

Re: [Kmymoney-devel] String pixel widths differ

2014-09-22 Thread Cristian Oneț
2014-09-22 16:39 GMT+03:00 Allan : > On 22/09/14 14:13, Jack wrote: >> >> On 2014.09.22 06:13, Allan wrote: >>> >>> When testing the CSV plugin on Linux Mint and Ubuntu, I'm having >>> difficulty because the string pixel widths differ, I assume because >>> the fonts differ. >>> >>> I'm trying now t

Re: [Kmymoney-devel] String pixel widths differ

2014-09-22 Thread Jack
On 2014.09.22 09:39, Allan wrote: On 22/09/14 14:13, Jack wrote: On 2014.09.22 06:13, Allan wrote: When testing the CSV plugin on Linux Mint and Ubuntu, I'm having difficulty because the string pixel widths differ, I assume because the fonts differ. I'm trying now to access KMyMoneyGlobalSetti

Re: [Kmymoney-devel] String pixel widths differ

2014-09-22 Thread Allan
On 22/09/14 14:13, Jack wrote: On 2014.09.22 06:13, Allan wrote: When testing the CSV plugin on Linux Mint and Ubuntu, I'm having difficulty because the string pixel widths differ, I assume because the fonts differ. I'm trying now to access KMyMoneyGlobalSettings::listCellFont(), but I'm gettin

Re: [Kmymoney-devel] String pixel widths differ

2014-09-22 Thread Jack
On 2014.09.22 06:13, Allan wrote: When testing the CSV plugin on Linux Mint and Ubuntu, I'm having difficulty because the string pixel widths differ, I assume because the fonts differ. I'm trying now to access KMyMoneyGlobalSettings::listCellFont(), but I'm getting undefined reference when

Re: [Kmymoney-devel] String pixel widths differ

2014-09-22 Thread Allan
On 22/09/14 11:46, Cristian Oneț wrote: 2014-09-22 13:30 GMT+03:00 Allan : On 22/09/14 11:24, Cristian Oneț wrote: You can't. It's part of KMyMoney internals and should not be used by a plugin. On the other hand why do you even hardcode fonts in the layout? I think that it's as bad as hardcodi

Re: [Kmymoney-devel] String pixel widths differ

2014-09-22 Thread Cristian Oneț
2014-09-22 13:30 GMT+03:00 Allan : > On 22/09/14 11:24, Cristian Oneț wrote: >> >> You can't. It's part of KMyMoney internals and should not be used by a >> plugin. On the other hand why do you even hardcode fonts in the >> layout? I think that it's as bad as hardcoding sizes. >> >> Regards, >> Cri

Re: [Kmymoney-devel] String pixel widths differ

2014-09-22 Thread Allan
On 22/09/14 11:24, Cristian Oneț wrote: You can't. It's part of KMyMoney internals and should not be used by a plugin. On the other hand why do you even hardcode fonts in the layout? I think that it's as bad as hardcoding sizes. Regards, Cristian I was hoping to get the font from the config so

Re: [Kmymoney-devel] String pixel widths differ

2014-09-22 Thread Cristian Oneț
You can't. It's part of KMyMoney internals and should not be used by a plugin. On the other hand why do you even hardcode fonts in the layout? I think that it's as bad as hardcoding sizes. Regards, Cristian 2014-09-22 13:13 GMT+03:00 Allan : > When testing the CSV plugin on Linux Mint and Ubuntu,

[Kmymoney-devel] String pixel widths differ

2014-09-22 Thread Allan
When testing the CSV plugin on Linux Mint and Ubuntu, I'm having difficulty because the string pixel widths differ, I assume because the fonts differ. I'm trying now to access KMyMoneyGlobalSettings::listCellFont(), but I'm getting undefined reference when linking, and I haven't found the cor