mainUI

package
v0.0.0-...-3ddecfe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2018 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MainUI

type MainUI struct {
	// contains filtered or unexported fields
}

MainUI defines the data for the main ui (that one with the chats)

func NewMainUI

func NewMainUI(windowWidth, windowHeight int, window *widgets.QMainWindow) (mainUI *MainUI)

NewMainUI gives you a MainUI struct with prefilled data

func (*MainUI) GetWidget

func (m *MainUI) GetWidget() (widget *widgets.QWidget)

GetWidget returns the QWidget of the MainUI

func (*MainUI) NewUI

func (m *MainUI) NewUI() error

NewUI prepares the new UI

func (*MainUI) SetCli

func (m *MainUI) SetCli(cli *gomatrix.Client)

SetCli sets the gomatrix Client for the MainUI

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL