Hi
i have fix the issue, can you test it.
1 2019-11-16 07:36:27
Re: feature set xref slave position (29 replies, posted in Code)
3 2019-09-17 19:57:11
Re: feature set xref slave position (29 replies, posted in Code)
I am now unbroken for debugging on Linux. That makes a lot of things easy.
But there is still a bug. If you put on text alignment and then change the alignment from top to button something happens when you move the master.
4 2019-08-31 09:02:06
Re: feature set xref slave position (29 replies, posted in Code)
Hello
I have to see how I can trigger an update when changing. I will fix it.
5 2019-08-29 20:33:19
Re: feature set xref slave position (29 replies, posted in Code)
Hi Joshua
i have fixe the point 2.
I am still new to Git. I tried to make a pull request
6 2019-08-19 13:25:10
Re: feature set xref slave position (29 replies, posted in Code)
Hello Scorpio810
Currently I am still trying to edit point 2 by Joshua. I'm not quite getting there yet.
7 2019-08-04 16:37:17
Re: feature set xref slave position (29 replies, posted in Code)
Thanks for testing
1. ok i use it
2. I have tried it but I have to look at me again in peace
3. i have fix it
8 2019-07-30 18:16:59
Re: feature set xref slave position (29 replies, posted in Code)
I have a version ready. I hope that fits.
9 2019-07-22 20:55:40
Re: feature set xref slave position (29 replies, posted in Code)
thanks Joshua
I had tried it on the weekend ever before with the insertion. But the program crashed. Today noticed that I have inserted it in the wrong place. Will finish it this week
10 2019-07-22 11:43:13
Re: feature set xref slave position (29 replies, posted in Code)
my problem is, the m_slave_Xref_item->SetPos will put in two function.
1. void DynamicElementTextItem::updateXref()
2. void DynamicElementTextItem::setPlainText(const QString &text)
in 1 i have
XRefProperties xrp = diagram()->project()->defaultXRefProperties(m_parent_element.data()->kindInformations()["type"].toString());
the Xrp variable has the info about the XrefPos
but in 2 there is not xrp
11 2019-07-22 09:58:41
Re: feature set xref slave position (29 replies, posted in Code)
it is from 0.70rc2 tag
12 2019-07-20 14:10:00
Re: feature set xref slave position (29 replies, posted in Code)
now the code, it is not ready
13 2019-07-20 13:41:04
Topic: feature set xref slave position (29 replies, posted in Code)
I have
i have now the problem that in dynamicelementtextitem.cpp
void DynamicElementTextItem::setPlainText(const QString &text)
{
if (toPlainText() == text)
return;
...
else if (m_slave_Xref_item)
{
QRectF r = boundingRect();
QPointF pos(r.center().x() - m_slave_Xref_item->boundingRect().width()/2,
r.bottom());
m_slave_Xref_item->setPos(pos);
}
I can not reference xrefProperties xrp = diagra...referencing
14 2019-07-19 21:12:39
Re: Abstand Zwischen Betriebskennzeichnung und Querverlinkung (17 replies, posted in DE : Hilfe, Vorschläge, Unterhaltungen...)
i have now the problem that in dynamicelementtextitem.cpp
void DynamicElementTextItem::setPlainText(const QString &text)
{
if (toPlainText() == text)
return;
...
else if (m_slave_Xref_item)
{
QRectF r = boundingRect();
QPointF pos(r.center().x() - m_slave_Xref_item->boundingRect().width()/2,
r.bottom());
m_slave_Xref_item->setPos(pos);
}
I can not reference xrefProperties xrp = diagra...referencing
15 2019-07-19 19:56:01
Re: Abstand Zwischen Betriebskennzeichnung und Querverlinkung (17 replies, posted in DE : Hilfe, Vorschläge, Unterhaltungen...)
look like this
16 2019-07-17 06:32:27
Re: Abstand Zwischen Betriebskennzeichnung und Querverlinkung (17 replies, posted in DE : Hilfe, Vorschläge, Unterhaltungen...)
ok, then we do this
17 2019-07-15 16:30:59
Re: Abstand Zwischen Betriebskennzeichnung und Querverlinkung (17 replies, posted in DE : Hilfe, Vorschläge, Unterhaltungen...)
i think it is better to the text properties.
new item xlink_position
18 2019-07-14 19:26:51
Re: Abstand Zwischen Betriebskennzeichnung und Querverlinkung (17 replies, posted in DE : Hilfe, Vorschläge, Unterhaltungen...)
[left]here's a patch, but I think the better way is to use a configuration item.[/left]
19 2019-07-14 18:30:18
Re: How can i build in Windows (10 replies, posted in Code)
thanks for the links. very interesting
I still have an understanding problem. If I want to create Qelectrotech static, then I have to generate the KwidgetAddons KcoreAddons also static. Or?
However, I miss the setting of cmake so that KwidgetAddons KcoreAddons also static link.
20 2019-07-14 16:32:15
Re: Abstand Zwischen Betriebskennzeichnung und Querverlinkung (17 replies, posted in DE : Hilfe, Vorschläge, Unterhaltungen...)
it works, with the textalignment i can switch the xlink position.
21 2019-07-14 16:31:08
Re: Abstand Zwischen Betriebskennzeichnung und Querverlinkung (17 replies, posted in DE : Hilfe, Vorschläge, Unterhaltungen...)
it works, with the textalignment i can switch the xlink position.
22 2019-07-14 09:48:05
Re: How can i build in Windows (10 replies, posted in Code)
I have build qt without erros. But the build of kcoreaddons and kwidgetsaddons have link error. Because it will link dynamic. How can cmake say link static ?
23 2019-07-14 09:44:09
Re: How can i build in Windows QTcreator : KwidgetAddons KcoreAddons (21 replies, posted in Code)
Install Qt Creator, MinGW and the latest Qt version using the online installer from qt.io i use the 5.12.4
Install cmake (https://cmake.org/install/)
Add gcc and cmake bin directories to PATH environment variable
SET QTPATH=C:\Qt\5.12.4\mingw73_32
Download cmake-extra-modules (https://github.com/KDE/extra-cmake-modules)
Unpack cmake-extra-modules
Build ecm
cd(path to ecm)
cmake -DCMAKE_INSTALL_PREFIX=%QTPATH% -G "MinGW Makefiles"
mingw32-make install
build kcoreaddons
download an unpacktkcoreaddons (https://github.com/KDE/kcoreaddons)
cd (path to kcoreaddons)
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=%QTPATH% -DCMAKE_PREFIX_PATH=$QTPATH -G "MinGW Makefiles" -DZLIB_LIBRARY:FILEPATH=C:\Qt\Tools\mingw730_32\i686-w64-mingw32\lib\libz.a
mingw32-make
mingw32-make install
build kwidgetsaddons
downloadan unpack kwidgetsaddons (https://github.com/KDE/kwidgetsaddons)
cd (path to kwidgetsaddons)
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=%QTPATH% -DCMAKE_PREFIX_PATH=$QTPATH -G "MinGW Makefiles" -DZLIB_LIBRARY:FILEPATH=C:\Qt\Tools\mingw730_32\i686-w64-mingw32\lib\libz.a
mingw32-make
mingw32-make install
rename C:\Qt\5.12.4\mingw73_32\lib\libKF5CoreAddons.dll.a to libKF5CoreAddons.a
rename C:\Qt\5.12.4\mingw73_32\lib\libKF5WidgetsAddons.dll.a to libKF5WidgetsAddons.a
24 2019-07-10 20:50:21
Re: How can i build in Windows (10 replies, posted in Code)
thanks scorpio810
the build was successful. What amazes me, your * .exe is about 33MB in size. My only 5MB.
is it the differenc static to dynamic?
In the next few days I write a tutorial how I did it. This can benefit others.
25 2019-07-10 19:51:09
Re: Abstand Zwischen Betriebskennzeichnung und Querverlinkung (17 replies, posted in DE : Hilfe, Vorschläge, Unterhaltungen...)
Hi scorpioB10
thanks for the info.
[left]My programming skills are limited to the hobby. Some years ago I programmed with C # and C ++. I can read and understand your code.
Currently I try the 0.70rc2 to builden. That under Windows.
[/left]
[left]If that's the case, I'll take a look at the change in distance.[/left]
[left]stromie
[/left]