Documentation ¶
Index ¶
- type Gui
- func (g *Gui) DownloadTorrentCompleted(row int, percent int)
- func (g *Gui) DownloadTorrentStarted(name string)
- func (g *Gui) DownloadTorrentsCompleted()
- func (g *Gui) ErrorOccured(err string)
- func (g *Gui) RenameSeriesCompleted()
- func (g *Gui) SearchCompleted(torrents [][]byte)
- func (g *Gui) SyncSettings()
- type List
- func (list *List) AddRow(torrent common.Torrent)
- func (list *List) RemoveAllRows()
- func (list *List) ResizeAllColumnToContents()
- func (list *List) RowCount() int
- func (list *List) RowData(index int) common.Torrent
- func (list *List) RowSelected(index int) bool
- func (list *List) RowsSelected() int
- func (list *List) UncheckRow(index int)
- type QVFormLayout
- type SettingsDialog
- type StatusBar
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gui ¶
Gui struct
func (*Gui) DownloadTorrentCompleted ¶
DownloadTorrentCompleted slot
func (*Gui) DownloadTorrentStarted ¶
DownloadTorrentStarted slot
func (*Gui) DownloadTorrentsCompleted ¶
func (g *Gui) DownloadTorrentsCompleted()
DownloadTorrentsCompleted slot
func (*Gui) RenameSeriesCompleted ¶
func (g *Gui) RenameSeriesCompleted()
RenameSeriesCompleted slot
type List ¶
List struct
func (*List) ResizeAllColumnToContents ¶
func (list *List) ResizeAllColumnToContents()
ResizeAllColumnToContents resize all columns to contents
func (*List) RowSelected ¶
RowSelected returns true if the row at index is selected
func (*List) RowsSelected ¶
RowsSelected returns the number of rows selected
type QVFormLayout ¶
type QVFormLayout struct { *widgets.QVBoxLayout // contains filtered or unexported fields }
QVFormLayout struct
func MakeQVFormLayout ¶
func MakeQVFormLayout() *QVFormLayout
MakeQVFormLayout returns a new QVFormLayout
func (*QVFormLayout) AddBlock ¶
func (layout *QVFormLayout) AddBlock(title string)
AddBlock add a group box
func (*QVFormLayout) AddRow ¶
func (layout *QVFormLayout) AddRow(block int, label string, widget widgets.QWidget_ITF)
AddRow add a new row
type SettingsDialog ¶
type SettingsDialog struct { core.QObject *widgets.QDialog // contains filtered or unexported fields }
SettingsDialog struct
func MakeSettingsDialog ¶
func MakeSettingsDialog(window *widgets.QMainWindow, settings *core.QSettings) *SettingsDialog
MakeSettingsDialog returns new SettingsDialog struct
type StatusBar ¶
type StatusBar struct { *widgets.QStatusBar ProgressBar *widgets.QProgressBar // contains filtered or unexported fields }
StatusBar stuct
func (*StatusBar) ClearStatusMessage ¶
func (sb *StatusBar) ClearStatusMessage()
ClearStatusMessage clear the status message and the icon
func (*StatusBar) SetErrorStatusMessage ¶
SetErrorStatusMessage set a status error
func (*StatusBar) SetOkStatusMessage ¶
SetOkStatusMessage set a ok status message
func (*StatusBar) SetStatusMessage ¶
SetStatusMessage set a status message and the icon (font awesome UTF code)
func (*StatusBar) StartProgress ¶
StartProgress start pulse the progress bar