comparison ui/certificatelistwidget.h @ 720:3d669400104a

(Issue23) Fix certificate selection On show always the first certificate was selected and setSelected also only set the first certificate.
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 02 Jul 2014 17:03:44 +0200
parents 973a7ce19658
children a467204a35f5
comparison
equal deleted inserted replaced
719:49bf73b5c7de 720:3d669400104a
40 QStringList unselectedCertificates(); 40 QStringList unselectedCertificates();
41 QList<Certificate> certificateList(); 41 QList<Certificate> certificateList();
42 int selectedCertCount(); 42 int selectedCertCount();
43 bool contains(const Certificate &cert); 43 bool contains(const Certificate &cert);
44 void setSelected(int index); 44 void setSelected(int index);
45 int selected() { return mCertificateList->currentRow(); }
45 46
46 private: 47 private:
47 void setupGUI(); 48 void setupGUI();
48 49
49 QListWidget *mCertificateList; 50 QListWidget *mCertificateList;

http://wald.intevation.org/projects/trustbridge/