Added generic copySelectionToClipboard function that takes the selection

of a model based tableview and copies the data as CSV to the clipoard.
This commit is contained in:
Eelke Klein 2017-02-04 11:54:18 +01:00
parent 798f8f51b9
commit 242f5464df
2 changed files with 36 additions and 0 deletions

2
util.h
View file

@ -2,7 +2,9 @@
#define UTIL_H
#include <QString>
#include <QTableView>
QString msfloatToHumanReadableString(float ms);
void copySelectionToClipboard(const QTableView *view);
#endif // UTIL_H