Commit Graph

69 Commits

Author SHA1 Message Date
Chris Hennes
232a938a8b Gui: Add Mod info to copied About string 2022-02-16 12:08:17 +01:00
wmayer
f36126770c App: harmonize API of App::Application
* make getHomePath() static and return a std::string
* make getExecutableName() static and return a std::string
2021-11-04 10:50:09 +01:00
donovaly
b705093d3d [Doc] update weblink to Coin3D
* Coin3D is no loner available via bitbucket, therefore update the new dead links
* change a weblink so that it is the same in all our code
2021-10-09 19:24:15 +02:00
wmayer
d3d9d24c61 Gui: set UTF-8 encoding when reading file with contributors 2021-04-04 11:04:23 +02:00
Chris Hennes
dac8b8ea6a Allow different splash and about image 2021-04-03 22:36:28 +02:00
Chris Hennes
098d7b9aee [GUI] Remove code for Qt < 5.9 2021-04-02 10:10:37 +02:00
Chris Hennes
49f4e66501 Minor refactoring and cleanup of the About window
Removes old Qt code, restores the conditional inclusion of the
3Dconnexion license information, shortens the displayed hash, and links
the hash to its repo.
2021-03-28 16:12:27 +02:00
wmayer
fd9959ce41 Gui: [skip ci] show or hide splash image depending on screen size 2021-03-08 19:03:59 +01:00
wmayer
29b7301793 Gui: [skip ci] do not allow image size in About dialog to occupy more than 25% of the screen size 2021-03-08 12:55:45 +01:00
Chris Hennes
ed01a60cf0 [GUI] Tweak wording and translatability of Credits 2021-03-03 17:18:56 +01:00
Chris Hennes
5ad480aeec [GUI] Refactor About to list credits from a file
The Credits tab is now generated from a CONTRIBUTORS file. The file is
expected to list one contributor per line, with individuals first,
followed by a line with the word "Firms" on it, followed by firms (again
one per line). The formatting is currently a simple <ul> for each set of
names. No sorting, etc. is performed.
2021-03-03 11:03:43 +01:00
Chris Hennes
aeb4f4fb84 [GUI] Add window decorations to About 2021-03-03 10:56:11 +01:00
Chris Hennes
3c5523cb6b Switch to removeTab() to support older Qt versions 2021-03-02 18:49:13 +01:00
Chris Hennes
2038dedeb4 [GUI] Implement license tab that obeys stylesheet
The original License tab used a hard-coded HTML element created in Qt
Designer, which adds style tags to all HTML elements. This commit
replaces that tab with a dynamically-created tab which loads an included
LICENSE.html file at runtime. That file contains no style information,
so obeys the style information provided by the current stylesheet. If
that resource file is not available at runtime, the old license tab is
retained and displayed.
2021-03-02 18:49:13 +01:00
wmayer
2fe153118c Gui: [skip ci] for the author label use the same font configuration as with the rich text as otherwise the text appears very tiny 2021-03-02 17:23:41 +01:00
Chris Hennes
d93567ce27 Add library versions to LibraryVersions.h 2021-02-28 20:45:34 -06:00
luz paz
38815b9550 Gui: Fix header uniformity, whitespace, and doxygen fixes 2020-11-26 10:14:56 +01:00
wmayer
67e80c7d6a Qt5: fix deprecation warnings for Qt 5.15
+ QByteArray::append is deprecated
+ QPixmap* QLabel::pixmap() is deprecated
+ overloaded version of QString::split is deprecated
+ QSysInfo::windowsVersion()/QSysInfo::MacVersion() is deprecated
2020-10-18 14:45:31 +02:00
wmayer
961d9145e2 Qt5: 'endl' manipulator is deprecated with 5.15. Replace it with newlines. 2020-10-15 15:22:28 +02:00
vejmarie
704d4d9945 Big update to remove deprecation warning from Qt 5.15.0
That is need on MacOS build as travis log is bigger than 50k lines
which breaks travis rules
And by the way deprecations are real
All file contains the same modification replace 0 to Qt::WindowFlags() when needed
as the class needs to be instantiated

Signed-off-by: vejmarie <jmverdun3@gmail.com>
2020-09-24 12:56:43 +02:00
wmayer
cff0638672 Qt5: QDesktopWidget is deprecated use QScreen [-Wdeprecated-declarations] 2020-06-12 17:51:33 +02:00
triplus
b9d01e7db1 Add collection tab to About FreeCAD 2020-03-09 20:45:10 +01:00
wmayer
c642768756 fix regressions in SplashObserver::SendLog and ReportOutput::SendLog 2019-10-20 13:41:10 +02:00
wmayer
c71c893a50 fix -Winconsistent-missing-override 2019-10-20 13:23:41 +02:00
ezzieyguywuf
9fcc18b08e Refactor and rename ConsoleObserver...
...Renamed to "ILogger", to designate that this is an Interface for a
Logger. This "Interface" is pure virtual, so that it cannot be
instantiated directly. This makes it clear that it is intended to be
derived.

Finally, got rid of all the individual log-style methods and replaced
with SendLog. The idea here is that day-to-day users will only interact
with ILogger through ConsoleSingleton (or, likely, LoggerSingleton in
the future). This singleton will manage an arbirtary collection of
ILogger, and call SendLog with the appropriate parameters based on what
the user requests.

Therefore, the singleton itself will have the individual Log, Message,
Error, etc... methods, while stil allowing us to simplify the code base
of ILogger and its derived classes.
2019-10-20 11:46:15 +02:00
0penBrain
9c9905128e Add information about Linux GFX environnement in FC info 2019-03-31 11:22:28 +02:00
wmayer
b797eb6a70 fix problem that too large splash image make dialog too large 2019-03-12 15:12:18 +01:00
Mateusz Skowroński
ac508516da Use QString's multi-arg overload to save memory allocations. [-Wclazy-qstring-arg] Thanks Clazy! 2019-02-11 15:39:14 +01:00
wmayer
8a0790f54d fix possible build failure if oCCT is not used 2018-10-15 20:10:42 +02:00
wmayer
a3a15e5b8e fixes #0003538: MacOSX 10.13 not in the 'About FreeCAD' dialog 2018-07-28 16:06:15 +02:00
luz.paz
a1ffb0fa3c Misc. typo & whitespace fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt --skip="*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./.git,./src/zipios++"`
Revert IFC commit
2018-07-11 21:52:27 -04:00
Victor Fragoso
c9c9913c06 Add comment to clarify why replace() is used
by The WikiLab Team (wikilab.blog.br)
2018-07-06 09:55:44 -03:00
wmayer
eddf262e3c fixes #0002987: FreeCAD should recognize when it's been built as an appimage 2018-02-12 22:21:38 +01:00
wmayer
18bc9ff35e add tab about license information of 3rd party libraries 2018-02-11 11:40:09 +01:00
wmayer
eb9a4ab21e add locale information to system information 2017-07-16 08:14:26 +02:00
Bruce B. Lacey
8106aaf59b Fix commit 0bebddf28 - Show more mac versions in about dialog 2017-03-28 11:05:05 -07:00
Yorik van Havre
0e1faa5793 Show more mac versions in about dialog 2017-03-28 10:17:30 -03:00
wmayer
cc67c14493 issue #0002540: Crash on startup 2017-01-28 00:14:15 +01:00
wmayer
d88ecd5f56 fix -Wunused-parameter 2016-09-23 16:37:12 +02:00
wmayer
1e6dcabefc fix -Wextra in FreeCADGui 2016-09-21 20:54:52 +02:00
Yorik van Havre
a0583aa690 Extended About dialog with credits and license tabs - fixes #2539 2016-05-13 00:38:03 -03:00
wmayer
5024af30f1 + fixes #0002392: tiny character encoding problems 2016-05-05 21:13:34 +02:00
wmayer
8728bb2172 + always get occ version information in About dialog 2016-03-19 15:55:09 +01:00
maurerpe
c455a17fb7 Ensure mutexes are always properly unlocked
Error exists with Qt4 and Qt5.  Qt5 generated helpful warnings that made
it easier to debug.
2016-02-24 23:56:05 +01:00
Yorik van Havre
000beb9677 Detecting windows10 in about dialog 2016-01-11 13:08:13 -02:00
Mateusz Skowroński
6942c23895 Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
158f39ec78

This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
Mateusz Skowroński
f48f0f69be Qt::WFlags is obsolete in Qt5. Replace it with Qt::WindowFlags.
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:58 +01:00
Mateusz Skowroński
c275b35d48 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
wmayer
963bebe696 + fixes #0002287: Entry Point Not Found IsWow64Process 2015-10-07 10:24:35 +02:00
wmayer
b34df5672a + show build type 2015-05-02 17:56:44 +02:00