Code: Select all
OS: Ubuntu 16.04.3 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.11797 (Git)
Build type: None
Branch: master
Hash: a5080329d8da6653495df686efbda62e73ac950a
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedKingdom (en_GB)
I have failed. I see the method; it's AboutDialog::on_copyButton_clicked() in Splashscreen.cpp
But between knowing SFA about Python, and less about C++ I haven't managed to even find it in the available namespace.
From the wiki I try
Code: Select all
toplevel = QtGui.qApp.topLevelWidgets()
for i in toplevel:
print i.metaObject().className()
All I really want is a clue about how to call it. If you're interested, what I'd like to end up with is a button on my global toolbar that calls it and wraps the output in code tags ready to be pasted into a new post.