Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
some code cleanup + listen for FileOpen events
new About window (like in OMEdit) store ini file in openmodelica folder (like OMEdit) provide custom Info.plist for OS X to set file extensions maximize window on start
- Loading branch information
Showing
10 changed files
with
242 additions
and
241 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd"> | ||
<plist version="0.9"> | ||
<dict> | ||
<key>CFBundleDocumentTypes</key> | ||
<array> | ||
<dict> | ||
<key>CFBundleTypeExtensions</key> | ||
<array> | ||
<string>onb</string> | ||
<string>onbz</string> | ||
</array> | ||
<key>CFBundleTypeIconFile</key> | ||
<string>@ICON@</string> | ||
<key>CFBundleTypeName</key> | ||
<string>OpenModelica Notebook</string> | ||
<key>CFBundleTypeRole</key> | ||
<string>Editor</string> | ||
<key>LSIsAppleDefaultForType</key> | ||
<true/> | ||
</dict> | ||
</array> | ||
<key>NSPrincipalClass</key> | ||
<string>NSApplication</string> | ||
<key>CFBundleIconFile</key> | ||
<string>@ICON@</string> | ||
<key>CFBundlePackageType</key> | ||
<string>APPL</string> | ||
<key>CFBundleGetInfoString</key> | ||
<string>Created by Qt/QMake</string> | ||
<key>CFBundleSignature</key> | ||
<string>@TYPEINFO@</string> | ||
<key>CFBundleExecutable</key> | ||
<string>@EXECUTABLE@</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.yourcompany.@EXECUTABLE@</string> | ||
<key>NOTE</key> | ||
<string>This file was generated by Qt/QMake.</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -182,3 +182,5 @@ CONFIG += warn_off | |
|
||
ICON = Resources/OMNotebook_icon.icns | ||
|
||
QMAKE_INFO_PLIST = Info.plist | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.