Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 98d6b53e11e983e268c3e19f14e091a0 > files > 718

kdepim-devel-doc-3.5.9-9mdv2008.1.x86_64.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US">

<head>
  <title>kaddressbook: CardView Class Reference (kaddressbook)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  <meta http-equiv="Content-Style-Type" content="text/css" />

  <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org"  r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org"  r (n 0 s 0 v 0 l 0))' />

  <meta name="trademark" content="KDE e.V." />
  <meta name="description" content="K Desktop Environment Homepage, KDE.org" />
  <meta name="MSSmartTagsPreventParsing" content="true" />
  <meta name="robots" content="all" />

  <link rel="shortcut icon" href="../../favicon.ico" />

<link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" />



<style type="text/css">
<!--
hr { display: none; }
#content h2 { margin-left: 0px; }
table.mdTable { background-color: #f8f8f8; border: .2em solid #d7d7d7; }
td.mdRow { padding: 8px 20px; }
td.md { font-weight: bold; }
td.mdname1 { font-weight: bold; color: #602020; }
td.mdname { font-weight: bold; color: #602020;  }

-->
</style>

</head>

<body>

<div id="nav_header_top" align="right">
  <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a>

  <a href="../.."><img id="nav_header_logo" alt="Home" align="left" src="../../kde_gear_64.png" border="0" /></a>
  <span class="doNotDisplay">::</span>
  <img id="nav_header_logo_right" alt="" align="right" src="../../pimlogo.png" border="0" />

  <div id="nav_header_title" align="left">KDE PIM API Reference</div>


</div>

<div id="nav_header_bottom" align="right">
  <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span>
  <div id="nav_header_bottom_left" style="text-align: left;">
/ <a href="../../">API Reference</a>
 / <a href=".">kaddressbook</a>
  </div>
</div>


<table id="main" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
      <td valign="top" class="menuheader" height="0"></td>

  <td id="contentcolumn" valign="top" rowspan="2" >
    <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;">
    <h2><a name="content"></a>kaddressbook</h2>


<!-- Generated by Doxygen 1.5.5 -->
<div class="contents">
<h1>CardView Class Reference</h1><!-- doxytag: class="CardView" --><!-- doxytag: inherits="QScrollView" --><code>#include &lt;<a class="el" href="cardview_8h-source.html">cardview.h</a>&gt;</code>
<p>
Inherits QScrollView.
<p>
Inherited by AddresseeCardView.
<p>

<p>
<a href="classCardView-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
The <a class="el" href="classCardView.html" title="The CardView is a method of displaying data in cards.">CardView</a> is a method of displaying data in cards. 
<p>
This idea is similar to the idea of a rolodex or business cards. Each card has a caption and a list of fields, which are label&lt;-&gt;value pairs. The <a class="el" href="classCardView.html" title="The CardView is a method of displaying data in cards.">CardView</a> displays multiple cards in a grid. The Cards are sorted based on their caption.<p>
The <a class="el" href="classCardView.html" title="The CardView is a method of displaying data in cards.">CardView</a> class is designed to mirror the API of the QListView or QIconView. The <a class="el" href="classCardView.html" title="The CardView is a method of displaying data in cards.">CardView</a> is also completely independant of KAddressBook and can be used elsewhere. With the exception of a few simple config checks, the <a class="el" href="classCardView.html" title="The CardView is a method of displaying data in cards.">CardView</a> is also 100% independant of KDE. 
<p>Definition at line <a class="el" href="cardview_8h-source.html#l00194">194</a> of file <a class="el" href="cardview_8h-source.html">cardview.h</a>.</p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><b>SelectionMode</b> { <b>Single</b>, 
<b>Multi</b>, 
<b>Extended</b>, 
<b>NoSelection</b>
 }</td></tr>

<tr><td colspan="2"><br><h2>Signals</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#bd7b7e28115979603ec526fec0769dff">selectionChanged</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#cb98fa9b4f86a26cd0d6d2662eaa41b9">selectionChanged</a> (<a class="el" href="classCardViewItem.html">CardViewItem</a> *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#c8a17c2f8d918370cdc3fd73b1665ee5">clicked</a> (<a class="el" href="classCardViewItem.html">CardViewItem</a> *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#6e85d31b7662315cf748d5d9158a1cef">executed</a> (<a class="el" href="classCardViewItem.html">CardViewItem</a> *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#6b1de93272a369b29c86ea9b580b803c">doubleClicked</a> (<a class="el" href="classCardViewItem.html">CardViewItem</a> *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#2580cef48769536ca161ad35c977352e">currentChanged</a> (<a class="el" href="classCardViewItem.html">CardViewItem</a> *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#02943e60c1d2006ecfe4c5c7ff752c93">returnPressed</a> (<a class="el" href="classCardViewItem.html">CardViewItem</a> *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#ca0525a029b0816d83cc3d5f9fca838d">contextMenuRequested</a> (<a class="el" href="classCardViewItem.html">CardViewItem</a> *, const QPoint &amp;)</td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#933786f5b27e41523af8f9008bebb63d">CardView</a> (QWidget *parent, const char *name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#bbe967566eed569899c510bfd5842ae8">insertItem</a> (<a class="el" href="classCardViewItem.html">CardViewItem</a> *item)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#9cdc6c5f34ca0484ed0afaa03b5d84c9">takeItem</a> (<a class="el" href="classCardViewItem.html">CardViewItem</a> *item)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#3452f30980688c339f9ff7177b2629c0">clear</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCardViewItem.html">CardViewItem</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#2c22f3dd12392c1be3f98bb85943247c">currentItem</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#58054f1d4d44c5fd5a0f3b069103173f">setCurrentItem</a> (<a class="el" href="classCardViewItem.html">CardViewItem</a> *item)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCardViewItem.html">CardViewItem</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#6dd0a7e93a9664e3e340ef1f40789b24">itemAt</a> (const QPoint &amp;viewPos) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QRect&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#105a30989da31632dda1b7f850d3e20a">itemRect</a> (const <a class="el" href="classCardViewItem.html">CardViewItem</a> *item) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#39b429a5dc4e6d8ab518d61411ca9505">ensureItemVisible</a> (const <a class="el" href="classCardViewItem.html">CardViewItem</a> *item)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#c91d140c9c5fb5e8540f149297debdcd">repaintItem</a> (const <a class="el" href="classCardViewItem.html">CardViewItem</a> *item)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#3cec31b27f9f0d744a4e75b056b4eb68">setSelectionMode</a> (SelectionMode mode)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">SelectionMode&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#3bffb6eabb8b78c6982b853f966c128e">selectionMode</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#e3f1ec18cb8ea4eb6edc410f35150992">setSelected</a> (<a class="el" href="classCardViewItem.html">CardViewItem</a> *item, bool selected)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#af5389ae0583b606a8713afc3d2650b9">selectAll</a> (bool state)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#1e6aa5285afcd2cfebd4206443314264">isSelected</a> (<a class="el" href="classCardViewItem.html">CardViewItem</a> *item) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCardViewItem.html">CardViewItem</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#810184e9ce06b2aa36e604a96b3dd4d5">selectedItem</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCardViewItem.html">CardViewItem</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#e1cb8468fd93b84300e213760ead6208">firstItem</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCardViewItem.html">CardViewItem</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#abdd5a7bac44718ac828480af3b93b0f">itemAfter</a> (const <a class="el" href="classCardViewItem.html">CardViewItem</a> *item) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#bdbcc6316bd41a3761ebeaf05461fb66">childCount</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCardViewItem.html">CardViewItem</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#4f73ad19c88c3a9d8ed8018c8c667257">findItem</a> (const QString &amp;text, const QString &amp;label, Qt::StringComparisonMode compare=Qt::BeginsWith) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">uint&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#7e7fca339e4598c554d1885b31173785">columnWidth</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#0a6b4fa770ead7a1ecd96a14db4f689d">setDrawCardBorder</a> (bool enabled)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#c12d48ebb8c6bf0a96bcb490d80e34ee">drawCardBorder</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#05649a994b6531198935fe5142909ca5">setDrawColSeparators</a> (bool enabled)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#8c9dad23a944b815ef8c2210f829eb53">drawColSeparators</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#ab0c1413c99ff2642681ed02dd396388">setDrawFieldLabels</a> (bool enabled)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#5c00f680b19431240f8903969b20d0d7">drawFieldLabels</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#0d7bfc94a5d597d73846731826ee77bd">setShowEmptyFields</a> (bool show)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#f738784fb9b7ff1ea24660f26074df87">showEmptyFields</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">uint&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#bd9be4c85053fb8cae4ff262aa879137">itemMargin</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#a019a95522e6e27f83e5694be7cf5b99">setItemMargin</a> (uint margin)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">uint&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#077b6ec372d7cf0706f056d67d6c9f28">itemSpacing</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#2088587dac0249f933f7276cec225cc8">setItemSpacing</a> (uint spacing)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#1b9560c747315521b08c11a346fb6b60">itemWidth</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#c9dde4dc1c02e1001484251c8a0ccd45">setItemWidth</a> (int width)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#3a55fc60da85c5c8b0d38d1b2137893a">setHeaderFont</a> (const QFont &amp;fnt)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QFont&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#5238d51661390411f33bc03d7e884617">headerFont</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#c84b2e7d2dd63fa9efd0778f17906f82">setFont</a> (const QFont &amp;fnt)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#8d414938ccbe056c93947fd50f66a29c">setSeparatorWidth</a> (int width)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#78b8e1271205f5d1438f405a4e2e7027">separatorWidth</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#375acddf0650535bdf745227098048fc">setMaxFieldLines</a> (int howmany)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#be8ab51e96e5b36412b92db52df7a1f6">maxFieldLines</a> () const </td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#9538ed84df3a88ba094d0b584aad349f">drawContents</a> (QPainter *p, int clipx, int clipy, int clipw, int cliph)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#d4454695066322c5cfb336157f41f7b1">resizeEvent</a> (QResizeEvent *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#f48479e394200743c5e37e04eaeef56b">contentsWheelEvent</a> (QWheelEvent *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#b9c0e3520b62830c594f09855c56c9d3">setLayoutDirty</a> (bool dirty)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#73b3ca4524bbf4234c696f02c053b273">calcLayout</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eabee2be1e8db380bb33b990f2e557a0"></a><!-- doxytag: member="CardView::contentsMousePressEvent" ref="eabee2be1e8db380bb33b990f2e557a0" args="(QMouseEvent *)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>contentsMousePressEvent</b> (QMouseEvent *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="62994ff2cd0b9468e6862a7f3eaf84f4"></a><!-- doxytag: member="CardView::contentsMouseMoveEvent" ref="62994ff2cd0b9468e6862a7f3eaf84f4" args="(QMouseEvent *)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>contentsMouseMoveEvent</b> (QMouseEvent *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7129d69e7a04f0da8b78e3fc72cc6134"></a><!-- doxytag: member="CardView::contentsMouseReleaseEvent" ref="7129d69e7a04f0da8b78e3fc72cc6134" args="(QMouseEvent *)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>contentsMouseReleaseEvent</b> (QMouseEvent *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="257358b7082e62b93c1506e9c62e1019"></a><!-- doxytag: member="CardView::contentsMouseDoubleClickEvent" ref="257358b7082e62b93c1506e9c62e1019" args="(QMouseEvent *)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>contentsMouseDoubleClickEvent</b> (QMouseEvent *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="62dffbbe7837587b147f44c846c2f37c"></a><!-- doxytag: member="CardView::enterEvent" ref="62dffbbe7837587b147f44c846c2f37c" args="(QEvent *)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>enterEvent</b> (QEvent *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="85f7620282e75d24248bd1bdef577e95"></a><!-- doxytag: member="CardView::leaveEvent" ref="85f7620282e75d24248bd1bdef577e95" args="(QEvent *)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>leaveEvent</b> (QEvent *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="38235862e21fa3f9f19f55811d951362"></a><!-- doxytag: member="CardView::focusInEvent" ref="38235862e21fa3f9f19f55811d951362" args="(QFocusEvent *)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>focusInEvent</b> (QFocusEvent *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8585fdbb772a6ea8a107caff0df9a3ad"></a><!-- doxytag: member="CardView::focusOutEvent" ref="8585fdbb772a6ea8a107caff0df9a3ad" args="(QFocusEvent *)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>focusOutEvent</b> (QFocusEvent *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a390066dfb927d93fb1e8f9c936e7ce1"></a><!-- doxytag: member="CardView::keyPressEvent" ref="a390066dfb927d93fb1e8f9c936e7ce1" args="(QKeyEvent *)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>keyPressEvent</b> (QKeyEvent *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#f97168b938e95736df57dbd61baaf38f">startDrag</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="317c923b8a286767c5d8d5d9421e8273"></a><!-- doxytag: member="CardView::CardViewItem" ref="317c923b8a286767c5d8d5d9421e8273" args="" -->
class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardView.html#317c923b8a286767c5d8d5d9421e8273">CardViewItem</a></td></tr>

</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="933786f5b27e41523af8f9008bebb63d"></a><!-- doxytag: member="CardView::CardView" ref="933786f5b27e41523af8f9008bebb63d" args="(QWidget *parent, const char *name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CardView::CardView           </td>
          <td>(</td>
          <td class="paramtype">QWidget *&nbsp;</td>
          <td class="paramname"> <em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor. 
<p>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00572">572</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="bbe967566eed569899c510bfd5842ae8"></a><!-- doxytag: member="CardView::insertItem" ref="bbe967566eed569899c510bfd5842ae8" args="(CardViewItem *item)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::insertItem           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCardViewItem.html">CardViewItem</a> *&nbsp;</td>
          <td class="paramname"> <em>item</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Inserts the item into the card view. 
<p>
This method does not have to be called if you created the item with a proper parent. Once inserted, the <a class="el" href="classCardView.html" title="The CardView is a method of displaying data in cards.">CardView</a> takes ownership of the item. 
<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00609">609</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="9cdc6c5f34ca0484ed0afaa03b5d84c9"></a><!-- doxytag: member="CardView::takeItem" ref="9cdc6c5f34ca0484ed0afaa03b5d84c9" args="(CardViewItem *item)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::takeItem           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCardViewItem.html">CardViewItem</a> *&nbsp;</td>
          <td class="paramname"> <em>item</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Takes the item from the view. 
<p>
The item will not be deleted and ownership of the item is returned to the caller. 
<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00615">615</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="3452f30980688c339f9ff7177b2629c0"></a><!-- doxytag: member="CardView::clear" ref="3452f30980688c339f9ff7177b2629c0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::clear           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Clears the view and deletes all card view items. 
<p>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00624">624</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="2c22f3dd12392c1be3f98bb85943247c"></a><!-- doxytag: member="CardView::currentItem" ref="2c22f3dd12392c1be3f98bb85943247c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCardViewItem.html">CardViewItem</a> * CardView::currentItem           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The current item, the item that has the focus. Whenever the view has focus, this item has a focus rectangle painted at it's border. </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classCardView.html#58054f1d4d44c5fd5a0f3b069103173f" title="Sets the CardViewItem item to the current item in the view.">setCurrentItem()</a> </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00631">631</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="58054f1d4d44c5fd5a0f3b069103173f"></a><!-- doxytag: member="CardView::setCurrentItem" ref="58054f1d4d44c5fd5a0f3b069103173f" args="(CardViewItem *item)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::setCurrentItem           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCardViewItem.html">CardViewItem</a> *&nbsp;</td>
          <td class="paramname"> <em>item</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the <a class="el" href="classCardViewItem.html" title="Represents a single card (item) in the card view.">CardViewItem</a> <code>item</code> to the current item in the view. 
<p>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00639">639</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="6dd0a7e93a9664e3e340ef1f40789b24"></a><!-- doxytag: member="CardView::itemAt" ref="6dd0a7e93a9664e3e340ef1f40789b24" args="(const QPoint &amp;viewPos) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCardViewItem.html">CardViewItem</a> * CardView::itemAt           </td>
          <td>(</td>
          <td class="paramtype">const QPoint &amp;&nbsp;</td>
          <td class="paramname"> <em>viewPos</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The item found at the given point, or 0 if there is no item at that point. </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00667">667</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="105a30989da31632dda1b7f850d3e20a"></a><!-- doxytag: member="CardView::itemRect" ref="105a30989da31632dda1b7f850d3e20a" args="(const CardViewItem *item) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QRect CardView::itemRect           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCardViewItem.html">CardViewItem</a> *&nbsp;</td>
          <td class="paramname"> <em>item</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The bounding rect of the given item. </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00684">684</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="39b429a5dc4e6d8ab518d61411ca9505"></a><!-- doxytag: member="CardView::ensureItemVisible" ref="39b429a5dc4e6d8ab518d61411ca9505" args="(const CardViewItem *item)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::ensureItemVisible           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCardViewItem.html">CardViewItem</a> *&nbsp;</td>
          <td class="paramname"> <em>item</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Ensures that the given item is in the viewable area of the widget. 
<p>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00689">689</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="c91d140c9c5fb5e8540f149297debdcd"></a><!-- doxytag: member="CardView::repaintItem" ref="c91d140c9c5fb5e8540f149297debdcd" args="(const CardViewItem *item)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::repaintItem           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCardViewItem.html">CardViewItem</a> *&nbsp;</td>
          <td class="paramname"> <em>item</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Repaints the given item. 
<p>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00695">695</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="3cec31b27f9f0d744a4e75b056b4eb68"></a><!-- doxytag: member="CardView::setSelectionMode" ref="3cec31b27f9f0d744a4e75b056b4eb68" args="(SelectionMode mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::setSelectionMode           </td>
          <td>(</td>
          <td class="paramtype">CardView::SelectionMode&nbsp;</td>
          <td class="paramname"> <em>mode</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the selection mode. 
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd>QListView </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00700">700</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="3bffb6eabb8b78c6982b853f966c128e"></a><!-- doxytag: member="CardView::selectionMode" ref="3bffb6eabb8b78c6982b853f966c128e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CardView::SelectionMode CardView::selectionMode           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The current selection mode. </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00707">707</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="e3f1ec18cb8ea4eb6edc410f35150992"></a><!-- doxytag: member="CardView::setSelected" ref="e3f1ec18cb8ea4eb6edc410f35150992" args="(CardViewItem *item, bool selected)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::setSelected           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCardViewItem.html">CardViewItem</a> *&nbsp;</td>
          <td class="paramname"> <em>item</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>selected</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Selects or deselects the given item. 
<p>
This method honors the current selection mode, so if other items are selected, they may be unselected. 
<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00737">737</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="af5389ae0583b606a8713afc3d2650b9"></a><!-- doxytag: member="CardView::selectAll" ref="af5389ae0583b606a8713afc3d2650b9" args="(bool state)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::selectAll           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>state</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Selects or deselects all items. 
<p>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00712">712</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="1e6aa5285afcd2cfebd4206443314264"></a><!-- doxytag: member="CardView::isSelected" ref="1e6aa5285afcd2cfebd4206443314264" args="(CardViewItem *item) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CardView::isSelected           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCardViewItem.html">CardViewItem</a> *&nbsp;</td>
          <td class="paramname"> <em>item</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the given item is selected, false otherwise. </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00780">780</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="810184e9ce06b2aa36e604a96b3dd4d5"></a><!-- doxytag: member="CardView::selectedItem" ref="810184e9ce06b2aa36e604a96b3dd4d5" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCardViewItem.html">CardViewItem</a> * CardView::selectedItem           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The first selected item. In single select mode, this will be the only selected item, in other modes this will be the first selected item, but others may exist. 0 if no item is selected. </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00785">785</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="e1cb8468fd93b84300e213760ead6208"></a><!-- doxytag: member="CardView::firstItem" ref="e1cb8468fd93b84300e213760ead6208" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCardViewItem.html">CardViewItem</a> * CardView::firstItem           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The first item in the view. This may be 0 if no items have been inserted. This method combined with <a class="el" href="classCardViewItem.html#0f7608325b216600e73665da5c54bae1">CardViewItem::nextItem()</a> can be used to iterator through the list of items. </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00797">797</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="abdd5a7bac44718ac828480af3b93b0f"></a><!-- doxytag: member="CardView::itemAfter" ref="abdd5a7bac44718ac828480af3b93b0f" args="(const CardViewItem *item) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCardViewItem.html">CardViewItem</a> * CardView::itemAfter           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCardViewItem.html">CardViewItem</a> *&nbsp;</td>
          <td class="paramname"> <em>item</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The item after the given item or 0 if the item is the last item. </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00954">954</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="bdbcc6316bd41a3761ebeaf05461fb66"></a><!-- doxytag: member="CardView::childCount" ref="bdbcc6316bd41a3761ebeaf05461fb66" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int CardView::childCount           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The number of items in the view. </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00802">802</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="4f73ad19c88c3a9d8ed8018c8c667257"></a><!-- doxytag: member="CardView::findItem" ref="4f73ad19c88c3a9d8ed8018c8c667257" args="(const QString &amp;text, const QString &amp;label, Qt::StringComparisonMode compare=Qt::BeginsWith) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCardViewItem.html">CardViewItem</a> * CardView::findItem           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>label</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Qt::StringComparisonMode&nbsp;</td>
          <td class="paramname"> <em>compare</em> = <code>Qt::BeginsWith</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Attempts to find the first item matching the params. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>The text to match. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>label</em>&nbsp;</td><td>The label of the field to match against. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>compare</em>&nbsp;</td><td>The compare method to use in doing the search.</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The first matching item, or 0 if no items match. </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00807">807</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="7e7fca339e4598c554d1885b31173785"></a><!-- doxytag: member="CardView::columnWidth" ref="7e7fca339e4598c554d1885b31173785" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint CardView::columnWidth           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the amounts of pixels required for one column. 
<p>
This depends on wheather drawSeparators is enabled: If so, it is itemWidth + 2*itemSpacing + separatorWidth If not, it is itemWidth + itemSpacing <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classCardView.html#1b9560c747315521b08c11a346fb6b60">itemWidth()</a>, <a class="el" href="classCardView.html#c9dde4dc1c02e1001484251c8a0ccd45" title="Sets the width made available to card items.">setItemWidth()</a>, <a class="el" href="classCardView.html#077b6ec372d7cf0706f056d67d6c9f28">itemSpacing()</a> and <a class="el" href="classCardView.html#2088587dac0249f933f7276cec225cc8" title="Sets the item spacing.">setItemSpacing()</a> </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00830">830</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="0a6b4fa770ead7a1ecd96a14db4f689d"></a><!-- doxytag: member="CardView::setDrawCardBorder" ref="0a6b4fa770ead7a1ecd96a14db4f689d" args="(bool enabled)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::setDrawCardBorder           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>enabled</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets if the border around a card should be draw. 
<p>
The border is a thing (1 or 2 pixel) line that bounds the card. When drawn, it shows when a card is highlighted and when it isn't. 
<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l01399">1399</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="c12d48ebb8c6bf0a96bcb490d80e34ee"></a><!-- doxytag: member="CardView::drawCardBorder" ref="c12d48ebb8c6bf0a96bcb490d80e34ee" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CardView::drawCardBorder           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if borders are drawn, false otherwise. </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l01407">1407</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="05649a994b6531198935fe5142909ca5"></a><!-- doxytag: member="CardView::setDrawColSeparators" ref="05649a994b6531198935fe5142909ca5" args="(bool enabled)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::setDrawColSeparators           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>enabled</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets if the column separator should be drawn. 
<p>
The column separator is a thin verticle line (1 or 2 pixels) that is used to separate the columns in the list view. The separator is just for esthetics and it does not serve a functional purpose. 
<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l01412">1412</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="8c9dad23a944b815ef8c2210f829eb53"></a><!-- doxytag: member="CardView::drawColSeparators" ref="8c9dad23a944b815ef8c2210f829eb53" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CardView::drawColSeparators           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if column separators are drawn, false otherwise. </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l01420">1420</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="ab0c1413c99ff2642681ed02dd396388"></a><!-- doxytag: member="CardView::setDrawFieldLabels" ref="ab0c1413c99ff2642681ed02dd396388" args="(bool enabled)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::setDrawFieldLabels           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>enabled</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets if the field labels should be drawn. 
<p>
The field labels are the unique strings used to identify the fields. Sometimes drawing these labels makes sense as a source of clarity for the user, othertimes they waste too much space and do not assist the user. 
<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l01425">1425</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="5c00f680b19431240f8903969b20d0d7"></a><!-- doxytag: member="CardView::drawFieldLabels" ref="5c00f680b19431240f8903969b20d0d7" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CardView::drawFieldLabels           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the field labels are drawn, false otherwise. </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l01433">1433</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="0d7bfc94a5d597d73846731826ee77bd"></a><!-- doxytag: member="CardView::setShowEmptyFields" ref="0d7bfc94a5d597d73846731826ee77bd" args="(bool show)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::setShowEmptyFields           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>show</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets if fields with no value should be drawn (of cause the label only, but it allows for embedded editing sometimes. 
<p>
..) 
<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l01438">1438</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="f738784fb9b7ff1ea24660f26074df87"></a><!-- doxytag: member="CardView::showEmptyFields" ref="f738784fb9b7ff1ea24660f26074df87" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CardView::showEmptyFields           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Wheather empty fields should be shown </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l01446">1446</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="bd9be4c85053fb8cae4ff262aa879137"></a><!-- doxytag: member="CardView::itemMargin" ref="bd9be4c85053fb8cae4ff262aa879137" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint CardView::itemMargin           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the advisory internal margin in items. Setting a value above 1 means a space between the item contents and the focus recttangle drawn around the current item. The default value is 0. The value should be used by <a class="el" href="classCardViewItem.html" title="Represents a single card (item) in the card view.">CardViewItem</a> and derived classes. Note that this should not be greater than half of the minimal item width, which is 80. It is currently not checked, so setting a value greater than 40 will probably mean a crash in the items painting routine. </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00960">960</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="a019a95522e6e27f83e5694be7cf5b99"></a><!-- doxytag: member="CardView::setItemMargin" ref="a019a95522e6e27f83e5694be7cf5b99" args="(uint margin)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::setItemMargin           </td>
          <td>(</td>
          <td class="paramtype">uint&nbsp;</td>
          <td class="paramname"> <em>margin</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the internal item margin. 
<p>
See <a class="el" href="classCardView.html#bd9be4c85053fb8cae4ff262aa879137">itemMargin()</a>. 
<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00965">965</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="077b6ec372d7cf0706f056d67d6c9f28"></a><!-- doxytag: member="CardView::itemSpacing" ref="077b6ec372d7cf0706f056d67d6c9f28" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint CardView::itemSpacing           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the item spacing. The item spacing is the space (in pixels) between each item in a column, between the items and column separators if drawn, and between the items and the borders of the widget. The default value is set to 10. </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00974">974</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="2088587dac0249f933f7276cec225cc8"></a><!-- doxytag: member="CardView::setItemSpacing" ref="2088587dac0249f933f7276cec225cc8" args="(uint spacing)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::setItemSpacing           </td>
          <td>(</td>
          <td class="paramtype">uint&nbsp;</td>
          <td class="paramname"> <em>spacing</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the item spacing. 
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classCardView.html#077b6ec372d7cf0706f056d67d6c9f28">itemSpacing()</a> </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00979">979</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="1b9560c747315521b08c11a346fb6b60"></a><!-- doxytag: member="CardView::itemWidth" ref="1b9560c747315521b08c11a346fb6b60" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int CardView::itemWidth           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the width made available to the card items. </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l01506">1506</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="c9dde4dc1c02e1001484251c8a0ccd45"></a><!-- doxytag: member="CardView::setItemWidth" ref="c9dde4dc1c02e1001484251c8a0ccd45" args="(int width)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::setItemWidth           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>width</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the width made available to card items. 
<p>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l01511">1511</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="3a55fc60da85c5c8b0d38d1b2137893a"></a><!-- doxytag: member="CardView::setHeaderFont" ref="3a55fc60da85c5c8b0d38d1b2137893a" args="(const QFont &amp;fnt)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::setHeaderFont           </td>
          <td>(</td>
          <td class="paramtype">const QFont &amp;&nbsp;</td>
          <td class="paramname"> <em>fnt</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the header font. 
<p>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l01522">1522</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="5238d51661390411f33bc03d7e884617"></a><!-- doxytag: member="CardView::headerFont" ref="5238d51661390411f33bc03d7e884617" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QFont CardView::headerFont           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the header font </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l01529">1529</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="c84b2e7d2dd63fa9efd0778f17906f82"></a><!-- doxytag: member="CardView::setFont" ref="c84b2e7d2dd63fa9efd0778f17906f82" args="(const QFont &amp;fnt)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::setFont           </td>
          <td>(</td>
          <td class="paramtype">const QFont &amp;&nbsp;</td>
          <td class="paramname"> <em>fnt</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reimplementation from QWidget. 
<p>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l01534">1534</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="8d414938ccbe056c93947fd50f66a29c"></a><!-- doxytag: member="CardView::setSeparatorWidth" ref="8d414938ccbe056c93947fd50f66a29c" args="(int width)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::setSeparatorWidth           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>width</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the column separator width. 
<p>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l01546">1546</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="78b8e1271205f5d1438f405a4e2e7027"></a><!-- doxytag: member="CardView::separatorWidth" ref="78b8e1271205f5d1438f405a4e2e7027" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int CardView::separatorWidth           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the column separator width </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l01541">1541</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="375acddf0650535bdf745227098048fc"></a><!-- doxytag: member="CardView::setMaxFieldLines" ref="375acddf0650535bdf745227098048fc" args="(int howmany)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::setMaxFieldLines           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>howmany</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the maximum number of lines to display pr field. 
<p>
If set to 0 (the default) all lines will be displayed. 
<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l01557">1557</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="be8ab51e96e5b36412b92db52df7a1f6"></a><!-- doxytag: member="CardView::maxFieldLines" ref="be8ab51e96e5b36412b92db52df7a1f6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int CardView::maxFieldLines           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the maximum number of lines pr field </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l01552">1552</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="bd7b7e28115979603ec526fec0769dff"></a><!-- doxytag: member="CardView::selectionChanged" ref="bd7b7e28115979603ec526fec0769dff" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::selectionChanged           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Emitted whenever the selection changes. 
<p>
This means a user highlighted a new item or unhighlighted a currently selected item. 
</div>
</div><p>
<a class="anchor" name="cb98fa9b4f86a26cd0d6d2662eaa41b9"></a><!-- doxytag: member="CardView::selectionChanged" ref="cb98fa9b4f86a26cd0d6d2662eaa41b9" args="(CardViewItem *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::selectionChanged           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCardViewItem.html">CardViewItem</a> *&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Same as above method, only it carries the item that was selected. 
<p>
This method will only be emitted in single select mode, since it defineds which item was selected. 
</div>
</div><p>
<a class="anchor" name="c8a17c2f8d918370cdc3fd73b1665ee5"></a><!-- doxytag: member="CardView::clicked" ref="c8a17c2f8d918370cdc3fd73b1665ee5" args="(CardViewItem *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::clicked           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCardViewItem.html">CardViewItem</a> *&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This method is emitted whenever an item is clicked. 
<p>

</div>
</div><p>
<a class="anchor" name="6e85d31b7662315cf748d5d9158a1cef"></a><!-- doxytag: member="CardView::executed" ref="6e85d31b7662315cf748d5d9158a1cef" args="(CardViewItem *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::executed           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCardViewItem.html">CardViewItem</a> *&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Emitted whenever the user 'executes' an item. 
<p>
This is dependant on the KDE global config. This could be a single click or a doubleclick. Also emitted when the return key is pressed on an item. 
</div>
</div><p>
<a class="anchor" name="6b1de93272a369b29c86ea9b580b803c"></a><!-- doxytag: member="CardView::doubleClicked" ref="6b1de93272a369b29c86ea9b580b803c" args="(CardViewItem *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::doubleClicked           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCardViewItem.html">CardViewItem</a> *&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Emitted whenever the user double clicks on an item. 
<p>

</div>
</div><p>
<a class="anchor" name="2580cef48769536ca161ad35c977352e"></a><!-- doxytag: member="CardView::currentChanged" ref="2580cef48769536ca161ad35c977352e" args="(CardViewItem *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::currentChanged           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCardViewItem.html">CardViewItem</a> *&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Emitted when the current item changes. 
<p>

</div>
</div><p>
<a class="anchor" name="02943e60c1d2006ecfe4c5c7ff752c93"></a><!-- doxytag: member="CardView::returnPressed" ref="02943e60c1d2006ecfe4c5c7ff752c93" args="(CardViewItem *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::returnPressed           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCardViewItem.html">CardViewItem</a> *&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Emitted when the return key is pressed in an item. 
<p>

</div>
</div><p>
<a class="anchor" name="ca0525a029b0816d83cc3d5f9fca838d"></a><!-- doxytag: member="CardView::contextMenuRequested" ref="ca0525a029b0816d83cc3d5f9fca838d" args="(CardViewItem *, const QPoint &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::contextMenuRequested           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCardViewItem.html">CardViewItem</a> *&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QPoint &amp;&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Emitted when the context menu is requested in some way. 
<p>

</div>
</div><p>
<a class="anchor" name="9538ed84df3a88ba094d0b584aad349f"></a><!-- doxytag: member="CardView::drawContents" ref="9538ed84df3a88ba094d0b584aad349f" args="(QPainter *p, int clipx, int clipy, int clipw, int cliph)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::drawContents           </td>
          <td>(</td>
          <td class="paramtype">QPainter *&nbsp;</td>
          <td class="paramname"> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>clipx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>clipy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>clipw</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>cliph</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Determines which cards intersect that region and tells them to paint themselves. 
<p>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00837">837</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="d4454695066322c5cfb336157f41f7b1"></a><!-- doxytag: member="CardView::resizeEvent" ref="d4454695066322c5cfb336157f41f7b1" args="(QResizeEvent *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::resizeEvent           </td>
          <td>(</td>
          <td class="paramtype">QResizeEvent *&nbsp;</td>
          <td class="paramname"> <em>event</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the layout to dirty and repaints. 
<p>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00887">887</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="f48479e394200743c5e37e04eaeef56b"></a><!-- doxytag: member="CardView::contentsWheelEvent" ref="f48479e394200743c5e37e04eaeef56b" args="(QWheelEvent *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::contentsWheelEvent           </td>
          <td>(</td>
          <td class="paramtype">QWheelEvent *&nbsp;</td>
          <td class="paramname"> <em>e</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Changes the direction the canvas scolls. 
<p>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l01386">1386</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="b9c0e3520b62830c594f09855c56c9d3"></a><!-- doxytag: member="CardView::setLayoutDirty" ref="b9c0e3520b62830c594f09855c56c9d3" args="(bool dirty)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::setLayoutDirty           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>dirty</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the layout to dirty and calls for a repaint. 
<p>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l01391">1391</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="73b3ca4524bbf4234c696f02c053b273"></a><!-- doxytag: member="CardView::calcLayout" ref="73b3ca4524bbf4234c696f02c053b273" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::calcLayout           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Does the math based on the bounding rect of the cards to properly lay the cards out on the screen. 
<p>
This is only done if the layout is marked as dirty. 
<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00894">894</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="f97168b938e95736df57dbd61baaf38f"></a><!-- doxytag: member="CardView::startDrag" ref="f97168b938e95736df57dbd61baaf38f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardView::startDrag           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Overload this method to be told when a drag should be started. 
<p>
In most cases you will want to start a drag event with the currently selected item. 
<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l01451">1451</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="cardview_8h-source.html">cardview.h</a><li><a class="el" href="cardview_8cpp-source.html">cardview.cpp</a></ul>
</div>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>kaddressbook</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="functions.html">Class Members</a></li><li><a href="pages.html">Related Pages</a></li></ul>
<!--
<h2>Class Picker</h2>
<div style="text-align: center;">
<form name="guideform">
<select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<option value="annotated.html">-- Choose --</option>
  <option value="classAddressEditDialog.html">addresseditdialog</option>,  <option value="classAddressEditWidget.html">addresseditwidget</option>,  <option value="classAddresseeUtil.html">addresseeutil</option>,  <option value="classAddressTypeDialog.html">addresstypedialog</option>,  <option value="classAddViewDialog.html">addviewdialog</option>,  <option value="classCardView.html">cardview</option>,  <option value="classCardViewItem.html">cardviewitem</option>,  <option value="classCardViewLookNFeelPage.html">cardviewlooknfeelpage</option>,  <option value="classConfigureCardViewWidget.html">configurecardviewwidget</option>,  <option value="classConfigureTableViewWidget.html">configuretableviewwidget</option>,  <option value="classDateParser.html">dateparser</option>,  <option value="classDistributionListView.html">distributionlistview</option>,  <option value="classDynamicTip.html">dynamictip</option>,  <option value="classEmailEditWidget.html">emaileditwidget</option>,  <option value="classEmailSelector.html">emailselector</option>,  <option value="classFilter.html">filter</option>,  <option value="classFilterSelectionWidget.html">filterselectionwidget</option>,  <option value="classIMAddressLVI.html">imaddresslvi</option>,  <option value="classIMAddressWidget.html">imaddresswidget</option>,  <option value="classImageButton.html">imagebutton</option>,  <option value="classImageLoader.html">imageloader</option>,  <option value="classIMEditorWidget.html">imeditorwidget</option>,  <option value="classIMEditWidget.html">imeditwidget</option>,  <option value="classJumpButtonBar.html">jumpbuttonbar</option>,  <option value="classKABPrinting_1_1PrintingWizard.html">kabprinting::printingwizard</option>,  <option value="classKABPrinting_1_1PrintProgress.html">kabprinting::printprogress</option>,  <option value="classKABPrinting_1_1PrintStyle.html">kabprinting::printstyle</option>,  <option value="classKABPrinting_1_1PrintStyleFactory.html">kabprinting::printstylefactory</option>,  <option value="classKAddressBookCardView.html">kaddressbookcardview</option>,  <option value="classKAddressBookIconView.html">kaddressbookiconview</option>,  <option value="classKAddressBookMain.html">kaddressbookmain</option>,  <option value="classKAddressBookTableView.html">kaddressbooktableview</option>,  <option value="classKAddressBookView.html">kaddressbookview</option>,  <option value="classLookAndFeelPage.html">lookandfeelpage</option>,  <option value="classNameEditDialog.html">nameeditdialog</option>,  <option value="classPhoneEditWidget.html">phoneeditwidget</option>,  <option value="classPhoneTypeDialog.html">phonetypedialog</option>,  <option value="classTypeCombo.html">typecombo</option>,  <option value="classViewConfigureWidget.html">viewconfigurewidget</option>,  <option value="classViewManager.html">viewmanager</option>,
</select>
</form>
</div>
-->
</div></div>
<div class="menu_box"><h2>API Dox</h2>
<div class="nav_list">
<ul>
<li><a href="../../akregator/html/index.html">akregator</a></li><li>&nbsp;&nbsp;<a href="../../akregator/src/html/index.html">src</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../akregator/src/librss/html/index.html">librss</a></li><li><a href="../../certmanager/html/index.html">certmanager</a></li><li>&nbsp;&nbsp;<a href="../../certmanager/lib/html/index.html">lib</a></li><li><a href="../../kaddressbook/html/index.html">kaddressbook</a></li><li><a href="../../kalarm/html/index.html">kalarm</a></li><li>&nbsp;&nbsp;<a href="../../kalarm/lib/html/index.html">lib</a></li><li><a href="../../kandy/html/index.html">kandy</a></li><li><a href="../../karm/html/index.html">karm</a></li><li><a href="../../kdgantt/html/index.html">kdgantt</a></li><li><a href="../../kgantt/html/index.html">kgantt</a></li><li><a href="../../kioslaves/html/index.html">kioslaves</a></li><li>&nbsp;&nbsp;<a href="../../kioslaves/imap4/html/index.html">imap4</a></li><li>&nbsp;&nbsp;<a href="../../kioslaves/mbox/html/index.html">mbox</a></li><li><a href="../../kitchensync/html/index.html">kitchensync</a></li><li><a href="../../kmail/html/index.html">kmail</a></li><li><a href="../../knotes/html/index.html">knotes</a></li><li><a href="../../konsolekalendar/html/index.html">konsolekalendar</a></li><li><a href="../../kontact/html/index.html">kontact</a></li><li><a href="../../korganizer/html/index.html">korganizer</a></li><li><a href="../../kpilot/html/index.html">kpilot</a></li><li>&nbsp;&nbsp;<a href="../../kpilot/kpilot/html/index.html">kpilot</a></li><li>&nbsp;&nbsp;<a href="../../kpilot/lib/html/index.html">lib</a></li><li><a href="../../libemailfunctions/html/index.html">libemailfunctions</a></li><li><a href="../../libkcal/html/index.html">libkcal</a></li><li><a href="../../libkdepim/html/index.html">libkdepim</a></li><li><a href="../../libkholidays/html/index.html">libkholidays</a></li><li><a href="../../libkmime/html/index.html">libkmime</a></li><li><a href="../../libkpgp/html/index.html">libkpgp</a></li><li><a href="../../libkpimidentities/html/index.html">libkpimidentities</a></li>
</ul></div></div>


        </td>
</tr>
</table>

<span class="doNotDisplay">
  <a href="http://www.kde.org/" accesskey="8">KDE Home</a> |
  <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> |
  <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a>
</span>


<div style="height: 8px"></div>

<div id="footer">
  <div id="footer_left">
    Maintained by <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;groo&#116;&#64;kde&#46;or&#x67;">Adriaan de Groot</a>
and
<a href="&#109;a&#105;&#108;&#116;&#111;&#58;w&#105;nter&#64;kde&#46;or&#x67">Allen Winter</a>.
<br/>
    KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
    <a href="http://www.kde.org/contact/impressum.php">Legal</a>
  </div>
  <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div>
</div>

<!--
WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
BE BLOCKED INSTANTLY AND PERMANENTLY!
<a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a>
WARNING END
-->

</body>
</html>