mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 08:10:05 +00:00
Moved name to end of model to make it take all remaining space
This commit is contained in:
parent
aec937aa97
commit
0c20e49831
2 changed files with 5 additions and 9 deletions
|
|
@ -5,10 +5,6 @@
|
|||
#include <scwx/util/logger.hpp>
|
||||
|
||||
#include <QApplication>
|
||||
#include <QCheckBox>
|
||||
#include <QFontMetrics>
|
||||
#include <QStyle>
|
||||
#include <QStyleOption>
|
||||
|
||||
namespace scwx
|
||||
{
|
||||
|
|
@ -21,9 +17,9 @@ static const std::string logPrefix_ = "scwx::qt::model::marker_model";
|
|||
static const auto logger_ = scwx::util::Logger::Create(logPrefix_);
|
||||
|
||||
static constexpr int kFirstColumn =
|
||||
static_cast<int>(MarkerModel::Column::Name);
|
||||
static_cast<int>(MarkerModel::Column::Latitude);
|
||||
static constexpr int kLastColumn =
|
||||
static_cast<int>(MarkerModel::Column::Longitude);
|
||||
static_cast<int>(MarkerModel::Column::Name);
|
||||
static constexpr int kNumColumns = kLastColumn - kFirstColumn + 1;
|
||||
|
||||
class MarkerModel::Impl
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue