@ -0,0 +1,3 @@
@@ -0,0 +1,3 @@
|
||||
[General] |
||||
geometry=@Rect(147 345 604 375) |
||||
maximized=false |
Before Width: | Height: | Size: 164 B After Width: | Height: | Size: 164 B |
Before Width: | Height: | Size: 172 B |
Before Width: | Height: | Size: 249 B |
Before Width: | Height: | Size: 152 B |
Before Width: | Height: | Size: 214 B |
Before Width: | Height: | Size: 274 B |
Before Width: | Height: | Size: 432 B |
Before Width: | Height: | Size: 307 B |
Before Width: | Height: | Size: 510 B |
Before Width: | Height: | Size: 220 B |
Before Width: | Height: | Size: 323 B |
Before Width: | Height: | Size: 178 B |
Before Width: | Height: | Size: 265 B |
Before Width: | Height: | Size: 142 B |
Before Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 327 B |
Before Width: | Height: | Size: 533 B |
Before Width: | Height: | Size: 248 B |
Before Width: | Height: | Size: 382 B |
Before Width: | Height: | Size: 183 B |
Before Width: | Height: | Size: 267 B |
Before Width: | Height: | Size: 192 B |
Before Width: | Height: | Size: 314 B |
Before Width: | Height: | Size: 503 B |
Before Width: | Height: | Size: 474 B |
Before Width: | Height: | Size: 433 B |
Before Width: | Height: | Size: 790 B After Width: | Height: | Size: 790 B |
Before Width: | Height: | Size: 744 B After Width: | Height: | Size: 744 B |
Before Width: | Height: | Size: 512 B After Width: | Height: | Size: 512 B |
After Width: | Height: | Size: 671 B |
Before Width: | Height: | Size: 361 KiB |
Before Width: | Height: | Size: 291 B After Width: | Height: | Size: 291 B |
Before Width: | Height: | Size: 852 B |
Before Width: | Height: | Size: 807 B |
Before Width: | Height: | Size: 825 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 766 B |
Before Width: | Height: | Size: 288 B After Width: | Height: | Size: 288 B |
@ -1,35 +0,0 @@
@@ -1,35 +0,0 @@
|
||||
/*
|
||||
Copyright (C) 2013 by Maxim Biro <nurupo.contributions@gmail.com> |
||||
|
||||
This file is part of Tox Qt GUI. |
||||
|
||||
This program is free software: you can redistribute it and/or modify |
||||
it under the terms of the GNU General Public License as published by |
||||
the Free Software Foundation, either version 3 of the License, or |
||||
(at your option) any later version. |
||||
This program is distributed in the hope that it will be useful, |
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
||||
|
||||
See the COPYING file for more details. |
||||
*/ |
||||
|
||||
#include "status.h" |
||||
|
||||
const QList<StatusHelper::Info> StatusHelper::info = |
||||
{ |
||||
{"Online", ":/icons/status_online.png"}, |
||||
{"Away", ":/icons/status_away.png"}, |
||||
{"Busy", ":/icons/status_busy.png"}, |
||||
{"Offline", ":/icons/status_offline.png"} |
||||
}; |
||||
|
||||
StatusHelper::Info StatusHelper::getInfo(int status) |
||||
{ |
||||
return info.at(status); |
||||
} |
||||
|
||||
StatusHelper::Info StatusHelper::getInfo(Status status) |
||||
{ |
||||
return StatusHelper::getInfo(static_cast<int>(status)); |
||||
} |
@ -1,45 +0,0 @@
@@ -1,45 +0,0 @@
|
||||
/*
|
||||
Copyright (C) 2013 by Maxim Biro <nurupo.contributions@gmail.com> |
||||
|
||||
This file is part of Tox Qt GUI. |
||||
|
||||
This program is free software: you can redistribute it and/or modify |
||||
it under the terms of the GNU General Public License as published by |
||||
the Free Software Foundation, either version 3 of the License, or |
||||
(at your option) any later version. |
||||
This program is distributed in the hope that it will be useful, |
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
||||
|
||||
See the COPYING file for more details. |
||||
*/ |
||||
|
||||
#ifndef STATUS_HPP |
||||
#define STATUS_HPP |
||||
|
||||
#include <QObject> |
||||
|
||||
enum class Status : int {Online = 0, Away, Busy, Offline}; |
||||
|
||||
class StatusHelper |
||||
{ |
||||
public: |
||||
|
||||
static const int MAX_STATUS = static_cast<int>(Status::Offline); |
||||
|
||||
struct Info { |
||||
QString name; |
||||
QString iconPath; |
||||
}; |
||||
|
||||
static Info getInfo(int status); |
||||
static Info getInfo(Status status); |
||||
|
||||
private: |
||||
const static QList<Info> info; |
||||
|
||||
}; |
||||
|
||||
Q_DECLARE_METATYPE(Status) |
||||
|
||||
#endif // STATUS_HPP
|
@ -0,0 +1,34 @@
@@ -0,0 +1,34 @@
|
||||
QScrollArea { |
||||
background: #414141!important; |
||||
} |
||||
|
||||
QScrollBar:vertical { |
||||
background: #414141!important; |
||||
width: 14px!important; |
||||
margin-top: 2px!important; |
||||
margin-bottom: 2px!important; |
||||
} |
||||
|
||||
QScrollBar:handle:vertical { |
||||
background: #1c1c1c!important; |
||||
min-height: 20px!important; |
||||
border-radius: 3px!important; |
||||
margin-left: 3px!important; |
||||
margin-right: 1px!important; |
||||
} |
||||
|
||||
QScrollBar:handle:vertical:hover { |
||||
background: #2d2d2d!important; |
||||
} |
||||
|
||||
QScrollBar:handle:vertical:pressed { |
||||
background: #171717!important; |
||||
} |
||||
|
||||
QScrollBar:add-line:vertical {height: 0px!important;subcontrol-position: bottom!important;subcontrol-origin: margin!important;} |
||||
|
||||
QScrollBar:sub-line:vertical {height: 0px!important;subcontrol-position: top!important;subcontrol-origin: margin!important;} |
||||
|
||||
QScrollBar:add-page:vertical, QScrollBar::sub-page:vertical { |
||||
background: none!important; |
||||
} |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 385 B |
After Width: | Height: | Size: 370 B |
After Width: | Height: | Size: 372 B |
After Width: | Height: | Size: 401 B |
After Width: | Height: | Size: 401 B |
After Width: | Height: | Size: 402 B |
After Width: | Height: | Size: 371 B |
After Width: | Height: | Size: 371 B |