~ubuntu-branches/ubuntu/raring/juffed/raring

« back to all changes in this revision

Viewing changes to plugins/terminal/qtermwidget/pyqt4/qtermwidget.sip

  • Committer: Bazaar Package Importer
  • Author(s): Maia Kozheva
  • Date: 2011-04-30 13:43:26 UTC
  • mfrom: (2.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20110430134326-0bnvvo5z2medbdxi
Tags: 0.9.1137-1
* New upstream release.
* Remove debian/juffed.1, added upstream (in debian.in).
* Remove debian/patches/static.patch: we can now bundle the .so after
  upstream has resolved soname issues.
* debian/control:
  - Bump Standards-Version to 0.9.2.
  - Update homepage.
  - Do not build-depend on chrpath, not needed anymore.
* debian/rules:
  - Remove chrpath rule, not needed anymore.
* Add juffed-dev and juffed-plugins packages.
* Do not install the libkeybindings.so plugin: causes a segfault on my
  amd64 machine.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
%Module QTermWidget 0
 
2
 
 
3
%Import QtCore/QtCoremod.sip
 
4
%Import QtGui/QtGuimod.sip
 
5
 
 
6
 
 
7
class QTermWidget : QWidget {
 
8
 
 
9
%TypeHeaderCode
 
10
#include <../lib/qtermwidget.h>
 
11
%End
 
12
 
 
13
public:
 
14
        QTermWidget(int startnow = 1, QWidget *parent = 0);
 
15
        ~QTermWidget();
 
16
        enum ScrollBarPosition
 
17
    {
 
18
        NoScrollBar=0,
 
19
        ScrollBarLeft=1,
 
20
        ScrollBarRight=2
 
21
    };
 
22
        void setTerminalFont(QFont &font);
 
23
        void setArgs(QStringList &args);
 
24
        void setTextCodec(QTextCodec *codec);
 
25
        void setColorScheme(int scheme);
 
26
        void setSize(int h, int v);
 
27
        void setHistorySize(int lines);
 
28
        void setScrollBarPosition(ScrollBarPosition);
 
29
        void sendText(QString &text);
 
30
protected:
 
31
        void resizeEvent(QResizeEvent *e);
 
32
private:
 
33
        void *createTermWidget(int startnow, void *parent); 
 
34
        
 
35
};