on 551c708 help sign in
unity8/tests/mocks/LightDM/full/UsersModelPrivate.cpp
52 lines 2.5 kB history raw
1/*
2 * Copyright (C) 2013 Canonical, Ltd.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 3.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 * Author: Michael Terry <michael.terry@canonical.com>
17 */
19#include "../UsersModelPrivate.h"
21namespace QLightDM
24UsersModelPrivate::UsersModelPrivate(UsersModel* parent)
25 : q_ptr(parent)
27 entries =
28 {
29 { "has-password", "Has Password", 0, 0, false, false, 0, 0 },
30 { "has-pin", "Has PIN", 0, 0, false, false, 0, 0 },
31 { "different-prompt", "Different Prompt", 0, 0, false, false, 0, 0 },
32 { "no-password", "No Password", 0, 0, false, false, 0, 0 },
33 { "auth-error", "Auth Error", 0, 0, false, false, 0, 0 },
34 { "two-factor", "Two Factor", 0, 0, false, false, 0, 0 },
35 { "info-prompt", "Info Prompt", 0, 0, false, false, 0, 0 },
36 { "html-info-prompt", "HTML Info Prompt", 0, 0, false, false, 0, 0 },
37 { "long-info-prompt", "Long Info Prompt", 0, 0, false, false, 0, 0 },
38 { "wide-info-prompt", "Wide Info Prompt", 0, 0, false, false, 0, 0 },
39 { "multi-info-prompt", "Multi Info Prompt", 0, 0, false, false, 0, 0 },
40 { "long-name", "Long name (far far too long to fit)", 0, 0, false, false, 0, 0 },
41 { "color-background", "Color Background", "#dd4814", 0, false, false, 0, 0 },
42 // white and black are a bit redundant, but useful for manually testing if UI is still readable
43 { "white-background", "White Background", "#ffffff", 0, false, false, 0, 0 },
44 { "black-background", "Black Background", "#000000", 0, false, false, 0, 0 },
45 { "no-background", "No Background", "", 0, false, false, 0, 0 },
46 { "unicode", "가나다라마", 0, 0, false, false, 0, 0 },
47 { "no-response", "No Response", 0, 0, false, false, 0, 0 },
48 { "empty-name", "", 0, 0, false, false, 0, 0 },
49 };