#include <map_layer_table_view.h>
Public スロット | |
void | moveUpSelected () |
slot:選択された行を上に遷移 | |
void | moveDownSelected () |
slot:選択された行を下に遷移 | |
Public メソッド | |
MapLayerTableView (QWidget *parent=0) | |
widgetのコンストラクタ | |
QVector< int > | selectedLayerIndexes () |
選択中のレイヤを保持するために使用 | |
Static Public 変数 | |
static const int | MIN_WIDTH = 400 |
widgetの最小幅 | |
static const int | MIN_HEIGHT = 150 |
widgetの最小高 | |
Private 型 | |
enum | MoveDirection_t { UP, DOWN } |
moveSelectedRows用列挙型 [詳細] | |
Private メソッド | |
void | moveSelectedRows (MoveDirection_t dir) |
move{Up,Down}Selectedのための下請け関数。実作業を行う | |
QVector< int > | selectedRowVisualIndexes () |
現在選択されている行のvisual indexをvectorで返す。 |
QTableViewにslotを追加。Mocファイルの生成のためヘッダだけ別とするが, LayerViewが内部で使用するため,method実装はlayer_view.cpp内に置く。 必要が出た場合に分離する。
enum MapLayerTableView::MoveDirection_t [private] |
MapLayerTableView::MapLayerTableView | ( | QWidget * | parent = 0 |
) |
widgetのコンストラクタ
QVector< int > MapLayerTableView::selectedLayerIndexes | ( | ) |
選択中のレイヤを保持するために使用
void MapLayerTableView::moveUpSelected | ( | ) | [slot] |
slot:選択された行を上に遷移
void MapLayerTableView::moveDownSelected | ( | ) | [slot] |
slot:選択された行を下に遷移
void MapLayerTableView::moveSelectedRows | ( | MoveDirection_t | dir | ) | [private] |
move{Up,Down}Selectedのための下請け関数。実作業を行う
QVector< int > MapLayerTableView::selectedRowVisualIndexes | ( | ) | [private] |
現在選択されている行のvisual indexをvectorで返す。
const int MapLayerTableView::MIN_WIDTH = 400 [static] |
widgetの最小幅
const int MapLayerTableView::MIN_HEIGHT = 150 [static] |
widgetの最小高