Ejemplo n.º 1
0
    def __init__(self, parent):
        super(Interpreters, self).__init__(parent)
        self.container = ScrollableFrame(parent, style="DarkGray.TFrame")

        self.interpretersItems = []
        self.interpretersList = Frame(self.container.interior,
                                      style="DarkGray.TFrame")
        self.interpretersList.pack(fill='x')

        ListItem(self.interpretersList, ['Número', 'Nome', 'Tipo'], None, True)
Ejemplo n.º 2
0
    def __init__(self, parent):
        super(Albums, self).__init__(parent)
        self.container = ScrollableFrame(parent, style="DarkGray.TFrame")

        self.albumsItems = []
        self.albumsList = Frame(self.container.interior,
                                style="DarkGray.TFrame")
        self.albumsList.pack(fill='x')

        ListItem(self.albumsList, [
            'Número', 'Gravadora', 'Preço', 'Data de Compra',
            'Data de Gravação', 'Tipo de Compra', 'Descrição'
        ], None, True)
Ejemplo n.º 3
0
    def __init__(self, parent, query=None):
        super(Playlists, self).__init__(parent)
        self.container = ScrollableFrame(parent, style="DarkGray.TFrame")

        self.query = query
        self.playlistsItems = []
        self.playlistsList = Frame(self.container.interior,
                                   style="DarkGray.TFrame")
        self.playlistsList.pack(fill='x')

        ListItem(self.playlistsList,
                 ['Número', 'Nome', 'Data de Criação', 'Tempo total'], None,
                 True)
Ejemplo n.º 4
0
    def __init__(self, parent):
        super(Composers, self).__init__(parent)
        self.container = ScrollableFrame(parent, style="DarkGray.TFrame")

        self.composerItems = []
        self.composerList = Frame(self.container.interior,
                                  style="DarkGray.TFrame")
        self.composerList.pack(fill='x')

        ListItem(self.composerList, [
            'Número', 'Período Musical', 'Nome', 'Cidade', 'País',
            'Data de Nascimento', 'Data de Morte'
        ], None, True)
Ejemplo n.º 5
0
    def __init__(self, parent, query=None, callback=None):
        super(Songs, self).__init__(parent)
        self.container = ScrollableFrame(parent, style="DarkGray.TFrame")

        self.callback = callback
        self.query = query
        self.songsItems = []
        self.songsList = Frame(self.container.interior,
                               style="DarkGray.TFrame")
        self.songsList.pack(fill='x')

        ListItem(self.songsList, [
            'Número', 'Playlist', 'Álbum', 'Composição', 'Tipo', 'Descrição',
            'Duração'
        ], None, True)