Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Window File Path not set for new files #29

Open
scharlton2 opened this issue Dec 13, 2022 · 0 comments
Open

Window File Path not set for new files #29

scharlton2 opened this issue Dec 13, 2022 · 0 comments

Comments

@scharlton2
Copy link
Owner

Caption not reset when creating new file (File->New) when the previous file has been saved

scharlton2 added a commit that referenced this issue Dec 13, 2022
scharlton2 added a commit that referenced this issue Dec 16, 2022
* refactor: guard afx.h and DEBUG_NEW

* changed char* return types to std::string

* removed extra qualification

* replaced _stricmp and _strnicmp with mvUtil:: versions

* linux header files must match case

* removed unnecessary header file

* removed unnecessary header file

* replaced PathAppend, PathCanonicalize and
PathFileExists with mvUtil:: versions

* replaced _strlwr with mvUtil:: version

* missed _strnicmp replacement

* linux: set MAX_PATH

* const(ified) mvHashTable

* added VERIFY define when nec

* const(ified) getDataName/getActiveScalarDataName

* loads hard-coded ex-gwf-csub-p04.mvmf6 and ex-gwf-disvmesh.mvmf6 using Qt

* Updated cmake files

* Created Qt version of mvSaveCurrentDirectory
still contains windows debugging

* added BitmapResolutionDialog for File->Export As Bitmap

* Added base class for mvView

* setFocus in ctor

* Made Serialize const

* Cleaned up main

* Converting MFC to Qt

* added github actions from qt-install repo

* added test3 from qt-install

* updated for modelviewer-mf6:_develop-qt-refactor

* added current branch to actions

* Working on CI/CD

* skip build.yml

* added modelviewer build

* Working on ubuntu and macos builds

* removed non-standard malloc.h header file

* working on warnings from macos build

* working on ubuntu warnings

* added set(CMAKE_INCLUDE_CURRENT_DIR ON) for includes

* Added 32x32 pixel icon

* added Qt::WindowCloseButtonHint to get rid of upper-right question mark button

* moved MainWindow::setCurrentFile to MvDoc::setCurrentFile

* fixed lights (cut&paste error)

* added light assertions to onFileExportAsBmp

* implemented ExportAnimationDialog
File->Export Animation

* excerpt from:
https://en.cppreference.com/w/cpp/language/string_literal
String literals have static storage duration, and thus exist in memory
for the life of the program.

* implemented File->New... action
added geometrydialog

* updated to build on macos and ubuntu

* fixed never ending wait cursor on oc file open failure

* commented out QWidget.h for ubuntu build

* fixes backslash on non-windows platforms using QDir::toNativeSeparators

* added mvUtil::toNativeSeparators

* changed \ to /

* CI/CD: Build and package on macos-11 ubuntu-20.04 and windows-2019

* updated .gitignore

* added files to create macos icon
iconutil -c icns ModelViewer.iconset

* Added cmake code to create DragNDrop package

* added override for virtual functions

* added _develop-qt-refactor to pr

* fixed windows version; now uses fixup_bundle for dlls

* added cpack builds

* Updated for ubuntu

* added upload artifacts

* Added linux platform plugin
see https://doc.qt.io/qt-6/qpa.html#qpa-plugins

* changed LINUX to UNIX

* Added code to debug qt plugin loading

* Added rpath for ubuntu libs

* Updated to package on Ubuntu

* Implemented recent files menu actions

* Implemented preferences dialog

* Added updateRecallViewpoint

* Finished Action->Recall Viewpoint

* converted to use lamdas

* Implemented Toolbox->Data (DataDialog)

* Cleaning up workflows

* .github/workflows/cache-qt.yml -> .github/workflows/build-qt5-vtk.yml

* rename cache-qt5-vtk to build-qt5-vtk

* Actions cleanup

* added all os(s) to cache

* Build on all os(s)

* Implemented Toolbox->Color Bar

* Fixed color problem on linux

* Updated actions/cache to v3

* Implemented Toolbox->Lighting (#14)

* Implemented Toolbox->Grid (#15)

* Implemented Toolbox->Grid

* cleanup comments

* Develop qt refactor overlaydialog (#17)

* commented assert for gridDialog
when loading ex-gwf-disvmesh

* changed radioButton to use QAbstractButton::clicked signals
instead of QAbstractButton::pressed

* Toolbox->Overlay

* fix for compile errors on macos and ubuntu

* Implemented Toolbox->Solid (#18)

* Testing stateChanged w/ arg

* fixed activate/updateData arg names

* added delete _geometry to dtors

* Added breaks to default case statements

* Develop qt refactor isosurfacedialog (#19)

* Implemented Toolbox->Isosurface

* Cleanup MvDoc::updateIsosurfaceDialog

* fixed LightingDialog assertion
Occured when executing File->SaveAs

* Implemented Toolbox->Vector (#20)

* Implemented Toolbox->Model Features (#21)

* Implemented Toolbox->Crop (#22)

* Implemented Toolbox->Animation (#23)

* Implemented Help->Contents (#24)

* Implemented Help->About (#25)

* Changed Bmp to PNG
* Implemented Action->Reset Viewpoint
* Implemented Action->Copy Display To Clipboard

* Tested using disu6(test016_Keating_disu_250)

* Fixed issue #29

* Changed order and tested with test016_Keating_disu_250

* Cleanup; added Status tip to MRU renamed onModelFeatures -> onShowModelFeatures; Fixed never ending WaitCursor on error when loading

* Set length of filename to 140

* Updated todo

* Fixed #33

* Renamed QModelViewer to ModelViewer
Minor cleanup

* Working on dist

* set cmake vars

* Used wrong syntax

* Added dataselectiondialog

* Updated dialog title

* Added assertions for GetScalarGridDimensions
shouldn't be called when the datasource is null

* Fixed bug that occured when
creating two new files in a row

* Added missing call to onUpdateToolboxLighting

* Changed exe name; Added prerelease w/ build number

* Fix windows and apple builds

* Fixed renaming exe to mvmf6.exe

* Working on apple package

* Updated branches for github actions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant