| 1 | /***************************************************************************** |
| 2 | ** QNapi |
| 3 | ** Copyright (C) 2008-2017 Piotr KrzemiĆski <[email protected]> |
| 4 | ** |
| 5 | ** This program is free software; you can redistribute it and/or modify |
| 6 | ** it under the terms of the GNU General Public License as published by |
| 7 | ** the Free Software Foundation; either version 2 of the License, or |
| 8 | ** (at your option) any later version. |
| 9 | ** |
| 10 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
| 11 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
| 12 | ** |
| 13 | *****************************************************************************/ |
| 14 | |
| 15 | #include "frmabout.h"cxx . . $ `<file>/gui/src/forms/frmabout.h`/ |
| 16 | #include "libqnapi.h"cxx . . $ `<file>/libqnapi/src/libqnapi.h`/ |
| 17 | |
| 18 | frmAboutcxx . . $ frmAbout#::frmAboutcxx . . $ frmAbout#frmAbout(872e7b0c281abd8d).(QWidgetcxx . . $ QWidget#* parent, Qtcxx . . $ Qt/::WindowFlagscxx . . $ Qt/WindowFlags# f) : QDialogcxx . . $ QDialog#QDialog(872e7b0c281abd8d).(parent, f) { |
| 19 | uicxx . . $ frmAbout#ui..setupUicxx . . $ Ui_frmAbout#setupUi(d194de0c0f68c28b).(this); |
| 20 | |
| 21 | setAttributecxx . . $ QWidget#setAttribute(52fc7bf162518f7f).(Qtcxx . . $ Qt/::WA_QuitOnClosecxx . . $ Qt/WA_QuitOnClose., false); |
| 22 | uicxx . . $ frmAbout#ui..lbTitlecxx . . $ Ui_frmAbout#lbTitle.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(QStringcxx . . $ QString#QString(85c52e162fed56f9).("QNapi ") +cxx . . $ operator+(fab9b4f80031f353). LibQNapicxx . . $ LibQNapi#::displayableVersioncxx . . $ LibQNapi#displayableVersion(4365c3963150523e).()); |
| 23 | uicxx . . $ frmAbout#ui..lbQtVersioncxx . . $ Ui_frmAbout#lbQtVersion.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(QStringcxx . . $ QString#QString(85c52e162fed56f9).("Qt version: ") +cxx . . $ operator+(3d22f08efddf8107). qVersion()); |
| 24 | |
| 25 | QRectcxx . . $ QRect# position = frameGeometrycxx . . $ QWidget#frameGeometry(d857385bac04cbf7).(); |
| 26 | position.moveCentercxx . . $ QRect#moveCenter(4f9e9534be445c03).(QDesktopWidgetcxx . . $ QDesktopWidget#QDesktopWidget(49f6e7a06ebc5aa8).().availableGeometrycxx . . $ QDesktopWidget#availableGeometry(b336661e7197c5cf).().centercxx . . $ QRect#center(75d69cfbd3c4b2dd).()); |
| 27 | movecxx . . $ QWidget#move(4f9e9534be445c03).(position.topLeftcxx . . $ QRect#topLeft(75d69cfbd3c4b2dd).()); |
| 28 | |
| 29 | uicxx . . $ frmAbout#ui..lbQNapiIconcxx . . $ Ui_frmAbout#lbQNapiIcon.->setPixmapcxx . . $ QLabel#setPixmap(8887f7d25b86c3f4).(QIconcxx . . $ QIcon#QIcon(3520e46b33348bf6).(":/icon/qnapi.png"cxx . . $ QString#QString(85c52e162fed56f9).).pixmapcxx . . $ QIcon#pixmap(422845b92bac27b2).(64)); |
| 30 | uicxx . . $ frmAbout#ui..lbNPBannercxx . . $ Ui_frmAbout#lbNPBanner.->setPixmapcxx . . $ QLabel#setPixmap(8887f7d25b86c3f4).(QIconcxx . . $ QIcon#QIcon(3520e46b33348bf6).(":/icon/napiprojekt.jpg"cxx . . $ QString#QString(85c52e162fed56f9).).pixmapcxx . . $ QIcon#pixmap(6ca65e964a77a341).(128, 35)); |
| 31 | uicxx . . $ frmAbout#ui..lbOSBannercxx . . $ Ui_frmAbout#lbOSBanner.->setPixmapcxx . . $ QLabel#setPixmap(8887f7d25b86c3f4).(QIconcxx . . $ QIcon#QIcon(3520e46b33348bf6).(":/icon/opensubtitles.png"cxx . . $ QString#QString(85c52e162fed56f9).).pixmapcxx . . $ QIcon#pixmap(6ca65e964a77a341).(150, 51)); |
| 32 | uicxx . . $ frmAbout#ui..lbN24Bannercxx . . $ Ui_frmAbout#lbN24Banner.->setPixmapcxx . . $ QLabel#setPixmap(8887f7d25b86c3f4).(QIconcxx . . $ QIcon#QIcon(3520e46b33348bf6).(":/icon/napisy24.gif"cxx . . $ QString#QString(85c52e162fed56f9).).pixmapcxx . . $ QIcon#pixmap(6ca65e964a77a341).(130, 34)); |
| 33 | } |