memento:memento.git
8 years agoUse the timer optimally
Roopesh Chander [Thu, 11 Feb 2010 17:35:00 +0000 (23:05 +0530)]
Use the timer optimally

As in, if we're not "developing" any pictures, the timer
need not be kept running.

8 years agokeep the title in the center even while it's getting edited
Roopesh Chander [Thu, 11 Feb 2010 17:14:45 +0000 (22:44 +0530)]
keep the title in the center even while it's getting edited

8 years agoshow a nice effect after loading the thumbnail
Roopesh Chander [Wed, 10 Feb 2010 18:33:15 +0000 (00:03 +0530)]
show a nice effect after loading the thumbnail

8 years agoedit title dialog
Roopesh Chander [Mon, 8 Feb 2010 16:18:41 +0000 (21:48 +0530)]
edit title dialog

8 years agostart adding a context menu for the items
Roopesh Chander [Sun, 7 Feb 2010 15:50:33 +0000 (21:20 +0530)]
start adding a context menu for the items

8 years agothumbnail the images in threads (using QtConcurrent)
Roopesh Chander [Sun, 31 Jan 2010 18:01:49 +0000 (23:31 +0530)]
thumbnail the images in threads (using QtConcurrent)

8 years agouse addImagesFromFiles for startup images too
Roopesh Chander [Sun, 31 Jan 2010 14:41:41 +0000 (20:11 +0530)]
use addImagesFromFiles for startup images too

8 years agodont have to read the whole image just to figure out its size
Roopesh Chander [Sun, 31 Jan 2010 14:39:03 +0000 (20:09 +0530)]
dont have to read the whole image just to figure out its size

8 years agowhen a folder is dropped, look for images inside the folder
Roopesh Chander [Sun, 31 Jan 2010 14:34:41 +0000 (20:04 +0530)]
when a folder is dropped, look for images inside the folder

8 years agodropping images calls a new method addImagesFromFiles
Roopesh Chander [Sun, 31 Jan 2010 14:16:51 +0000 (19:46 +0530)]
dropping images calls a new method addImagesFromFiles

8 years agouse a pixmap for the shadow. is faster.
Roopesh Chander [Sun, 31 Jan 2010 13:55:42 +0000 (19:25 +0530)]
use a pixmap for the shadow. is faster.

8 years agooption.rect gives only the visible part of the item
Roopesh Chander [Sun, 31 Jan 2010 13:54:40 +0000 (19:24 +0530)]
option.rect gives only the visible part of the item

8 years agokeep the look consistent even when there is no pixmap
Roopesh Chander [Sun, 31 Jan 2010 13:50:09 +0000 (19:20 +0530)]
keep the look consistent even when there is no pixmap

8 years agomake delete key work
Roopesh Chander [Thu, 14 Jan 2010 08:09:27 +0000 (13:39 +0530)]
make delete key work

8 years agohandle drag-n-drop of image files into the app
Roopesh Chander [Sun, 10 Jan 2010 13:49:19 +0000 (19:19 +0530)]
handle drag-n-drop of image files into the app

8 years agoremove unused iterator variable
Roopesh Chander [Sat, 9 Jan 2010 15:36:12 +0000 (21:06 +0530)]
remove unused iterator variable

8 years agoadd a comment marking the flicker culprit
Roopesh Chander [Fri, 1 Jan 2010 16:29:23 +0000 (21:59 +0530)]
add a comment marking the flicker culprit

8 years agomake sure the selection is maintained after a drop
Roopesh Chander [Fri, 1 Jan 2010 15:52:06 +0000 (21:22 +0530)]
make sure the selection is maintained after a drop

8 years agominor refactoring
Roopesh Chander [Fri, 1 Jan 2010 15:27:19 +0000 (20:57 +0530)]
minor refactoring

8 years agoNew trick for handling drops correctly
Roopesh Chander [Fri, 1 Jan 2010 15:16:20 +0000 (20:46 +0530)]
New trick for handling drops correctly

Broadly:
- Mark dragged items as dragged
- Copy-insert dragged items to drop point (unmark the copies)
- Delete all items marked dragged

8 years agouse row index instead of the filename
Roopesh Chander [Thu, 31 Dec 2009 20:01:37 +0000 (01:31 +0530)]
use row index instead of the filename

- saves having to read the file from disk all over again
- can do insert+delete in the same method

it's sort of hacky, though, eh?

8 years agoOk, now drag and drop works, sort-of. But shouldn't Qt be doing this for me?
Roopesh Chander [Thu, 31 Dec 2009 18:52:48 +0000 (00:22 +0530)]
Ok, now drag and drop works, sort-of. But shouldn't Qt be doing this for me?

"Sort-of" is because:
the indices after the drop arent right so the wrong thing gets deleted

8 years agoDamn. I do all the dance Qt asks me to, and drag and drop still doesnt work. @#%#$%%
Roopesh Chander [Thu, 31 Dec 2009 15:39:41 +0000 (21:09 +0530)]
Damn. I do all the dance Qt asks me to, and drag and drop still doesnt work. @#%#$%%

8 years agochange load path
Roopesh Chander [Mon, 30 Nov 2009 14:56:53 +0000 (20:26 +0530)]
change load path

8 years agoadd a FilePathRole to the model
Roopesh Chander [Fri, 27 Nov 2009 18:18:36 +0000 (23:48 +0530)]
add a FilePathRole to the model

8 years agomake the title lineedit fit in the polaroid
Roopesh Chander [Fri, 20 Nov 2009 22:38:34 +0000 (02:38 +0400)]
make the title lineedit fit in the polaroid

8 years agoadd a shadow to the polaroid
Roopesh Chander [Fri, 20 Nov 2009 22:24:41 +0000 (02:24 +0400)]
add a shadow to the polaroid

8 years agorename project to memento
Roopesh Chander [Fri, 20 Nov 2009 21:58:59 +0000 (01:58 +0400)]
rename project to memento

8 years agouse elidedText instead of adding the ellipses ourselves
Roopesh Chander [Fri, 20 Nov 2009 21:38:32 +0000 (22:38 +0100)]
use elidedText instead of adding the ellipses ourselves

8 years agoenable tabKeyNavigation
Roopesh Chander [Sun, 8 Nov 2009 14:43:23 +0000 (20:13 +0530)]
enable tabKeyNavigation

8 years agoshow selections
Roopesh Chander [Sun, 8 Nov 2009 13:10:25 +0000 (18:40 +0530)]
show selections

8 years agouse same font while editing too
Roopesh Chander [Sun, 8 Nov 2009 12:48:17 +0000 (18:18 +0530)]
use same font while editing too

8 years agoshow ellipsis when curtailing title on end-of-edit
Roopesh Chander [Sun, 8 Nov 2009 12:47:40 +0000 (18:17 +0530)]
show ellipsis when curtailing title on end-of-edit

8 years agodelegate to show it like the polaroids in Memento
Roopesh Chander [Wed, 28 Oct 2009 18:39:03 +0000 (00:09 +0530)]
delegate to show it like the polaroids in Memento

8 years agomake the title editable
Roopesh Chander [Tue, 27 Oct 2009 19:36:51 +0000 (01:06 +0530)]
make the title editable

8 years agoreturn some flags
Roopesh Chander [Tue, 27 Oct 2009 19:10:11 +0000 (00:40 +0530)]
return some flags

8 years agobasic listview
Roopesh Chander [Tue, 27 Oct 2009 18:49:42 +0000 (00:19 +0530)]
basic listview

8 years agostart the project
Roopesh Chander [Tue, 27 Oct 2009 15:55:03 +0000 (21:25 +0530)]
start the project

8 years agoInit
Roopesh Chander [Tue, 27 Oct 2009 15:53:53 +0000 (21:23 +0530)]
Init