Notices


Reply
Thread Tools
Posts: 466 | Thanked: 661 times | Joined on Jan 2009
#51
Almost got rotation working the way I want. Having trouble with the stacked windows, though.

It seems that the window attributes on the top window of this stack actually drives the rotation elements that are honored.
Code:
nav->setAttribute(Qt::WA_Maemo5StackedWindow);
I'm having trouble figuring out how to keep the pointer to the top window so I can just access it from anywhere in the window stack from any descendant window. I could use a global variable, but is that acceptable practice in C++?
 

The Following User Says Thank You to jackburton For This Useful Post:
Posts: 466 | Thanked: 661 times | Joined on Jan 2009
#52
I've added rotation and a few other changes. This is the first of the 1.1.0 series. Please report bugs. The code is not clean yet.

I uploaded to extras-dev, but the autobuilder seems to be down (upload was succesful, though).
Attached Files
File Type: deb maecaltasks_1.1.0-0dev201211112136_armel.deb (120.4 KB, 68 views)
 

The Following User Says Thank You to jackburton For This Useful Post:
Posts: 466 | Thanked: 661 times | Joined on Jan 2009
#53
 

The Following 3 Users Say Thank You to jackburton For This Useful Post:
Posts: 191 | Thanked: 415 times | Joined on Jan 2012
#54
I really enjoyed this application. Good job!

Any plans of building it for harmattan as well?
 
Posts: 466 | Thanked: 661 times | Joined on Jan 2009
#55
Originally Posted by caveman View Post
I really enjoyed this application. Good job!

Any plans of building it for harmattan as well?
Yeah. that was a goal. I got the N950 in the competition. I personally rely on maecaltasks in my workflow now so moving to Harmattan i would need to port it.

The thing is, all the harmattan documentation and SDK are offline right now. I can't start to port until that is made available again somehow.

Next item for maecaltasks is alarm enablement...
 

The Following 3 Users Say Thank You to jackburton For This Useful Post:
Posts: 466 | Thanked: 661 times | Joined on Jan 2009
#56
Here's a new build with alarms and some new icons.


maecaltasks_20121114 by brander snaxe, on Flickr
Attached Files
File Type: deb maecaltasks_1.1.0-0dev201211142153_armel.deb (128.5 KB, 71 views)
 

The Following 4 Users Say Thank You to jackburton For This Useful Post:
Posts: 466 | Thanked: 661 times | Joined on Jan 2009
#57
New experimental build. I added the back-end for custom views. If you can write a sqlite WHERE clause then you can create your own view into maecaltasks (assuming the column is available).

I include a couple of sample views. To add more, insert into the Views tables in the ~/.calendar/calendardb file.

For date ranges, I used this reference:
http://www.sqlite.org/lang_datefunc.html

I hope this feature makes the tool customizable for any users who may want new "outlooks" on their agendas.

Here's some screenshots:

maecaltasks_views by brander snaxe, on Flickr


maecaltasks_views_portrait by brander snaxe, on Flickr


maecaltasks_views__due_this_weekend by brander snaxe, on Flickr


maecaltasks_views__Thanksgiving by brander snaxe, on Flickr
Attached Files
File Type: deb maecaltasks_1.1.0-0dev201211160300_armel.deb (133.0 KB, 65 views)
 

The Following 4 Users Say Thank You to jackburton For This Useful Post:
Posts: 466 | Thanked: 661 times | Joined on Jan 2009
#58
Let me know if you need help writing the SQL code for adding a new view.
 
Posts: 466 | Thanked: 661 times | Joined on Jan 2009
#59
Here are some views I just created from the phone. Use this as an example.

Code:
INSERT INTO View (Summary,WhereClause,OrderBy)
VALUES
('Tasks Due Next 5 Days',
 'Type = ''2'' AND DateStart BETWEEN strftime(''%s'',''now'',''start of day'',''utc'') AND strftime(''%s'',''now'',''start of day'',''+4 day'',''utc'')',
 'status,DateStart'
);

INSERT INTO View (Summary,WhereClause,OrderBy)
VALUES
('Tasks Due Next 3 Days',
 'Type = ''2'' AND DateStart BETWEEN strftime(''%s'',''now'',''start of day'',''utc'') AND strftime(''%s'',''now'',''start of day'',''+2 day'',''utc'')',
 'status,DateStart'
);

maecaltasks_more_views by brander snaxe, on Flickr
 

The Following 6 Users Say Thank You to jackburton For This Useful Post:
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#60
gzomfg, this is ace.
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
 
Reply


 
Forum Jump


All times are GMT. The time now is 23:10.