| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
Show red or green icon in status bar, depending on wether we're sliding.
Removed the rename to template stuff. It was barely used code. Hopefully
deleted all references and code fragments.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It started as a buxfix session, but the more I dug into some ancient
code, the more I had to change.
Well, first and foremost, this fixes a crash in PicturesWidget. Trying
to display the mappings of the selected picture in a different color
never was a good idea. Show them in the statusbar instead.
While looking at the statusBar code, make PictureWidget emit signals to
show the total size and number of selected items. Then I noticed some
really, really braindamaged connection madness in the Shemov
constructor. Instead of doing all the work in SheMov itself, have the
widgets emit signals.
This should have been several commits, but one lead to another...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix unexpected NULL receiver on startup: Turns out this warning is
issued when calling deleteLater on a NULL object. This happened in
SheMov::createOpenWith*.
The "database is still in use" warning was a bit harder to track down.
First of all, the destructors weren't called since Qt::WA_DeleteOnClose
wasn't set for SheMov, so Qt would simply exit and let the OS do the
cleanup without calling the destructors.
Then there were several orphan widgets/objects without a parent, so
their destructor would never be called.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Every registered icon can be chosen as Qt::DecorationRole for all models
at once. Suitable icons must be added to SmGlobals::mIcons. Key is a
descriptive text, value is the icon path.
To make things easier SmTreeModel got two new member functions:
-QIcon decorationIcon() returning the current Icon
-void setDecorationIcon() to set the current Icon
The current Icon is initialized in the constructor from QSettings -
ui/iconfolder
To update the TreeViews connected to the FileSystemModel a little hack
is needed: Just set the QFileIconProvider again. This causes the Model
to update connected views.
|
|
|
|
|
|
|
|
|
| |
Added a tab to ConfigurationDialog to make some colors configurable. It
works somehow. The font color isn't evaluated yet, since I'm not
convinced that it is a good idea.
But one problem is that calling qApp->setPalette() doesn't propagate to
non visible child dialogs. Dunno if it's worth fixing.
|
|
|
|
| |
Remove all references of MessageDialog, including files :)
|
|
|
|
|
|
|
|
|
|
| |
Make this options in the context and edit menu of FilesystemWidget
behave a lot more as expected. Copy and cut just copies the file names
to the clipboard, and paste paste moves them if they were cut and copies
them when the action was copy.
Still need to fix the colors when something is marked somehow. Should be
configurable :)
|
|
|
|
|
|
| |
Rename files inline, letting the model do all the work. Part of getting
rid of MessageDialog. Maybe this broke the filename templates. We'll
see...
|
|
|
|
|
|
| |
Remove debug statements from FileSystemWidget. Also remove useless
helper func StringListContains. That was a goodie. I guess I was quite
drunk when I wrote that...
|
|
|
|
|
|
|
| |
Added new action to mark files as seen. Marked files have the foreground
color red.
For this the database connection is needed quite early, so I had to call
SmGlobals::instance() in the constructor of SheMov without using it.
|
|
|
|
|
| |
Keep FSWidget updated when mounting a dvd. It's an ugly hack involving
changing the current directory several times, but it works...
|
|
|
|
|
|
| |
DVDs or CDs can be mounted under *NIX like OS now. It still eludes me
how to refresh a directory from a QFileSystemModel when it's mounted.
Maybe it's a qt bug...
|
|
|
|
| |
Implemented a toolbar with various actions. Also did some artwork :)
|
|
|
|
|
|
| |
Show ".." entry in FileView and make it go to the parent directory. Had
to work around QT Bug 14760: NoDot doesn't work so the "." entry has to
be filtered in filterAcceptsRow()
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When doubleclicking a picture in FileTreeWidget the pictureViewer
is shown. Doubleclicking a movie file launches the default movie
player.
Since PictureViewer is now used in FileSystemWidget and
ArchiveTreeView a global instance is needed. The appropriate place
for this is a singleton. Since we already had a singleton for
QAbstractItemModels I renamed it to SmGlobals and added a function
to return a PictureViewer object. Renaming it was quite easy
thanks to QtCreator's ability to rename variable names.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
hopefully removed all code connected to ArchiveViewWidget in this
tree.
Files removed ({h,cpp}):
*archiveeditdialog
*listeditor
*covereditor
*archivefilewidget
*addmoviewizard
*archivefileview
*archiveproxy
*sizedelegate
*archivedidelegate
*archiveitemeditdialog
*coveritem
*movieitem
*moviemodel
*moviemodelsingleton
*listmodel
*listmodelsingleton
*archiveviewwidget
*archiveiteminfoedit
*archiveitemcoveredit
*fileinfoitem
*fileinfomodel
See added file TODOS for stuff that needs fixes.
|
|
|
|
| |
Save and restore PictureViewer position on exit and startup.
|
|
|
|
|
|
|
| |
Don't call an external program for showing a picture. When an image is
doubleclicked a new windows shows the picture. Pictures can still be
opened in an exteral program by using the "Open with..." context menu
item.
|
|
|
|
|
| |
Removed the code for archive extraction. Never used it, never liked it
and really never worked properly.
|
|
|
|
| |
QDirModel is deprecated by the Nokia guys. Use QFileSystemModel instead.
|
|
|
|
|
|
|
|
|
|
| |
FilesystemWidget needs a pointer to the QAction triggering a refresh to
disable it under certain circumstances. The current solution was to
search the actions() of a child widget for a specific string in
QAction::data(). Don't like it.
Now SheMov sets the refresh action via a member function of
FilesystemWidget.
|
|
|
|
|
|
| |
The contextmenu of Fileview got an "Open with" submenu containing all
configured programs. Opening files does not depend on MIME-types. That
means a movie can be opened with a pictureviewer and vice versa.
|
|
|
|
|
|
|
| |
Make actions for FilesystemWidget more Qt-like. Wrapped Rename menu into
an Action and got rid of the ugly findAction(). Use signal instead.
Also added actions for OpenWith.
|
|
|
|
|
|
| |
Double click and playSelected() now uses the default from a list of
several program. If no default program is set, the first element in the
Hash is used.
|
|
|
|
|
|
|
| |
The window position and size is now written to disk on exit and read on
startup. Also, the expanded directories from the tree are saved and
restored. This means I can get rid of this ugly expand dirs on startup
thing. Never liked it very much.
|
|
|
|
|
|
|
| |
-turned the Fileinformation into a QTreeview, created a model for that
git-svn-id: file:///var/svn/repos2/shemov/trunk@422 f440f766-f032-0410-8965-dc7d17de2ca0
|
|
|
|
| |
git-svn-id: file:///var/svn/repos2/shemov/trunk@420 f440f766-f032-0410-8965-dc7d17de2ca0
|
|
|
|
|
|
|
|
|
|
| |
-Removed filtering of extractor output (not tested)
-Changed SelectionMode of filemanager to ExtendedSelection
-Fixed bug in SheMov::setFreeFS
-Size of selected files is now shown in filemanager
git-svn-id: file:///var/svn/repos2/shemov/trunk@407 f440f766-f032-0410-8965-dc7d17de2ca0
|
|
|
|
|
|
|
|
|
|
|
| |
->FullPathRole and CoverPathRole
->maxValue of any column
-Implemented move files to directory for burning
-Implemented collective DVDNo change
-Implemented delete from archive
git-svn-id: file:///var/svn/repos2/shemov/trunk@402 f440f766-f032-0410-8965-dc7d17de2ca0
|
|
|
|
|
|
|
| |
-start mplayer detached from FileSystemWidget
git-svn-id: file:///var/svn/repos2/shemov/trunk@397 f440f766-f032-0410-8965-dc7d17de2ca0
|
|
|
|
|
|
|
|
|
|
|
| |
-When archiving files, also add new actors to the actorselection
-Added completer to ListEditor
-When selecting an already existing actor, also add it to actorselection
-invalidate ArchiveProxy when items are added
-prevent manual editing of FilesystemView
git-svn-id: file:///var/svn/repos2/shemov/trunk@395 f440f766-f032-0410-8965-dc7d17de2ca0
|
|
|
|
|
|
|
|
|
|
| |
-get QModelIndex from MovieModel by movieId
-ArchiveView: added delegates for dvd and size, MovieItem now returns size as int
-Finished EditArchiveItemDialog
-Reverted covereditor, it became too convoluted
git-svn-id: file:///var/svn/repos2/shemov/trunk@393 f440f766-f032-0410-8965-dc7d17de2ca0
|
|
|
|
|
|
|
|
|
|
|
|
| |
-turned archive tab into a QDialog
-fixed duplicate handling in ListModel
-fixed html output in archive dialog
-actually made archiving work
-changed covertype to text in database
-fixed bug with covertype in coveritem
git-svn-id: file:///var/svn/repos2/shemov/trunk@390 f440f766-f032-0410-8965-dc7d17de2ca0
|
|
|
|
|
|
|
|
|
| |
-Beautified extractor output for unrar
-Added User interface configuration options
-So, there are Usability fixes
git-svn-id: file:///var/svn/repos2/shemov/trunk@388 f440f766-f032-0410-8965-dc7d17de2ca0
|
|
|
|
|
|
|
|
| |
-QProcess doesn't work as promised in the docs, dunno how to do it yet, but we need a thread to keep the GUI responsive...
-fixed some bugs with the extractionpaths
git-svn-id: file:///var/svn/repos2/shemov/trunk@387 f440f766-f032-0410-8965-dc7d17de2ca0
|
|
|
|
|
|
|
|
| |
-Implemented ExtractorDialog (untested)
-started work on extractor menus
git-svn-id: file:///var/svn/repos2/shemov/trunk@386 f440f766-f032-0410-8965-dc7d17de2ca0
|
|
|
|
|
|
|
| |
-started on configurationdialog
git-svn-id: file:///var/svn/repos2/shemov/trunk@385 f440f766-f032-0410-8965-dc7d17de2ca0
|
|
|
|
|
|
|
|
|
|
| |
-implemented refresh
-implemented copyFiles
-implemented moveFiles
-implemented renameFiles
git-svn-id: file:///var/svn/repos2/shemov/trunk@384 f440f766-f032-0410-8965-dc7d17de2ca0
|
|
|
|
|
|
|
|
|
| |
-focus FileView after startup and changing dir via directorybar
-implemented createFolder
-display action in statusBar()
git-svn-id: file:///var/svn/repos2/shemov/trunk@383 f440f766-f032-0410-8965-dc7d17de2ca0
|
|
|
|
|
|
|
| |
-implemented proper window titles (not yet working)
git-svn-id: file:///var/svn/repos2/shemov/trunk@382 f440f766-f032-0410-8965-dc7d17de2ca0
|
|
|
|
| |
git-svn-id: file:///var/svn/repos2/shemov/trunk@381 f440f766-f032-0410-8965-dc7d17de2ca0
|
|
|
|
|
|
|
| |
-worked on keyboard navigation and selecting items, items can now be selected like in mc
git-svn-id: file:///var/svn/repos2/shemov/trunk@380 f440f766-f032-0410-8965-dc7d17de2ca0
|
|
|
|
|
|
|
| |
-when a movie or image is activated, it's shown in the configured viewer
git-svn-id: file:///var/svn/repos2/shemov/trunk@379 f440f766-f032-0410-8965-dc7d17de2ca0
|
|
|
|
|
|
|
| |
-implemented location bar
git-svn-id: file:///var/svn/repos2/shemov/trunk@378 f440f766-f032-0410-8965-dc7d17de2ca0
|
|
|
|
|
|
|
| |
-started implementing FilesystemView
git-svn-id: file:///var/svn/repos2/shemov/trunk@377 f440f766-f032-0410-8965-dc7d17de2ca0
|
|
-started gui
git-svn-id: file:///var/svn/repos2/shemov/trunk@376 f440f766-f032-0410-8965-dc7d17de2ca0
|