17 #include <QAbstractSlider> 19 #include <QTextBrowser> 70 connect( sndr, SIGNAL(sliderPressed()),
this, SLOT(sliderPressed()) );
71 connect( sndr, SIGNAL(sliderReleased()),
this, SLOT(sliderReleased()) );
102 friend class uiTextBrowserBody;
109 , breceiver_( receiver )
111 connect( sndr, SIGNAL(backwardAvailable(
bool)),
112 this, SLOT(backwardAvailable(
bool)) );
113 connect(sndr,SIGNAL(forwardAvailable(
bool)),
114 this, SLOT(forwardAvailable(
bool)));
115 connect(sndr,SIGNAL(highlighted(
const QString&)),
116 this, SLOT(highlighted(
const QString&)));
117 connect(sndr,SIGNAL(anchorClicked(
const QUrl&)),
118 this,SLOT(anchorClicked(
const QUrl&)));
144 breceiver_->
lastlink_ = lnk.toLatin1().data();
150 breceiver_->
lastlink_ = lnk.toString().toLatin1().data();
Definition: i_qtextedit.h:31
Notifier< uiTextEditBase > textChanged
Definition: uitextedit.h:49
void copyAvailable(bool yn)
Definition: i_qtextedit.h:56
friend class uiTextEditBody
Definition: i_qtextedit.h:34
void trigger(C c, T &t)
Definition: callback.h:399
Notifier< uiTextEditBase > sliderReleased
Definition: uitextedit.h:51
i_TextEditMessenger(QTextEdit *sndr, uiTextEditBase *receiver)
Definition: i_qtextedit.h:38
i_BrowserMessenger(QTextBrowser *sndr, uiTextBrowser *receiver)
Definition: i_qtextedit.h:105
Notifier< uiTextBrowser > linkHighlighted
Definition: uitextedit.h:136
bool cangobackw_
Definition: uitextedit.h:145
uiTextBrowser * breceiver_
Definition: i_qtextedit.h:125
BufferString lastlink_
Definition: uitextedit.h:143
bool cangoforw_
Definition: uitextedit.h:144
void backwardAvailable(bool yn)
Definition: i_qtextedit.h:130
virtual ~i_BrowserMessenger()
Definition: i_qtextedit.h:121
void forwardAvailable(bool yn)
Definition: i_qtextedit.h:136
Definition: uitextedit.h:25
void trigger(T &t)
Definition: callback.h:258
Notifier< uiTextEditBase > sliderPressed
Definition: uitextedit.h:50
void anchorClicked(const QUrl &lnk)
Definition: i_qtextedit.h:148
QTextEdit * sender_
Definition: i_qtextedit.h:49
CNotifier< uiTextEditBase, bool > copyAvailable
Definition: uitextedit.h:52
Definition: uitextedit.h:102
Notifier< uiTextBrowser > linkClicked
Definition: uitextedit.h:137
Helper class for uiTextBrowser to relay Qt's messages.
Definition: i_qtextedit.h:99
void highlighted(const QString &lnk)
Definition: i_qtextedit.h:142
void textChanged()
Definition: i_qtextedit.h:53
QTextBrowser * bsender_
Definition: i_qtextedit.h:126
uiTextEditBase * receiver_
Definition: i_qtextedit.h:48
Notifier< uiTextBrowser > goneForwardOrBack
Definition: uitextedit.h:135