diff options
author | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2008-09-26 00:47:07 +0000 |
---|---|---|
committer | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2008-09-26 00:47:07 +0000 |
commit | 05e9e7b4fcefeedafe9372fa649686d0273f2198 (patch) | |
tree | 20ee3ca2e36b63b3bb12321ab78977273f5224f8 | |
parent | some code-reorganisation in keylist.cpp (diff) | |
download | gpg4usb-05e9e7b4fcefeedafe9372fa649686d0273f2198.tar.gz gpg4usb-05e9e7b4fcefeedafe9372fa649686d0273f2198.zip |
some code-reorganisation in keylist.cpp
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@175 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rw-r--r-- | keylist.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/keylist.cpp b/keylist.cpp index 5bdb2c6..22903c5 100644 --- a/keylist.cpp +++ b/keylist.cpp @@ -39,9 +39,12 @@ KeyList::KeyList(QWidget *parent) // may be it should focus on whole row m_keyList->setFocusPolicy(Qt::NoFocus); + m_keyList->setAlternatingRowColors(true); + QStringList labels; labels << "" << "" << "Name" << "EMail" << "id"; m_keyList->setHorizontalHeaderLabels(labels); + m_keyList->horizontalHeader()->setStretchLastSection(true); m_deleteButton = new QPushButton(tr("Delete Checked Keys")); @@ -50,6 +53,8 @@ KeyList::KeyList(QWidget *parent) QVBoxLayout *layout = new QVBoxLayout; layout->addWidget(m_keyList); layout->addWidget(m_deleteButton); + layout->setContentsMargins(0, 0, 0, 0); + layout->setSpacing(3); setLayout(layout); createActions(); |