mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-24 22:30:42 -04:00
MessagesDialog:
- enabled navigation through the messages with cursor keys - used timer for better handling after keypress git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2804 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
1b4a70dbb3
commit
9d5db08b7a
2 changed files with 50 additions and 9 deletions
|
@ -42,6 +42,8 @@ public:
|
|||
/** Default Constructor */
|
||||
MessagesDialog(QWidget *parent = 0);
|
||||
/** Default Destructor */
|
||||
~MessagesDialog();
|
||||
|
||||
void insertMsgTxtAndFiles(QModelIndex index = QModelIndex());
|
||||
virtual void keyPressEvent(QKeyEvent *) ;
|
||||
void updateMessageSummaryList();
|
||||
|
@ -57,7 +59,9 @@ private slots:
|
|||
void msgfilelistWidgetCostumPopupMenu(QPoint);
|
||||
|
||||
void changeBox( int newrow );
|
||||
void updateCurrentMessage(const QModelIndex&);
|
||||
void updateCurrentMessage();
|
||||
void currentChanged(const QModelIndex&);
|
||||
void clicked(const QModelIndex&);
|
||||
|
||||
void newmessage();
|
||||
|
||||
|
@ -127,6 +131,9 @@ private:
|
|||
|
||||
QFont mFont;
|
||||
|
||||
// timer and index for showing message
|
||||
QTimer *timer;
|
||||
QModelIndex timerIndex;
|
||||
|
||||
/** Qt Designer generated object */
|
||||
Ui::MessagesDialog ui;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue