2020-10-07 11:36:04 +01:00
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2020-12-26 19:56:06 +00:00
|
|
|
// Copyright (c) 2020-2021, The Monero Project.
|
2020-10-07 11:36:04 +01:00
|
|
|
|
|
|
|
#ifndef FEATHER_MODELUTILS_H
|
|
|
|
#define FEATHER_MODELUTILS_H
|
|
|
|
|
|
|
|
#include <QString>
|
|
|
|
#include <QModelIndex>
|
|
|
|
|
|
|
|
class ModelUtils {
|
|
|
|
public:
|
|
|
|
static QString displayAddress(const QString& address, int sections = 3, const QString & sep = " ");
|
|
|
|
static void copyColumn(QModelIndex * index, int column);
|
|
|
|
static QFont getMonospaceFont();
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif //FEATHER_MODELUTILS_H
|