mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 10:25:36 +08:00
As of workshop RW/KB, improved / fixed text messages
Also refs #351 * messages can be formatted with style sheet * fixed: removed command from message * added originator to command line * msg parsing now in core * using ITimestampBased for text messages and status messages * allow to resize rows to content (view base) * model / views for text messages * removed old qt stylesheets
This commit is contained in:
@@ -68,11 +68,14 @@ namespace BlackGui
|
||||
virtual BlackMisc::CVariant data(int role, const BlackMisc::CVariant &inputData) const;
|
||||
|
||||
//! Default value
|
||||
static int alignDefault() { return alignLeftVCenter(); }
|
||||
static int alignDefault();
|
||||
|
||||
//! Align left/vertically centered
|
||||
static int alignLeftVCenter() { return Qt::AlignVCenter | Qt::AlignLeft; }
|
||||
|
||||
//! Align left/vertically on top
|
||||
static int alignLeftTop() { return Qt::AlignTop | Qt::AlignLeft; }
|
||||
|
||||
//! Align centered
|
||||
static int alignCentered() { return Qt::AlignVCenter | Qt::AlignHCenter; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user