zz_historyDialog.cpp

changeset 98
5dcc551f260a
parent 97
52bcca21579e
child 100
e40358266290
--- a/zz_historyDialog.cpp	Thu Apr 11 01:35:30 2013 +0300
+++ b/zz_historyDialog.cpp	Thu Apr 11 02:26:14 2013 +0300
@@ -54,6 +54,7 @@
 	qButtonLayout->addStretch ();
 	
 	QGridLayout* qLayout = new QGridLayout;
+	qLayout->setColumnStretch (0, 1);
 	qLayout->addWidget (qHistoryList, 0, 0, 2, 1);
 	qLayout->addLayout (qButtonLayout, 0, 1);
 	qLayout->addWidget (qButtons, 1, 1);
@@ -190,6 +191,19 @@
 			}
 			break;
 		
+		case HISTORY_Inline:
+			{
+				InlineHistory* subentry = static_cast<InlineHistory*> (entry);
+				
+				zText.format ("%s %lu subfiles:\n%lu resultants",
+					(subentry->bDeep) ? "Deep-inlined" : "Inlined",
+					(ulong) subentry->paRefs.size(),
+					(ulong) subentry->ulaBitIndices.size());
+				
+				qEntryIcon = getIcon (subentry->bDeep ? "inline-deep" : "inline");
+			}
+			break;
+		
 		default:
 			zText = "???";
 			break;

mercurial