View Single Post
Posts: 61 | Thanked: 27 times | Joined on Jul 2010
#324
I have another suggestion....
I have always valued new features above mere cosmetics; so I'm quite embarrassed to make yet another request that is totally cosmetic.

Your new layout for the INBOX-list has fixed my problems in navigating through the inbox. [many thanks!!!]

But I also started thinking about making it easier to visually scan through the inbox list as you are scrolling it. This is a mock up of what I came up with:


I was trying to make the icons totally different from each other; so you could recognize them even while scrolling.

But I think I over did it (and made it look a bit goofy).

I looked through your code to see how difficult this would be.
The following is what I came up with [warning: I do not know how to program QML, so this is only a guess]:

Code:
// ---- InboxModel.cpp (export shortTime and shortDate to InboxList.qml)
int daysTo = dt.daysTo (QDateTime::currentDateTime ());
shortTime = dt.toString ("hh:mm");
switch (daysTo) {
	case 0: shortDate = "today";	 break;
	case 1: shortDate = "yesterday"; break;
	case 2:
	case 3:
	case 4:
	case 5:
	case 6: shortDate = dt.toString ("dddd");	 break;
	default: shortDate = dt.toString ("dd-MMM");
}
Code:
// ---- InboxList.qml [line 262...] 
Text {  // display call date and time:
  id: textName
  anchors {
    verticalCenter: parent.verticalCenter
    right: parent.right; rightMargin: 5
  }
  text: shortDate + "\n" + shortTime; color: "white"
  font.pointSize: (Code.btnFontPoint () / 12)
}
row {  // display call-type icon and caller's name:
  anchors {
    verticalCenter: parent.verticalCenter
    left: parent.left; leftMargin: 5
  }
// leave some room for date & time. [50 is a complete guess]
  width: parent.width - 50  
  spacing: 2
  Image { 
    source: type + ".png"
    fillMode: Image.PreserveAspectFit 
  }
  Text  { 
    text: name; color: "gold"
    font.pointSize: (Code.btnFontPoint () / 8) 
  }
}
memo: The icons came from "Clker.com - the royalty free clip art", and some playing in GIMP.
The icons are now 190X100 (as the orignals were 92X100).
Let me know if you want the icons.
 

The Following User Says Thank You to kbyork For This Useful Post: