Commit Graph

28 Commits

Author SHA1 Message Date
wmayer
4036613fd2 App: refactor license handling to reduce code duplication 2023-02-12 19:57:41 +01:00
alexneufeld
8f06403537 Gui: Add CERN OHL to default licenses list 2023-02-12 10:31:59 +01:00
wmayer
f9718ded22 Gui: [skip ci] fix incorrect tool tip 2022-12-23 14:35:58 +01:00
wmayer
bce7e55e19 Gui: [skip ci] fix tab ordering in document settings page 2020-03-20 11:55:03 +01:00
M G Berberich
8e118a9e33 Gui: [skip ci] added thumbnail size to UI
Added a spinbox for the thumbnail-size to the document preference.
2020-03-20 11:15:05 +01:00
donovaly
2a4278220d [GUI] general document preferences
- add missing tooltip and improve wording of another tooltip
2020-03-16 08:33:43 +01:00
plgarcia
d222f7b55f Change backup policy
1 - Reports the error to the user in a popup.
2 - Names of the backups include the timstamp instead of a number. Names have more sense and the files can be sorted by names what is also the age order.
3 - Behaviors when changing configuration improved, the number of files present on the system was not reduced when reducing the number of backups or backups deactivated.
2020-02-24 23:06:26 +01:00
wmayer
eab48f6158 [skip ci] Preferences names or paths must not be set to translatable strings! 2020-02-15 12:42:12 +01:00
wmayer
f533e3bf87 fix broken XML syntax in .ui files 2019-12-05 17:45:39 +01:00
luz.paz
e7ee5fe777 Tooltips: added missing tooltips + refined pre-existing
Some pre-existing tooltips needed to be a compound of lines instead of 1 long one.
Removed bold text from tooltip  
Removed URL from tooltip
2019-12-05 17:07:44 +01:00
luz.paz
5f8d274f7f Crowdin: Fix creative common license name
Source: https://crowdin.com/translate/freecad/549/en-sv#6498160
2019-10-05 17:27:48 +02:00
wmayer
ee8ec4568b Improve branding by avoiding explicit use of 'FreeCAD' in tool tips 2019-09-07 13:18:59 +02:00
Zheng, Lei
b78f1a5111 App: make recompute aborting optional 2019-08-30 14:41:46 +02:00
Zheng, Lei
bd2f5191c9 Gui: Application/Document/MainWindow changes following App namespace
Application:

* signalNewDocument, check the extra argument, isMainDoc, the decide
  whether to create view of the new document. This is so that external
  linked document can be opened in background without crowding the tab
  list.

* slotDeleteDocument, calls Document::beforeDelete()

* slotActiveDocument, creates view if none, because external document
  is now opened without view.

* onLastWindowClosed(), switch to next active document, and creates view
  if none.

* send(Has)MsgToFocusView(), new API to send message to the active view
  in focus. This is to solve the ambiguity of things like pressing
  delete key, copy, paste handling when the active new is not in focus.
  For example, when spread sheet view is active, delete/copy/paste
  handling should be different when the focus on the spread sheet view
  or focus on tree view.

* tryClose(), delegate to MainWindow for close confirmation

* reopen(), new API to reload a partial document in full

Document/DocumentP:

* _CoinMap, new internal map for quick access view provider from its
  root node.

* slotNewObject, modified to support view provider override from
  App::FeaturePython, through new API
  DocumentObject::getViewProviderNameOverride().

* slotDeletedObject/slotTransactionRemove, improve handling of geo group
  children rebuild

* slotSkipRecompute, add special handling of document with skip
  recompute. Some command cannot work when skip recompute is active.
  For example, sketcher command will check if recompute is successful
  on many commands, and will undo if not. New 'PartialCompute' flag is
  added to allow recompute only the editing object and all its
  dependencies if 'SkipRecompute' is active.

* slotTouchedObject, new signal handling of manually touched object.

* setModified(), do nothing if already modified. This is a critical
  performance improvement, because marking tab window as modified turns
  out to be a relatively expensive operation, and will cause massive
  slow down if calling it on every property change.

* getViewProviderByPathFromHead/getViewProvidersByPath(), new APIs to
  obtain view provider(s) from coin SoPath.

* save/saveAll/saveCopy, modified to support external document saving.

* Save/RestoreDocFile(), save and restore tree item recursive expansion
  status.

* slotFinishRestoreObject(), handle new signal
  signalFinishRestoreObject(), unifies postprocessing in restore and
  import operation.

* createView/setActiveView(), add support of delayed view creations

* canClose(), delegate to MainWindows to ask for confirmation

* undo/redo(), support grouped transaction undo/redo. Transactions may
  be grouped by the same transaction ID if they are triggered by a
  single operation but involves objects from multiple documents.

* toggleInSceneGraph(), new API to add or remove root node from or to
  scenegraph without deleting the view object.

MainWindow:

* Update command status using a single shot timer instead of periodical
  one.

* Improve message display is status bar. Give error and warning message
  higher priority (using QStatusBar::showMessage()) than normal status
  message (using actionLabel), reversed from original implementation.

* confirmSave(), new API to check for modification, and ask user to save
  the document before closing. The confirmation dialog allows user to
  apply the answer to all document for convenience.

* saveAll(), new API to save all document with correct ordering in case
  of external linking.

* createMimeDataFromSelection/insertFromMimeData(), support copy paste
  object with external linking. A new dialog DlgObjectSelection is used
  to let user select exactly which object to export.

CommandDoc/CommandWindow:

* Related changes to object delete, document import, export, and save.
2019-08-17 15:08:33 +02:00
donovaly
a2fa902feb add and uniform general preferences tooltips 2019-07-16 13:33:48 +02:00
Unknown
8f8f890259 Clarifying preference string
https://forum.freecadweb.org/viewtopic.php?f=10&t=24918
2017-10-24 19:44:08 +02:00
Unknown
15c0d38536 Capitalize beginning of tooltips + Typos
Capitalized all remaining uncapitalized tooltips. 
+ Fixed typo in instantiate() function. Shouldn't have any repercussions on the code, AFAICT. 
+ other typos
2017-10-13 00:26:53 +02:00
wmayer
fe1f0dce3c due to branding reasons avoid a direct mentioning of FreeCAD 2017-06-18 15:52:21 +02:00
Yorik van Havre
d28bae3f52 Added pref option to disable the FreeCAD logo in the FCStd file thumbnail 2017-06-16 00:25:42 -03:00
wmayer
bd94486c7e + fix inconsistencies between license note and url 2015-09-08 19:17:36 +02:00
Yorik van Havre
98e9dd08ac Preferences->Document->License URL field is now editable 2015-09-07 20:10:02 -03:00
wmayer
16f813281c + issue #0000175: Auto save function 2015-09-04 17:53:22 +02:00
wmayer
9253572afe + implement GUI to enable/disable auto-save and its timeout 2015-09-04 00:48:26 +02:00
Yorik van Havre
b67405e16e Fixed typo in text 2015-02-10 11:52:49 -02:00
wmayer
c066183f4b + fix layout of document settings panel 2015-01-23 18:23:01 +01:00
Yorik van Havre
645d176a13 Added preference setting to set default Author & License - fixes #1883
* added fields in Prefereces->Default->Document
* new documents take the values of those fields
2015-01-20 20:01:14 -02:00
wmayer
ca51781aa9 Fix warnings 2013-09-09 15:01:56 +02:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00