190610
label の文字列をセンターに
色々調べたけど単純にdesignerで設定した( ´∀`)
画像が無いときにテキストを表示するだけ
ファイルに画像が埋め込まれていないときはフォルダを調べるようにしたいんだけどそれはまだ
行の削除
この機能は必須ですよね、モデルの操作になる
一つずつとまとめての二種類ある
アルバム行を削除する場合はその個°小野タイトル行も削除するようにした
foobarと同じ挙動です
QStandardItemModel.removeRows (self, int row, int count, QModelIndex parent = QModelIndex())
QAbstractItemModel.removeRows (self, int row, int count, QModelIndex parent = QModelIndex())
keyPressEvent (self, QKeyEvent event)
int QKeyEvent.key (self) == Qt.Key_Delete
QAction QToolBar.addSeparator (self)
QAction QToolBar.addWidget (self, QWidget widget)
表示するのは簡単だった
使い方はまだわかんない( ´∀`)
普通のスライダーだと、演奏時間に応じてずりずりするのと、マウスのグリグリで進めたり戻ったりさせることになるね
This enum indicates the position of the drop indicator in relation to the index at the current mouse position:
QAbstractItemView.OnItem 0 The item will be dropped on the index.
QAbstractItemView.AboveItem 1 The item will be dropped above the index.
QAbstractItemView.BelowItem 2 The item will be dropped below the index.
QAbstractItemView.OnViewport 3 The item will be dropped onto a region of the viewport with no items. The way each view handles items dropped onto the viewport depends on the behavior of the underlying model in use.