diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-01-08 20:06:00 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-01-08 20:06:00 +0100 |
commit | 636f509299122d02087c6fd62e1e4a46dbd22026 (patch) | |
tree | 70e43efceeb5b00e7f19cdac8da44928bd2fb459 /qtjava/javalib/org/trinitydesktop/qt/TQStyle.java | |
parent | 719b61750c08343f530068ed4127623aeac71cf0 (diff) | |
download | tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.tar.gz tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.zip |
Rename many classes to avoid conflicts with KDE
Diffstat (limited to 'qtjava/javalib/org/trinitydesktop/qt/TQStyle.java')
-rw-r--r-- | qtjava/javalib/org/trinitydesktop/qt/TQStyle.java | 356 |
1 files changed, 356 insertions, 0 deletions
diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQStyle.java b/qtjava/javalib/org/trinitydesktop/qt/TQStyle.java new file mode 100644 index 00000000..764ca004 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQStyle.java @@ -0,0 +1,356 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQStyle extends TQObject { + protected TQStyle(Class dummy){super((Class) null);} + public static final int PE_ButtonCommand = 0; + public static final int PE_ButtonDefault = 1; + public static final int PE_ButtonBevel = 2; + public static final int PE_ButtonTool = 3; + public static final int PE_ButtonDropDown = 4; + public static final int PE_FocusRect = 5; + public static final int PE_ArrowUp = 6; + public static final int PE_ArrowDown = 7; + public static final int PE_ArrowRight = 8; + public static final int PE_ArrowLeft = 9; + public static final int PE_SpinWidgetUp = 10; + public static final int PE_SpinWidgetDown = 11; + public static final int PE_SpinWidgetPlus = 12; + public static final int PE_SpinWidgetMinus = 13; + public static final int PE_Indicator = 14; + public static final int PE_IndicatorMask = 15; + public static final int PE_ExclusiveIndicator = 16; + public static final int PE_ExclusiveIndicatorMask = 17; + public static final int PE_DockWindowHandle = 18; + public static final int PE_DockWindowSeparator = 19; + public static final int PE_DockWindowResizeHandle = 20; + public static final int PE_Splitter = 21; + public static final int PE_Panel = 22; + public static final int PE_PanelPopup = 23; + public static final int PE_PanelMenuBar = 24; + public static final int PE_PanelDockWindow = 25; + public static final int PE_TabBarBase = 26; + public static final int PE_HeaderSection = 27; + public static final int PE_HeaderArrow = 28; + public static final int PE_StatusBarSection = 29; + public static final int PE_GroupBoxFrame = 30; + public static final int PE_Separator = 31; + public static final int PE_SizeGrip = 32; + public static final int PE_CheckMark = 33; + public static final int PE_ScrollBarAddLine = 34; + public static final int PE_ScrollBarSubLine = 35; + public static final int PE_ScrollBarAddPage = 36; + public static final int PE_ScrollBarSubPage = 37; + public static final int PE_ScrollBarSlider = 38; + public static final int PE_ScrollBarFirst = 39; + public static final int PE_ScrollBarLast = 40; + public static final int PE_ProgressBarChunk = 41; + public static final int PE_PanelLineEdit = 42; + public static final int PE_PanelTabWidget = 43; + public static final int PE_WindowFrame = 44; + public static final int PE_CheckListController = 45; + public static final int PE_CheckListIndicator = 46; + public static final int PE_CheckListExclusiveIndicator = 47; + public static final int PE_PanelGroupBox = 48; + public static final int PE_RubberBand = 49; + public static final int PE_CustomBase = 0xf000000; + + public static final int Style_Default = 0x00000000; + public static final int Style_Enabled = 0x00000001; + public static final int Style_Raised = 0x00000002; + public static final int Style_Sunken = 0x00000004; + public static final int Style_Off = 0x00000008; + public static final int Style_NoChange = 0x00000010; + public static final int Style_On = 0x00000020; + public static final int Style_Down = 0x00000040; + public static final int Style_Horizontal = 0x00000080; + public static final int Style_HasFocus = 0x00000100; + public static final int Style_Top = 0x00000200; + public static final int Style_Bottom = 0x00000400; + public static final int Style_FocusAtBorder = 0x00000800; + public static final int Style_AutoRaise = 0x00001000; + public static final int Style_MouseOver = 0x00002000; + public static final int Style_Up = 0x00004000; + public static final int Style_Selected = 0x00008000; + public static final int Style_Active = 0x00010000; + public static final int Style_ButtonDefault = 0x00020000; + + public static final int CE_PushButton = 0; + public static final int CE_PushButtonLabel = 1; + public static final int CE_CheckBox = 2; + public static final int CE_CheckBoxLabel = 3; + public static final int CE_RadioButton = 4; + public static final int CE_RadioButtonLabel = 5; + public static final int CE_TabBarTab = 6; + public static final int CE_TabBarLabel = 7; + public static final int CE_ProgressBarGroove = 8; + public static final int CE_ProgressBarContents = 9; + public static final int CE_ProgressBarLabel = 10; + public static final int CE_PopupMenuItem = 11; + public static final int CE_MenuBarItem = 12; + public static final int CE_ToolButtonLabel = 13; + public static final int CE_MenuBarEmptyArea = 14; + public static final int CE_PopupMenuScroller = 15; + public static final int CE_DockWindowEmptyArea = 16; + public static final int CE_PopupMenuVerticalExtra = 17; + public static final int CE_PopupMenuHorizontalExtra = 18; + public static final int CE_ToolBoxTab = 19; + public static final int CE_HeaderLabel = 20; + public static final int CE_CustomBase = 0xf0000000; + + public static final int SR_PushButtonContents = 0; + public static final int SR_PushButtonFocusRect = 1; + public static final int SR_CheckBoxIndicator = 2; + public static final int SR_CheckBoxContents = 3; + public static final int SR_CheckBoxFocusRect = 4; + public static final int SR_RadioButtonIndicator = 5; + public static final int SR_RadioButtonContents = 6; + public static final int SR_RadioButtonFocusRect = 7; + public static final int SR_ComboBoxFocusRect = 8; + public static final int SR_SliderFocusRect = 9; + public static final int SR_DockWindowHandleRect = 10; + public static final int SR_ProgressBarGroove = 11; + public static final int SR_ProgressBarContents = 12; + public static final int SR_ProgressBarLabel = 13; + public static final int SR_ToolButtonContents = 14; + public static final int SR_DialogButtonAccept = 15; + public static final int SR_DialogButtonReject = 16; + public static final int SR_DialogButtonApply = 17; + public static final int SR_DialogButtonHelp = 18; + public static final int SR_DialogButtonAll = 19; + public static final int SR_DialogButtonAbort = 20; + public static final int SR_DialogButtonIgnore = 21; + public static final int SR_DialogButtonRetry = 22; + public static final int SR_DialogButtonCustom = 23; + public static final int SR_ToolBoxTabContents = 24; + public static final int SR_CustomBase = 0xf0000000; + + public static final int CC_SpinWidget = 0; + public static final int CC_ComboBox = 1; + public static final int CC_ScrollBar = 2; + public static final int CC_Slider = 3; + public static final int CC_ToolButton = 4; + public static final int CC_TitleBar = 5; + public static final int CC_ListView = 6; + public static final int CC_CustomBase = 0xf0000000; + + public static final int SC_None = 0x00000000; + public static final int SC_ScrollBarAddLine = 0x00000001; + public static final int SC_ScrollBarSubLine = 0x00000002; + public static final int SC_ScrollBarAddPage = 0x00000004; + public static final int SC_ScrollBarSubPage = 0x00000008; + public static final int SC_ScrollBarFirst = 0x00000010; + public static final int SC_ScrollBarLast = 0x00000020; + public static final int SC_ScrollBarSlider = 0x00000040; + public static final int SC_ScrollBarGroove = 0x00000080; + public static final int SC_SpinWidgetUp = 0x00000001; + public static final int SC_SpinWidgetDown = 0x00000002; + public static final int SC_SpinWidgetFrame = 0x00000004; + public static final int SC_SpinWidgetEditField = 0x00000008; + public static final int SC_SpinWidgetButtonField = 0x00000010; + public static final int SC_ComboBoxFrame = 0x00000001; + public static final int SC_ComboBoxEditField = 0x00000002; + public static final int SC_ComboBoxArrow = 0x00000004; + public static final int SC_ComboBoxListBoxPopup = 0x00000008; + public static final int SC_SliderGroove = 0x00000001; + public static final int SC_SliderHandle = 0x00000002; + public static final int SC_SliderTickmarks = 0x00000004; + public static final int SC_ToolButton = 0x00000001; + public static final int SC_ToolButtonMenu = 0x00000002; + public static final int SC_TitleBarLabel = 0x00000001; + public static final int SC_TitleBarSysMenu = 0x00000002; + public static final int SC_TitleBarMinButton = 0x00000004; + public static final int SC_TitleBarMaxButton = 0x00000008; + public static final int SC_TitleBarCloseButton = 0x00000010; + public static final int SC_TitleBarNormalButton = 0x00000020; + public static final int SC_TitleBarShadeButton = 0x00000040; + public static final int SC_TitleBarUnshadeButton = 0x00000080; + public static final int SC_ListView = 0x00000001; + public static final int SC_ListViewBranch = 0x00000002; + public static final int SC_ListViewExpand = 0x00000004; + public static final int SC_All = 0xffffffff; + + public static final int PM_ButtonMargin = 0; + public static final int PM_ButtonDefaultIndicator = 1; + public static final int PM_MenuButtonIndicator = 2; + public static final int PM_ButtonShiftHorizontal = 3; + public static final int PM_ButtonShiftVertical = 4; + public static final int PM_DefaultFrameWidth = 5; + public static final int PM_SpinBoxFrameWidth = 6; + public static final int PM_MaximumDragDistance = 7; + public static final int PM_ScrollBarExtent = 8; + public static final int PM_ScrollBarSliderMin = 9; + public static final int PM_SliderThickness = 10; + public static final int PM_SliderControlThickness = 11; + public static final int PM_SliderLength = 12; + public static final int PM_SliderTickmarkOffset = 13; + public static final int PM_SliderSpaceAvailable = 14; + public static final int PM_DockWindowSeparatorExtent = 15; + public static final int PM_DockWindowHandleExtent = 16; + public static final int PM_DockWindowFrameWidth = 17; + public static final int PM_MenuBarFrameWidth = 18; + public static final int PM_TabBarTabOverlap = 19; + public static final int PM_TabBarTabHSpace = 20; + public static final int PM_TabBarTabVSpace = 21; + public static final int PM_TabBarBaseHeight = 22; + public static final int PM_TabBarBaseOverlap = 23; + public static final int PM_ProgressBarChunkWidth = 24; + public static final int PM_SplitterWidth = 25; + public static final int PM_TitleBarHeight = 26; + public static final int PM_IndicatorWidth = 27; + public static final int PM_IndicatorHeight = 28; + public static final int PM_ExclusiveIndicatorWidth = 29; + public static final int PM_ExclusiveIndicatorHeight = 30; + public static final int PM_PopupMenuScrollerHeight = 31; + public static final int PM_CheckListButtonSize = 32; + public static final int PM_CheckListControllerSize = 33; + public static final int PM_PopupMenuFrameHorizontalExtra = 34; + public static final int PM_PopupMenuFrameVerticalExtra = 35; + public static final int PM_DialogButtonsSeparator = 36; + public static final int PM_DialogButtonsButtonWidth = 37; + public static final int PM_DialogButtonsButtonHeight = 38; + public static final int PM_MDIFrameWidth = 39; + public static final int PM_MDIMinimizedWidth = 40; + public static final int PM_HeaderMargin = 41; + public static final int PM_HeaderMarkSize = 42; + public static final int PM_HeaderGripMargin = 43; + public static final int PM_TabBarTabShiftHorizontal = 44; + public static final int PM_TabBarTabShiftVertical = 45; + public static final int PM_TabBarScrollButtonWidth = 46; + public static final int PM_MenuBarItemSpacing = 47; + public static final int PM_ToolBarItemSpacing = 48; + public static final int PM_CustomBase = 0xf0000000; + + public static final int CT_PushButton = 0; + public static final int CT_CheckBox = 1; + public static final int CT_RadioButton = 2; + public static final int CT_ToolButton = 3; + public static final int CT_ComboBox = 4; + public static final int CT_Splitter = 5; + public static final int CT_DockWindow = 6; + public static final int CT_ProgressBar = 7; + public static final int CT_PopupMenuItem = 8; + public static final int CT_TabBarTab = 9; + public static final int CT_Slider = 10; + public static final int CT_Header = 11; + public static final int CT_LineEdit = 12; + public static final int CT_MenuBar = 13; + public static final int CT_SpinBox = 14; + public static final int CT_SizeGrip = 15; + public static final int CT_TabWidget = 16; + public static final int CT_DialogButtons = 17; + public static final int CT_CustomBase = 0xf0000000; + + public static final int SH_EtchDisabledText = 0; + public static final int SH_GUIStyle = 1; + public static final int SH_ScrollBar_BackgroundMode = 2; + public static final int SH_ScrollBar_MiddleClickAbsolutePosition = 3; + public static final int SH_ScrollBar_ScrollWhenPointerLeavesControl = 4; + public static final int SH_TabBar_SelectMouseType = 5; + public static final int SH_TabBar_Alignment = 6; + public static final int SH_Header_ArrowAlignment = 7; + public static final int SH_Slider_SnapToValue = 8; + public static final int SH_Slider_SloppyKeyEvents = 9; + public static final int SH_ProgressDialog_CenterCancelButton = 10; + public static final int SH_ProgressDialog_TextLabelAlignment = 11; + public static final int SH_PrintDialog_RightAlignButtons = 12; + public static final int SH_MainWindow_SpaceBelowMenuBar = 13; + public static final int SH_FontDialog_SelectAssociatedText = 14; + public static final int SH_PopupMenu_AllowActiveAndDisabled = 15; + public static final int SH_PopupMenu_SpaceActivatesItem = 16; + public static final int SH_PopupMenu_SubMenuPopupDelay = 17; + public static final int SH_ScrollView_FrameOnlyAroundContents = 18; + public static final int SH_MenuBar_AltKeyNavigation = 19; + public static final int SH_ComboBox_ListMouseTracking = 20; + public static final int SH_PopupMenu_MouseTracking = 21; + public static final int SH_MenuBar_MouseTracking = 22; + public static final int SH_ItemView_ChangeHighlightOnFocus = 23; + public static final int SH_Widget_ShareActivation = 24; + public static final int SH_Workspace_FillSpaceOnMaximize = 25; + public static final int SH_ComboBox_Popup = 26; + public static final int SH_TitleBar_NoBorder = 27; + public static final int SH_ScrollBar_StopMouseOverSlider = 28; + public static final int SH_BlinkCursorWhenTextSelected = 29; + public static final int SH_RichText_FullWidthSelection = 30; + public static final int SH_PopupMenu_Scrollable = 31; + public static final int SH_GroupBox_TextLabelVerticalAlignment = 32; + public static final int SH_GroupBox_TextLabelColor = 33; + public static final int SH_PopupMenu_SloppySubMenus = 34; + public static final int SH_Table_GridLineColor = 35; + public static final int SH_LineEdit_PasswordCharacter = 36; + public static final int SH_DialogButtons_DefaultButton = 37; + public static final int SH_ToolBox_SelectedPageTitleBold = 38; + public static final int SH_TabBar_PreferNoArrows = 39; + public static final int SH_ScrollBar_LeftClickAbsolutePosition = 40; + public static final int SH_ListViewExpand_SelectMouseType = 41; + public static final int SH_UnderlineAccelerator = 42; + public static final int SH_ToolButton_Uses3D = 43; + public static final int SH_CustomBase = 0xf0000000; + + public static final int SP_TitleBarMinButton = 0; + public static final int SP_TitleBarMaxButton = 1; + public static final int SP_TitleBarCloseButton = 2; + public static final int SP_TitleBarNormalButton = 3; + public static final int SP_TitleBarShadeButton = 4; + public static final int SP_TitleBarUnshadeButton = 5; + public static final int SP_DockWindowCloseButton = 6; + public static final int SP_MessageBoxInformation = 7; + public static final int SP_MessageBoxWarning = 8; + public static final int SP_MessageBoxCritical = 9; + public static final int SP_MessageBoxQuestion = 10; + public static final int SP_CustomBase = 0xf0000000; + + public native TQMetaObject metaObject(); + public native String className(); + public native void polish(TQWidget arg1); + public native void unPolish(TQWidget arg1); + public native void polish(TQApplication arg1); + public native void unPolish(TQApplication arg1); + public native void polish(TQPalette arg1); + public native void polishPopupMenu(TQPopupMenu arg1); + public native TQRect itemRect(TQPainter p, TQRect r, int flags, boolean enabled, TQPixmap pixmap, String text, int len); + public native TQRect itemRect(TQPainter p, TQRect r, int flags, boolean enabled, TQPixmap pixmap, String text); + public native void drawItem(TQPainter p, TQRect r, int flags, TQColorGroup g, boolean enabled, TQPixmap pixmap, String text, int len, TQColor penColor); + public native void drawItem(TQPainter p, TQRect r, int flags, TQColorGroup g, boolean enabled, TQPixmap pixmap, String text, int len); + public native void drawItem(TQPainter p, TQRect r, int flags, TQColorGroup g, boolean enabled, TQPixmap pixmap, String text); + public native void drawPrimitive(int pe, TQPainter p, TQRect r, TQColorGroup cg, int flags, TQStyleOption arg6); + public native void drawPrimitive(int pe, TQPainter p, TQRect r, TQColorGroup cg, int flags); + public native void drawPrimitive(int pe, TQPainter p, TQRect r, TQColorGroup cg); + public native void drawControl(int element, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how, TQStyleOption arg7); + public native void drawControl(int element, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how); + public native void drawControl(int element, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg); + public native void drawControlMask(int element, TQPainter p, TQWidget widget, TQRect r, TQStyleOption arg5); + public native void drawControlMask(int element, TQPainter p, TQWidget widget, TQRect r); + public native TQRect subRect(int r, TQWidget widget); + public native void drawComplexControl(int control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how, int sub, int subActive, TQStyleOption arg9); + public native void drawComplexControl(int control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how, int sub, int subActive); + public native void drawComplexControl(int control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how, int sub); + public native void drawComplexControl(int control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how); + public native void drawComplexControl(int control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg); + public native void drawComplexControlMask(int control, TQPainter p, TQWidget widget, TQRect r, TQStyleOption arg5); + public native void drawComplexControlMask(int control, TQPainter p, TQWidget widget, TQRect r); + public native TQRect querySubControlMetrics(int control, TQWidget widget, int sc, TQStyleOption arg4); + public native TQRect querySubControlMetrics(int control, TQWidget widget, int sc); + public native int querySubControl(int control, TQWidget widget, TQPoint pos, TQStyleOption arg4); + public native int querySubControl(int control, TQWidget widget, TQPoint pos); + public native int pixelMetric(int metric, TQWidget widget); + public native int pixelMetric(int metric); + public native TQSize sizeFromContents(int contents, TQWidget widget, TQSize contentsSize, TQStyleOption arg4); + public native TQSize sizeFromContents(int contents, TQWidget widget, TQSize contentsSize); + // int styleHint(TQStyle::StyleHint arg1,const TQWidget* arg2,const TQStyleOption& arg3,TQStyleHintReturn* arg4); >>>> NOT CONVERTED + public native int styleHint(int stylehint, TQWidget widget, TQStyleOption arg3); + public native int styleHint(int stylehint, TQWidget widget); + public native int styleHint(int stylehint); + public native TQPixmap stylePixmap(int stylepixmap, TQWidget widget, TQStyleOption arg3); + public native TQPixmap stylePixmap(int stylepixmap, TQWidget widget); + public native TQPixmap stylePixmap(int stylepixmap); + public native int defaultFrameWidth(); + public native void tabbarMetrics(TQWidget t, int[] hf, int[] vf, int[] ov); + public native TQSize scrollBarExtent(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native TQRect visualRect(TQRect logical, TQWidget w); + public static native TQRect visualRect(TQRect logical, TQRect bounding); +} |