~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to kchart/kdchart/src/KDChartLegend.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-09-21 15:36:35 UTC
  • mfrom: (1.4.1 upstream) (60.2.11 maverick)
  • Revision ID: james.westby@ubuntu.com-20100921153635-6tejqkiro2u21ydi
Tags: 1:2.2.2-0ubuntu3
Add kubuntu_03_fix-crash-on-closing-sqlite-connection-2.2.2.diff and
kubuntu_04_support-large-memo-values-for-msaccess-2.2.2.diff as
recommended by upstream http://kexi-
project.org/wiki/wikiview/index.php@Kexi2.2_Patches.html#sqlite_stab
ility

Show diffs side-by-side

added added

removed removed

Lines of Context:
220
220
    Qt::Alignment alignment() const;
221
221
 
222
222
    /**
 
223
     * \brief Specify the alignment of the text elements within the legend
 
224
     *
 
225
     * \sa textAlignment()
 
226
     */
 
227
    void setTextAlignment( Qt::Alignment );
 
228
 
 
229
    /**
 
230
     * \brief Returns the alignment used while rendering text elements within the legend.
 
231
     *
 
232
     * \sa setTextAlignment()
 
233
     */
 
234
     Qt::Alignment textAlignment() const;
 
235
 
 
236
    /**
223
237
     * \brief Specify the position and alignment of a floating legend.
224
238
     *
225
239
     * Use setPosition and setAlignment to set position and alignment
286
300
    QString text( uint dataset ) const;
287
301
    const QMap<uint,QString> texts() const;
288
302
 
 
303
    /**
 
304
     * Sets a list of datasets that are to be hidden in the legend.
 
305
     *
 
306
     * By passing an empty list, you show all datasets.
 
307
     * Note that by default, all datasets are shown, which means
 
308
     * that hiddenDatasets() == QList<uint>()
 
309
     */
 
310
    void setHiddenDatasets( const QList<uint> hiddenDatasets );
 
311
    const QList<uint> hiddenDatasets() const;
 
312
    void setDatasetHidden( uint dataset, bool hidden );
 
313
    bool datasetIsHidden( uint dataset ) const;
 
314
 
289
315
    uint datasetCount() const;
290
316
 
291
317
    void setDefaultColors();