<commit_before>// Copyright (c) 2011-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#ifndef BITCOIN_QT_GUIUTIL_H
#define BITCOIN_QT_GUIUTIL_H

#include <amount.h>
#include <fs.h>

#include <QEvent>
#include <QHeaderView>
#include <QMessageBox>
#include <QObject>
#include <QProgressBar>
#include <QString>
#include <QTableView>
#include <QLabel>
#include <QGraphicsView>

class QValidatedLineEdit;
class SendCoinsRecipient;

QT_BEGIN_NAMESPACE
class QAbstractItemView;
class QDateTime;
class QFont;
class QLineEdit;
class QUrl;
class QWidget;
QT_END_NAMESPACE

/** Utility functions used by the Bitcoin Qt UI.
 */
namespace GUIUtil
{
    // Common stylesheets
    extern QString veriStyleSheet;
    extern QString veriAskPassphrasePageStyleSheet;
    extern QGraphicsView *header(QWidget *parent, QString backgroundImage);

    // Create human-readable string from date
    QString dateTimeStr(const QDateTime &datetime);
    QString dateTimeStr(qint64 nTime);
<commit_msg>Add guiutil constants<commit_after>// Copyright (c) 2011-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#ifndef BITCOIN_QT_GUIUTIL_H
#define BITCOIN_QT_GUIUTIL_H

#include <amount.h>
#include <fs.h>

#include <QEvent>
#include <QHeaderView>
#include <QMessageBox>
#include <QObject>
#include <QProgressBar>
#include <QString>
#include <QTableView>
#include <QLabel>
#include <QGraphicsView>

class QValidatedLineEdit;
class SendCoinsRecipient;

QT_BEGIN_NAMESPACE
class QAbstractItemView;
class QDateTime;
class QFont;
class QLineEdit;
class QUrl;
class QWidget;
QT_END_NAMESPACE

/** Utility functions used by the Bitcoin Qt UI.
 */
namespace GUIUtil
{
    extern int TOOLBAR_WIDTH;
    extern int TOOLBAR_ICON_WIDTH;
    extern int TOOLBAR_ICON_HEIGHT;
    extern int HEADER_WIDTH;
    extern int HEADER_HEIGHT;
    extern int BUTTON_WIDTH;
    extern int BUTTON_HEIGHT;
    extern int FRAMEBLOCKS_LABEL_WIDTH;
    extern int WINDOW_MIN_WIDTH;
    extern int WINDOW_MIN_HEIGHT;
    extern int STATUSBAR_ICONSIZE;
    extern int STATUSBAR_MARGIN;
    extern int STATUSBAR_HEIGHT;
    
    // Common stylesheets
    extern QString veriStyleSheet;
    extern QString veriAskPassphrasePageStyleSheet;
    extern QGraphicsView *header(QWidget *parent, QString backgroundImage);

    // Create human-readable string from date
    QString dateTimeStr(const QDateTime &datetime);
    QString dateTimeStr(qint64 nTime);

{'fraction_non_alphanumeric': 0.07695223654283548, 'fraction_numerical': 0.0075815011372251705, 'mean_word_length': 5.011389521640091, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '460168', 'n_tokens_mistral': 877, 'n_tokens_neox': 838, 'n_words': 243}