Include headers also when copying stream stats
This is for plain text copy format. This also replaces any newlines in the header text with a space to maintain formatting.
This commit is contained in:
parent
28b308ce6c
commit
268fad0690
@ -19,6 +19,9 @@
|
|||||||
<property name="contextMenuPolicy">
|
<property name="contextMenuPolicy">
|
||||||
<enum>Qt::ActionsContextMenu</enum>
|
<enum>Qt::ActionsContextMenu</enum>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="selectionBehavior">
|
||||||
|
<enum>QAbstractItemView::SelectRows</enum>
|
||||||
|
</property>
|
||||||
<property name="whatsThis">
|
<property name="whatsThis">
|
||||||
<string>Oops! We don't seem to have any stream statistics for the requested port(s)
|
<string>Oops! We don't seem to have any stream statistics for the requested port(s)
|
||||||
|
|
||||||
|
@ -169,7 +169,8 @@ private:
|
|||||||
for (int i = start; i < end; i++)
|
for (int i = start; i < end; i++)
|
||||||
if (indexes.contains(model()->index(indexes.first().row(), i)))
|
if (indexes.contains(model()->index(indexes.first().row(), i)))
|
||||||
text.append(model()->headerData(i, Qt::Horizontal)
|
text.append(model()->headerData(i, Qt::Horizontal)
|
||||||
.toString()+"\t");;
|
.toString().replace('\n', ' ')
|
||||||
|
+"\t");;
|
||||||
text.append("\n");
|
text.append("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user