Skip to content

Instantly share code, notes, and snippets.

@shibukawa
Last active December 16, 2015 19:49
Show Gist options
  • Save shibukawa/5487509 to your computer and use it in GitHub Desktop.
Save shibukawa/5487509 to your computer and use it in GitHub Desktop.
prototype
/*
* JSX wrapper generated by JSXgenerator
*
* QTreeView class
*/
import "qt/qabstractitemdelegate.jsx";
import "qt/qabstractitemmodel.jsx";
import "qt/qaction.jsx";
import "qt/qbitmap.jsx";
import "qt/qbytearray.jsx";
import "qt/qcoreevent.jsx";
import "qt/qcursor.jsx";
import "qt/qevent.jsx";
import "qt/qfont.jsx";
import "qt/qgraphicseffect.jsx";
import "qt/qgraphicsproxywidget.jsx";
import "qt/qheaderview.jsx";
import "qt/qicon.jsx";
import "qt/qinputcontext.jsx";
import "qt/qitemselectionmodel.jsx";
import "qt/qkeysequence.jsx";
import "qt/qlayout.jsx";
import "qt/qlocale.jsx";
import "qt/qmargins.jsx";
import "qt/qobject.jsx";
import "qt/qpaintdevice.jsx";
import "qt/qpaintengine.jsx";
import "qt/qpainter.jsx";
import "qt/qpalette.jsx";
import "qt/qpoint.jsx";
import "qt/qrect.jsx";
import "qt/qregion.jsx";
import "qt/qscrollbar.jsx";
import "qt/qsize.jsx";
import "qt/qsizepolicy.jsx";
import "qt/qstyle.jsx";
import "qt/qstyleoption.jsx";
import "qt/qwidget.jsx";
native class QTreeView extends QAbstractItemView
{
function constructor (parent : QWidget) : void;
// Static Members
// Methods
function columnAt (x : int) : int;
function columnViewportPosition (column : int) : int;
function columnWidth (column : int) : int;
function header () : QHeaderView;
function indexAbove (index : QModelIndex) : QModelIndex;
function indexBelow (index : QModelIndex) : QModelIndex;
function isColumnHidden (column : int) : boolean;
function isExpanded (index : QModelIndex) : boolean;
function isFirstColumnSpanned (row : int, parent : QModelIndex) : boolean;
function isRowHidden (row : int, parent : QModelIndex) : boolean;
function setColumnHidden (column : int, hide : boolean) : void;
function setColumnWidth (column : int, width : int) : void;
function setExpanded (index : QModelIndex, expand : boolean) : void;
function setFirstColumnSpanned (row : int, parent : QModelIndex, span : boolean) : void;
function setHeader (header : QHeaderView) : void;
function setRowHidden (row : int, parent : QModelIndex, hide : boolean) : void;
function sortByColumn (column : int, order : Qt_SortOrder) : void;
// Instance Properties
var autoExpandDelay : int;
var indentation : int;
var rootIsDecorated : boolean;
var uniformRowHeights : boolean;
var itemsExpandable : boolean;
var sortingEnabled : boolean;
var animated : boolean;
var allColumnsShowFocus : boolean;
var wordWrap : boolean;
var headerHidden : boolean;
var expandsOnDoubleClick : boolean;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment