Documentação do Gambas
Api
Como fazer ...
Compilação e Instalação
Components
Classes nativas
gb.args
gb.compress
gb.crypt
gb.data
gb.db
gb.db.form
gb.dbus
gb.debug
gb.desktop
gb.desktop.x11
gb.eval
gb.form
gb.form.dialog
gb.form.mdi - Interface Multi Documento
gb.gtk
gb.gtk.opengl
gb.gui
gb.gui.opengl
gb.image - Componente de processamento de imagens
gb.inotify
gb.logging
gb.map
gb.markdown
gb.media
gb.media.form
gb.mime
gb.ncurses
gb.net
gb.net.curl
gb.net.smtp
gb.openal
gb.opengl
gb.option
gb.pcre
gb.pdf
gb.qt4
_GridView_Columns
_GridView_Rows
_split
_TreeView
Action
Align
Application
Arrange
Border
Button
CheckBox
Clipboard
Color
ColumnView
ComboBox
Container
Control
Cursor
Desktop
Dialog
Drag
Draw
DrawingArea
embedder
Fill
Font
Fonts
Form
Frame
GridView
HBox
HPanel
HSplit
IconView
Image
Key
Label
Line
ListBox
ListView
Menu
Message
Mouse
MovieBox
Paint
PaintBrush
PaintExtents
PaintMatrix
Panel
Picture
PictureBox
Point
Pointer
PointF
Printer
ProgressBar
RadioButton
Rect
RectF
Screen
Screens
Scroll
ScrollArea
ScrollBar
ScrollView
Select
Separator
Shortcut
Slider
SpinBox
Style
Active
BackgroundOf
BoxFrameHeight
BoxFrameWidth
Disabled
ForegroundOf
FrameWidth
HasFocus
Hovered
Name
Normal
PaintArrow
PaintBox
PaintButton
PaintCheck
PaintHandle
PaintOption
PaintPanel
PaintSeparator
ScrollBarSize
ScrollBarSpacing
StateOf
TextBoxFrameWidth
SvgImage
TabStrip
TextArea
TextBox
TextLabel
ToggleButton
ToolButton
trayicon
trayicons
TreeView
UserContainer
UserControl
VBox
VPanel
VSplit
Watcher
Window
Windows
gb.qt4.ext
gb.qt4.webkit
gb.report
gb.sdl
gb.sdl.sound
gb.sdl2.audio
gb.settings
gb.signal
gb.util
gb.vb
gb.web
gb.xml - Ferramentas XML baseadas em libxml
Documentação do Desenvolvedor
Documentação do IDE
Documentos
LEIA-ME
Léxico
Manual Wiki
Mensagens de erro
Pedaços de Códigos
Registrar-se
Repositório de aplicativos
Traduzir
Tutoriais
Ultimas modificações
Visão geral da linguagem
Índice da Linguagem

Style (gb.qt4)

Esta classe é um conjunto de propriedades que retornam informações sobre o estilo do widget atual.

This class is static.

Constants
Active   Este flag não é utilizada no momento.
Default  
Disabled   Esse sinalizador indica que um controle está desativado.
HasFocus   Esse sinalizador indica que um controle tem o foco.
Hovered   Este sinalizador indica que o cursor do mouse está dentro do controle.
Normal   Esse sinalizador indica que um controle não está desativado, não tem o foco, e não está sob o cursor do mouse.
ShapeCircle  
Since 3.21
Constant that represents a very round border shape.
ShapeDefault  
Since 3.21
Constant that represents the default border shape.
ShapeFlat  
Since 3.21
Constant flag that indicates a flat background.
ShapeHideBottom  
Since 3.21
Constant flag that indicates that the bottom border is hidden.
ShapeHideLeft  
Since 3.21
Constant flag that indicates that the left border is hidden.
ShapeHideRight  
Since 3.21
Constant flag that indicates that the right border is hidden.
ShapeHideTop  
Since 3.21
Constant flag that indicates that the top border is hidden.
ShapeRound  
Since 3.21
Constant that represents a round border shape.
ShapeSmooth  
Since 3.21
Constant that represents a slight round border shape.
ShapeSquare  
Since 3.21
Constant that represents a square border shape.
ShapeSquareBottom  
Since 3.21
Constant flag that indicates that the bottom border is not rounded.
ShapeSquareLeft  
Since 3.21
Constant flag that indicates that the left border is not rounded.
ShapeSquareRight  
Since 3.21
Constant flag that indicates that the right border is not rounded.
ShapeSquareTop  
Since 3.21
Constant flag that indicates that the top border is not rounded.

Static properties
BorderRadius  
Since 3.21
Return the radius of the styled borders in pixels.
BorderSize  
Since 3.21
Return the size of the styled borders in pixels.
BoxFrameHeight   Retorne a altura de um TextBox (ou frame editável de um ComboBox).
BoxFrameWidth   Retorne a largura de um TextBox (ou frame editável de um ComboBox).
Color  
Since 3.21
Return or set the highlight color of the styled borders.
Flat  
Since 3.21
Return or set if the styled borders are drawn with a filled shape instead of a stroke one.
FrameWidth   Retorne a largura da moldura do painel.
FramedSelection  
Name   Retorna o nome do estilo atual do widget, ou tema, ou o que quiser chamar.
Opacity  
Since 3.21
Return or set the opacity of the styled borders.
ScrollBarSize   Retorna o tamanho de uma barra de rolagem.
ScrollBarSpacing   Retorna o espaçamento entre uma barra de rolagem e a área de rolagem.
Shadows  
Shape  
Since 3.21
Return or set the shape used by styled control border.
TextBoxFrameWidth   Retorna a largura da moldura (frame) de um controle TextBox.

Static methods
BackgroundOf   Retorna a cor de fundo real do controle que deve ser usado quando for desenhado.
ClipBackground  
Since 3.21
Clip the current painter to the shape of a styled background.
ForegroundOf   Retorna a cor de primeiro plano real do controle que deve ser usado quando desenhado.
PaintArrow   Desenha uma seta.
PaintBackground  
Since 3.21
Paint a styled background.
PaintBox   Desenha o quadro da caixa.
PaintButton   Desenha um frame push button .
PaintCheck   Desenha um CheckBox.
PaintHandle   Desenha um splitter ou barra de ferramentas (toolbar).
PaintOption   Desenha um botão de opção.
PaintPanel   Desenha um frame painel.
PaintSelection  
Since 3.21
Paint a styled selection rectangle.
PaintSeparator   Desenha um separador de barra de ferramentas (toolbar).
StateOf   Retorna o estado de um controle como uma soma dos seguintes flags: