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

« back to all changes in this revision

Viewing changes to kexi/formeditor/tabstopdialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-10-27 17:52:57 UTC
  • mfrom: (0.12.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101027175257-s04zqqk5bs8ckm9o
Tags: 1:2.2.83-0ubuntu1
* Merge with Debian git remaining changes:
 - Add build-deps on librcps-dev, opengtl-dev, libqtgtl-dev, freetds-dev,
   create-resources, libspnav-dev
 - Remove needless build-dep on libwv2-dev
 - koffice-libs recommends create-resources
 - krita recommends pstoedit
 - Keep our patches
* New upstream release 2.3 beta 3
  - Remove debian/patches fixed by upstream
  - Update install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* This file is part of the KDE project
2
2
   Copyright (C) 2004 Cedric Pasteur <cedric.pasteur@free.fr>
 
3
   Copyright (C) 2005,2010 Jarosław Staniek <staniek@kde.org>
3
4
 
4
5
   This library is free software; you can redistribute it and/or
5
6
   modify it under the terms of the GNU Library General Public
24
25
 
25
26
#include <kexi_export.h>
26
27
 
27
 
class Q3ListViewItem;
 
28
class QTreeWidgetItem;
28
29
class QCheckBox;
29
30
class KPushButton;
30
31
 
32
33
{
33
34
 
34
35
class Form;
35
 
class ObjectTreeView;
 
36
class WidgetTreeWidget;
36
37
 
37
38
//! A dialog to edit Form tab stops
38
39
/*! The user can change the order by dragging list items or using buttons at the right.
45
46
    TabStopDialog(QWidget *parent);
46
47
    virtual ~TabStopDialog();
47
48
 
 
49
    bool autoTabStops() const;
 
50
 
48
51
public slots:
49
52
    int exec(KFormDesigner::Form *form);
 
53
 
 
54
protected slots:
50
55
    void moveItemUp();
51
56
    void moveItemDown();
52
 
    void updateButtons(Q3ListViewItem*);
 
57
    void updateButtons(QTreeWidgetItem *item);
53
58
    void slotRadioClicked(bool isOn);
54
 
 
55
 
    bool autoTabStops() const;
 
59
    void slotSelectionChanged();
56
60
 
57
61
protected:
58
 
    ObjectTreeView   *m_treeview;
 
62
    WidgetTreeWidget *m_widgetTree;
59
63
    KPushButton *m_btnUp, *m_btnDown;
60
64
    QCheckBox *m_check;
61
65
};