10#ifndef FUNNEL_TEXT_DIALOG_H
11#define FUNNEL_TEXT_DIALOG_H
32 explicit FunnelTextDialog(QWidget *parent,
const QString &title = QString());
39 void setText(
const QString text);
40 void appendText(
const QString text);
41 void prependText(
const QString text);
43 const char *getText();
44 void setCloseCallback(text_win_close_cb_t close_cb,
void* close_cb_data);
45 void setTextEditable(
bool editable);
46 void addButton(
funnel_bt_t *button_cb, QString label);
50 void on_findLineEdit_textChanged(
const QString &pattern);
53 Ui::FunnelTextDialog *ui;
56 text_win_close_cb_t close_cb_;
Definition funnel_text_dialog.h:28
Definition geometry_state_dialog.h:17
void text_window_clear(funnel_text_window_t *ftw)
Clears the text in the funnel text window.
Definition funnel_text_dialog.cpp:195
void text_window_append(funnel_text_window_t *ftw, const char *text)
Append text to a funnel text window.
Definition funnel_text_dialog.cpp:181
void text_window_set_editable(funnel_text_window_t *ftw, bool editable)
Set the editable state of the text window.
Definition funnel_text_dialog.cpp:217
void text_window_prepend(funnel_text_window_t *ftw, const char *text)
Prepend text to a funnel text window.
Definition funnel_text_dialog.cpp:188
void text_window_set_close_cb(funnel_text_window_t *ftw, text_win_close_cb_t close_cb, void *close_cb_data)
Set the close callback for a funnel text window.
Definition funnel_text_dialog.cpp:210
void text_window_set_text(funnel_text_window_t *ftw, const char *text)
Set the text in a funnel text window.
Definition funnel_text_dialog.cpp:174
void text_window_add_button(funnel_text_window_t *ftw, funnel_bt_t *funnel_button, const char *label)
Adds a button to the text window.
Definition funnel_text_dialog.cpp:231
void text_window_destroy(funnel_text_window_t *ftw)
Destroys a funnel text window.
Definition funnel_text_dialog.cpp:224
const char * text_window_get_text(funnel_text_window_t *ftw)
Gets the text from a funnel text window.
Definition funnel_text_dialog.cpp:202
Definition tap-funnel.c:21