Changeset 176 for smplayer/trunk/src/shortcutgetter.h
- Timestamp:
- May 3, 2016, 5:25:45 PM (9 years ago)
- Location:
- smplayer/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/trunk
- Property svn:mergeinfo changed
/smplayer/vendor/current merged: 175
- Property svn:mergeinfo changed
-
smplayer/trunk/src/shortcutgetter.h
r165 r176 1 1 /* smplayer, GUI front-end for mplayer. 2 Copyright (C) 2006-201 4Ricardo Villalba <rvm@users.sourceforge.net>2 Copyright (C) 2006-2016 Ricardo Villalba <rvm@users.sourceforge.net> 3 3 4 4 This program is free software; you can redistribute it and/or modify … … 15 15 along with this program; if not, write to the Free Software 16 16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 */18 17 19 /*20 18 Note: The ShortcutGetter class is taken from the source code of Edyuk 21 (http://www.edyuk.org )19 (http://www.edyuk.org/), from file 3rdparty/qcumber/qshortcutdialog.cpp 22 20 23 21 Copyright (C) 2006 FullMetalCoder 24 22 License: GPL 23 24 I modified it to support multiple shortcuts and some other few changes. 25 25 */ 26 26 27 27 28 #ifndef _SHORTCUTGETTER_H_29 #define _SHORTCUTGETTER_H_28 #ifndef SHORTCUTGETTER_H 29 #define SHORTCUTGETTER_H 30 30 31 31 #include <QDialog> 32 #include <QListWidget> 32 33 33 34 class QLineEdit; … … 44 45 protected slots: 45 46 void setCaptureKeyboard(bool b); 47 void rowChanged(int row); 48 void textChanged(const QString & text); 49 50 void addItemClicked(); 51 void removeItemClicked(); 46 52 47 53 protected: … … 57 63 QStringList lKeys; 58 64 bool capture; 65 66 QListWidget * list; 67 QPushButton * addItem; 68 QPushButton * removeItem; 59 69 }; 60 70
Note:
See TracChangeset
for help on using the changeset viewer.