Skip to content

Commit

Permalink
Merge branch 'termitoz-futurator-redesign' int push origin futurator-…
Browse files Browse the repository at this point in the history
…redesignto futurator-redesign
  • Loading branch information
annejan committed Jan 19, 2016
2 parents 563fb38 + 7b98e56 commit d0c8016
Show file tree
Hide file tree
Showing 29 changed files with 1,360 additions and 354 deletions.
Binary file added artwork/new blue/add.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artwork/new blue/cancel.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artwork/new blue/delete.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artwork/new blue/down-arrow.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artwork/new blue/edit.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artwork/new blue/help.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artwork/new blue/info.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artwork/new blue/key.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artwork/new blue/left-arrow.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artwork/new blue/ok.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artwork/new blue/right-arrow.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artwork/new blue/search.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artwork/new blue/search_25_1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artwork/new blue/search_25_2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artwork/new blue/settings.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artwork/new blue/up-arrow.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artwork/new blue/user.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artwork/progress.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
375 changes: 370 additions & 5 deletions configdialog.ui

Large diffs are not rendered by default.

23 changes: 16 additions & 7 deletions keygendialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <QDebug>
#include <QMessageBox>
#include "ui_keygendialog.h"
#include "qprogressindicator.h"
#include <QtGui>

KeygenDialog::KeygenDialog(ConfigDialog *parent)
: QDialog(parent), ui(new Ui::KeygenDialog) {
Expand Down Expand Up @@ -98,11 +98,6 @@ void KeygenDialog::done(int r) {
ui->buttonBox->setEnabled(false);
ui->checkBox->setEnabled(false);
ui->plainTextEdit->setEnabled(false);

QProgressIndicator *pi = new QProgressIndicator();
pi->startAnimation();
pi->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);

ui->frame->hide();
ui->label->setText(
QString("This operation can take some minutes.<br />") +
Expand All @@ -112,7 +107,21 @@ void KeygenDialog::done(int r) {
"disks) during the prime generation; this gives the random number "
"generator a better chance to gain enough entropy.");

this->layout()->addWidget(pi);

QLabel* label = new QLabel();

label-> setWindowFlags(Qt::FramelessWindowHint);
label->setAlignment(Qt::AlignHCenter | Qt::AlignVCenter);
//label->setGeometry(QRect(100, 100, 200, 200));
label->setMask((new QPixmap(":/artwork/progress.gif"))->mask());

this->layout()->addWidget(label);

QMovie *movie = new QMovie(":/artwork/progress.gif");
label->setMovie(movie);
movie->start();

label->show();

this->show();
dialog->genKey(ui->plainTextEdit->toPlainText(), this);
Expand Down
154 changes: 152 additions & 2 deletions keygendialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,88 @@
</item>
<item row="2" column="2" colspan="3">
<widget class="QLineEdit" name="passphrase2">
<property name="palette">
<palette>
<active>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>86</red>
<green>148</green>
<blue>242</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>86</red>
<green>148</green>
<blue>242</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>128</red>
<green>128</green>
<blue>128</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
<item row="0" column="1" colspan="2">
<widget class="QLineEdit" name="email"/>
<widget class="QLineEdit" name="email">
<property name="palette">
<palette>
<active>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>86</red>
<green>148</green>
<blue>242</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>86</red>
<green>148</green>
<blue>242</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>128</red>
<green>128</green>
<blue>128</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QLabel" name="labelName">
Expand All @@ -111,13 +186,88 @@
</item>
<item row="1" column="2" colspan="3">
<widget class="QLineEdit" name="passphrase1">
<property name="palette">
<palette>
<active>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>86</red>
<green>148</green>
<blue>242</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>86</red>
<green>148</green>
<blue>242</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>128</red>
<green>128</green>
<blue>128</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
<item row="0" column="4">
<widget class="QLineEdit" name="name"/>
<widget class="QLineEdit" name="name">
<property name="palette">
<palette>
<active>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>86</red>
<green>148</green>
<blue>242</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>86</red>
<green>148</green>
<blue>242</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>128</red>
<green>128</green>
<blue>128</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
</widget>
</item>
</layout>
</widget>
Expand Down

0 comments on commit d0c8016

Please sign in to comment.