comparison src/pngplayer.h @ 37:0c05958d254c

(issue 13, 6) Add constant index number column to data and view
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 06 May 2015 17:17:13 +0200
parents 64a51a42c01f
children 26e1521b9afd
comparison
equal deleted inserted replaced
36:92bb9687d716 37:0c05958d254c
46 * 46 *
47 * @param fileName: The picture file to show. 47 * @param fileName: The picture file to show.
48 * @param current: The row index of the currently shown image. 48 * @param current: The row index of the currently shown image.
49 * @param max: The row count. 49 * @param max: The row count.
50 * @param timestamp: The timestamp of the image. 50 * @param timestamp: The timestamp of the image.
51 * @param number: The index number of the picture to show.
51 */ 52 */
52 void showPicture(const QString& fileName, int current, int max, 53 void showPicture(const QString& fileName, int current, int max,
53 const QDateTime& timestamp); 54 const QDateTime& timestamp, int number);
54 55
55 /**@brief set the base dir to which filenames will be relative. */ 56 /**@brief set the base dir to which filenames will be relative. */
56 void setBaseDir(const QString& dirName) { mBaseDir.setPath(dirName); } 57 void setBaseDir(const QString& dirName) { mBaseDir.setPath(dirName); }
57 58
58 /**@brief update positional information / slider current / max info. */ 59 /**@brief update positional information / slider current / max info. */
59 void updatePositions(int current, int max, const QDateTime& timestamp); 60 void updatePositions(int current, int max, const QDateTime& timestamp, int number);
60 61
61 /**@brief set the replay speed */ 62 /**@brief set the replay speed */
62 void setSpeed(int mSecsPerPicture); 63 void setSpeed(int mSecsPerPicture);
63 64
64 /**@brief start or pause the replay */ 65 /**@brief start or pause the replay */
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)