Changed alignment of status column in the FileView
FossilOrigin-Name: 9362f078cb6e07ebe94d2e259c4d3e7c8f6f0d8b
This commit is contained in:
parent
fbaeed47c7
commit
63d4a7d911
@ -815,7 +815,6 @@ void MainWindow::updateDirView()
|
||||
void MainWindow::updateFileView()
|
||||
{
|
||||
// File View
|
||||
// Clear all rows (except header)
|
||||
repoFileModel.clear();
|
||||
|
||||
QStringList header;
|
||||
@ -829,6 +828,7 @@ void MainWindow::updateFileView()
|
||||
header << tr("Path");
|
||||
|
||||
repoFileModel.setHorizontalHeaderLabels(header);
|
||||
repoFileModel.horizontalHeaderItem(COLUMN_STATUS)->setTextAlignment(Qt::AlignCenter);
|
||||
|
||||
struct { RepoFile::EntryType type; const char *tag; const char *tooltip; const char *icon; }
|
||||
stats[] =
|
||||
@ -890,8 +890,8 @@ void MainWindow::updateFileView()
|
||||
filename_item->setData(e.getFilePath());
|
||||
repoFileModel.setItem(item_id, COLUMN_FILENAME, filename_item);
|
||||
|
||||
repoFileModel.setItem(item_id, COLUMN_EXTENSION, new QStandardItem(finfo .completeSuffix()));
|
||||
repoFileModel.setItem(item_id, COLUMN_MODIFIED, new QStandardItem(finfo .lastModified().toString(Qt::SystemLocaleShortDate)));
|
||||
repoFileModel.setItem(item_id, COLUMN_EXTENSION, new QStandardItem(finfo.completeSuffix()));
|
||||
repoFileModel.setItem(item_id, COLUMN_MODIFIED, new QStandardItem(finfo.lastModified().toString(Qt::SystemLocaleShortDate)));
|
||||
|
||||
++item_id;
|
||||
}
|
||||
|
12
manifest
12
manifest
@ -1,5 +1,5 @@
|
||||
C Improved\sparsing\sof\sfossil\squeries\swhen\sfilenames\scontain\squery-like\scharacters
|
||||
D 2012-05-04T08:29:09.608
|
||||
C Changed\salignment\sof\sstatus\scolumn\sin\sthe\sFileView
|
||||
D 2012-05-04T09:46:44.007
|
||||
F CommitDialog.cpp a46020a9361151d8d286a2670257d01d8967bf69
|
||||
F CommitDialog.h f1ee8db92103164e7db55a8407ccdcff24571b72
|
||||
F CommitDialog.ui 813d7cba316e226de1a22b7e480bb969fbe9b0c4
|
||||
@ -8,7 +8,7 @@ F FileActionDialog.h 15db1650b3a13d70bc338371e4c033c66e3b79ce
|
||||
F FileActionDialog.ui c63644428579741aeb5fa052e237ba799ced9ad7
|
||||
F FileTableView.cpp 5ddf8c391c9a3ac449ec61fb1db837b577afeec2
|
||||
F FileTableView.h 03e56d87c2d46411b9762b87f4d301619aaf18df
|
||||
F MainWindow.cpp d7f63ea0989ea07533016e7d2008978d82f4d0f6
|
||||
F MainWindow.cpp 7b61fc2818b33882282663e2de6b524d259615db
|
||||
F MainWindow.h 90de1726e0961f73f637c4071d1cb0fe1049007f
|
||||
F MainWindow.ui 8c8182e68aa1955a666997ad83ca692f3cb866d9
|
||||
F SettingsDialog.cpp e1fad18cc020d08b82c6d35dc94f6624deec9a3b
|
||||
@ -176,7 +176,7 @@ F installer/fuel.iss 13b6a938bcdf273cbd3649d2549887baa1577214
|
||||
F installer/license.txt 4cc77b90af91e615a64ae04893fdffa7939db84c
|
||||
F main.cpp f2913af0af1a5fcbebe93fb53b8a9cf6e7bbf65a
|
||||
F resources.qrc e98383ed205f4e37100c60057e0129c3b86dea53
|
||||
P 18f5bc27008df76f43baf527a81920ba2464ba97
|
||||
R a7943177ef045ed5206d283398a8d07b
|
||||
P 7d22e48d7b032510e627999857fcd9f08a910855
|
||||
R dbdf9b49c066fbb1c2132ee4f482358f
|
||||
U kostas
|
||||
Z 1db36dbc689005bcd439ea0bfbe4f93e
|
||||
Z 49c47f79a140e741c57d6cff887f98ab
|
||||
|
@ -1 +1 @@
|
||||
7d22e48d7b032510e627999857fcd9f08a910855
|
||||
9362f078cb6e07ebe94d2e259c4d3e7c8f6f0d8b
|
Loading…
x
Reference in New Issue
Block a user