12#ifndef __QT_UI_UTILS_H__
13#define __QT_UI_UTILS_H__
38#define RECENT_KEY_CAPTURE_FILE "recent.capture_file"
39#define RECENT_KEY_REMOTE_HOST "recent.remote_host"
51#define gxx_list_next(list) ((list) ? ((reinterpret_cast<GList *>(list))->next) : Q_NULLPTR)
52#define gxx_constlist_next(list) ((list) ? ((reinterpret_cast<const GList *>(list))->next) : Q_NULLPTR)
53#define gxx_list_previous(list) ((list) ? ((reinterpret_cast<GList *>(list))->prev) : Q_NULLPTR)
54#define gxx_constlist_previous(list) ((list) ? ((reinterpret_cast<const GList *>(list))->prev) : Q_NULLPTR)
56#define gxx_list_data(type, list) ((list) ? ((reinterpret_cast<type>(list->data))) : Q_NULLPTR)
109const QString
int_to_qstring(qint64 value,
int field_width = 0,
int base = 10);
bool qActionLessThan(const QAction *a1, const QAction *a2)
Definition qt_ui_utils.cpp:201
const QString bits_s_to_qstring(const double bits_s)
Definition qt_ui_utils.cpp:157
QByteArray gchar_free_to_qbytearray(char *glib_string)
Definition qt_ui_utils.cpp:61
QVector< rtpstream_id_t * > qvector_rtpstream_ids_copy(QVector< rtpstream_id_t * > stream_ids)
Definition qt_ui_utils.cpp:298
const QString int_to_qstring(qint64 value, int field_width=0, int base=10)
Definition qt_ui_utils.cpp:82
const QString file_size_to_qstring(const int64_t size)
Definition qt_ui_utils.cpp:163
QString html_escape(const QString plain_string)
Definition qt_ui_utils.cpp:176
QByteArray gbytearray_free_to_qbytearray(GByteArray *glib_array)
Definition qt_ui_utils.cpp:75
void desktop_show_in_folder(const QString file_path)
Definition qt_ui_utils.cpp:210
void storeLastDir(QString dir)
Store the directory as last directory being used.
Definition qt_ui_utils.cpp:352
const QString time_t_to_qstring(time_t ti_time)
Definition qt_ui_utils.cpp:169
const QString address_to_display_qstring(const struct _address *address)
QString make_filter_based_on_rtpstream_id(QVector< rtpstream_id_t * > stream_ids)
Definition qt_ui_utils.cpp:318
bool rect_on_screen(const QRect &rect)
Definition qt_ui_utils.cpp:280
const QString val_to_qstring(const uint32_t val, const struct _value_string *vs, const char *fmt) G_GNUC_PRINTF(3
char * qstring_strdup(QString q_string)
Definition qt_ui_utils.cpp:53
void smooth_font_size(QFont &font)
Definition qt_ui_utils.cpp:181
QByteArray gstring_free_to_qbytearray(GString *glib_gstring)
Definition qt_ui_utils.cpp:68
void set_action_shortcuts_visible_in_context_menu(QList< QAction * > actions)
Definition qt_ui_utils.cpp:291
const QString const QString val_ext_to_qstring(const uint32_t val, struct _value_string_ext *vse, const char *fmt) G_GNUC_PRINTF(3
QString gchar_free_to_qstring(char *glib_string)
Definition qt_ui_utils.cpp:57
const QString address_to_qstring(const struct _address *address, bool enclose=false)
bool qStringCaseLessThan(const QString &s1, const QString &s2)
Definition qt_ui_utils.cpp:205
void qvector_rtpstream_ids_free(QVector< rtpstream_id_t * > stream_ids)
Definition qt_ui_utils.cpp:311
QString openDialogInitialDir()
Return the last directory that had been opened.
Definition qt_ui_utils.cpp:340
const QString const QString const QString range_to_qstring(const range_string *range)
Definition qt_ui_utils.cpp:148
Definition value_string.h:292
Definition value_string.h:169
Definition value_string.h:25