qnetdice

changeset 2:ad12da657c00

removed the unused dice dialog
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 22 Dec 2013 04:09:23 +0200
parents 92377189a5c6
children 2e57c80653af
files src/dicedialog.cc src/dicedialog.h ui/dicedialog.ui
diffstat 3 files changed, 0 insertions(+), 248 deletions(-) [+]
line diff
     1.1 --- a/src/dicedialog.cc	Sun Dec 22 04:08:50 2013 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,14 +0,0 @@
     1.4 -#include "dicedialog.h"
     1.5 -#include "ui_dicedialog.h"
     1.6 -
     1.7 -DiceDialog::DiceDialog(QWidget *parent) :
     1.8 -    QDialog(parent),
     1.9 -    ui(new Ui::DiceDialog)
    1.10 -{
    1.11 -    ui->setupUi(this);
    1.12 -}
    1.13 -
    1.14 -DiceDialog::~DiceDialog()
    1.15 -{
    1.16 -    delete ui;
    1.17 -}
     2.1 --- a/src/dicedialog.h	Sun Dec 22 04:08:50 2013 +0200
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,22 +0,0 @@
     2.4 -#ifndef DICEDIALOG_H
     2.5 -#define DICEDIALOG_H
     2.6 -
     2.7 -#include <QDialog>
     2.8 -
     2.9 -namespace Ui {
    2.10 -class DiceDialog;
    2.11 -}
    2.12 -
    2.13 -class DiceDialog : public QDialog
    2.14 -{
    2.15 -    Q_OBJECT
    2.16 -
    2.17 -public:
    2.18 -    explicit DiceDialog(QWidget *parent = 0);
    2.19 -    ~DiceDialog();
    2.20 -
    2.21 -private:
    2.22 -    Ui::DiceDialog *ui;
    2.23 -};
    2.24 -
    2.25 -#endif // DICEDIALOG_H
     3.1 --- a/ui/dicedialog.ui	Sun Dec 22 04:08:50 2013 +0200
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,212 +0,0 @@
     3.4 -<?xml version="1.0" encoding="UTF-8"?>
     3.5 -<ui version="4.0">
     3.6 - <class>DiceDialog</class>
     3.7 - <widget class="QDialog" name="DiceDialog">
     3.8 -  <property name="geometry">
     3.9 -   <rect>
    3.10 -    <x>0</x>
    3.11 -    <y>0</y>
    3.12 -    <width>581</width>
    3.13 -    <height>384</height>
    3.14 -   </rect>
    3.15 -  </property>
    3.16 -  <property name="windowTitle">
    3.17 -   <string>Dialog</string>
    3.18 -  </property>
    3.19 -  <layout class="QVBoxLayout" name="verticalLayout">
    3.20 -   <item>
    3.21 -    <layout class="QHBoxLayout" name="horizontalLayout">
    3.22 -     <item>
    3.23 -      <spacer name="horizontalSpacer">
    3.24 -       <property name="orientation">
    3.25 -        <enum>Qt::Horizontal</enum>
    3.26 -       </property>
    3.27 -       <property name="sizeHint" stdset="0">
    3.28 -        <size>
    3.29 -         <width>40</width>
    3.30 -         <height>20</height>
    3.31 -        </size>
    3.32 -       </property>
    3.33 -      </spacer>
    3.34 -     </item>
    3.35 -     <item>
    3.36 -      <widget class="QSpinBox" name="spin_count">
    3.37 -       <property name="toolTip">
    3.38 -        <string>number of dice</string>
    3.39 -       </property>
    3.40 -       <property name="minimum">
    3.41 -        <number>1</number>
    3.42 -       </property>
    3.43 -       <property name="maximum">
    3.44 -        <number>100</number>
    3.45 -       </property>
    3.46 -      </widget>
    3.47 -     </item>
    3.48 -     <item>
    3.49 -      <widget class="QComboBox" name="combo_type">
    3.50 -       <property name="cursor">
    3.51 -        <cursorShape>ArrowCursor</cursorShape>
    3.52 -       </property>
    3.53 -       <property name="toolTip">
    3.54 -        <string>type of dice</string>
    3.55 -       </property>
    3.56 -       <property name="editable">
    3.57 -        <bool>true</bool>
    3.58 -       </property>
    3.59 -       <property name="currentIndex">
    3.60 -        <number>4</number>
    3.61 -       </property>
    3.62 -       <item>
    3.63 -        <property name="text">
    3.64 -         <string>d4</string>
    3.65 -        </property>
    3.66 -       </item>
    3.67 -       <item>
    3.68 -        <property name="text">
    3.69 -         <string>d6</string>
    3.70 -        </property>
    3.71 -       </item>
    3.72 -       <item>
    3.73 -        <property name="text">
    3.74 -         <string>d8</string>
    3.75 -        </property>
    3.76 -       </item>
    3.77 -       <item>
    3.78 -        <property name="text">
    3.79 -         <string>d12</string>
    3.80 -        </property>
    3.81 -       </item>
    3.82 -       <item>
    3.83 -        <property name="text">
    3.84 -         <string>d20</string>
    3.85 -        </property>
    3.86 -       </item>
    3.87 -       <item>
    3.88 -        <property name="text">
    3.89 -         <string>d100</string>
    3.90 -        </property>
    3.91 -       </item>
    3.92 -      </widget>
    3.93 -     </item>
    3.94 -     <item>
    3.95 -      <spacer name="horizontalSpacer_2">
    3.96 -       <property name="orientation">
    3.97 -        <enum>Qt::Horizontal</enum>
    3.98 -       </property>
    3.99 -       <property name="sizeHint" stdset="0">
   3.100 -        <size>
   3.101 -         <width>40</width>
   3.102 -         <height>20</height>
   3.103 -        </size>
   3.104 -       </property>
   3.105 -      </spacer>
   3.106 -     </item>
   3.107 -    </layout>
   3.108 -   </item>
   3.109 -   <item>
   3.110 -    <spacer name="verticalSpacer_2">
   3.111 -     <property name="orientation">
   3.112 -      <enum>Qt::Vertical</enum>
   3.113 -     </property>
   3.114 -     <property name="sizeHint" stdset="0">
   3.115 -      <size>
   3.116 -       <width>20</width>
   3.117 -       <height>106</height>
   3.118 -      </size>
   3.119 -     </property>
   3.120 -    </spacer>
   3.121 -   </item>
   3.122 -   <item>
   3.123 -    <layout class="QHBoxLayout" name="horizontalLayout_2">
   3.124 -     <item>
   3.125 -      <spacer name="horizontalSpacer_3">
   3.126 -       <property name="orientation">
   3.127 -        <enum>Qt::Horizontal</enum>
   3.128 -       </property>
   3.129 -       <property name="sizeHint" stdset="0">
   3.130 -        <size>
   3.131 -         <width>40</width>
   3.132 -         <height>20</height>
   3.133 -        </size>
   3.134 -       </property>
   3.135 -      </spacer>
   3.136 -     </item>
   3.137 -     <item>
   3.138 -      <widget class="QLineEdit" name="tx_dice"/>
   3.139 -     </item>
   3.140 -     <item>
   3.141 -      <spacer name="horizontalSpacer_4">
   3.142 -       <property name="orientation">
   3.143 -        <enum>Qt::Horizontal</enum>
   3.144 -       </property>
   3.145 -       <property name="sizeHint" stdset="0">
   3.146 -        <size>
   3.147 -         <width>40</width>
   3.148 -         <height>20</height>
   3.149 -        </size>
   3.150 -       </property>
   3.151 -      </spacer>
   3.152 -     </item>
   3.153 -    </layout>
   3.154 -   </item>
   3.155 -   <item>
   3.156 -    <spacer name="verticalSpacer">
   3.157 -     <property name="orientation">
   3.158 -      <enum>Qt::Vertical</enum>
   3.159 -     </property>
   3.160 -     <property name="sizeHint" stdset="0">
   3.161 -      <size>
   3.162 -       <width>20</width>
   3.163 -       <height>106</height>
   3.164 -      </size>
   3.165 -     </property>
   3.166 -    </spacer>
   3.167 -   </item>
   3.168 -   <item>
   3.169 -    <widget class="QDialogButtonBox" name="buttonBox">
   3.170 -     <property name="orientation">
   3.171 -      <enum>Qt::Horizontal</enum>
   3.172 -     </property>
   3.173 -     <property name="standardButtons">
   3.174 -      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
   3.175 -     </property>
   3.176 -    </widget>
   3.177 -   </item>
   3.178 -  </layout>
   3.179 - </widget>
   3.180 - <resources/>
   3.181 - <connections>
   3.182 -  <connection>
   3.183 -   <sender>buttonBox</sender>
   3.184 -   <signal>accepted()</signal>
   3.185 -   <receiver>DiceDialog</receiver>
   3.186 -   <slot>accept()</slot>
   3.187 -   <hints>
   3.188 -    <hint type="sourcelabel">
   3.189 -     <x>227</x>
   3.190 -     <y>335</y>
   3.191 -    </hint>
   3.192 -    <hint type="destinationlabel">
   3.193 -     <x>157</x>
   3.194 -     <y>224</y>
   3.195 -    </hint>
   3.196 -   </hints>
   3.197 -  </connection>
   3.198 -  <connection>
   3.199 -   <sender>buttonBox</sender>
   3.200 -   <signal>rejected()</signal>
   3.201 -   <receiver>DiceDialog</receiver>
   3.202 -   <slot>reject()</slot>
   3.203 -   <hints>
   3.204 -    <hint type="sourcelabel">
   3.205 -     <x>295</x>
   3.206 -     <y>335</y>
   3.207 -    </hint>
   3.208 -    <hint type="destinationlabel">
   3.209 -     <x>286</x>
   3.210 -     <y>224</y>
   3.211 -    </hint>
   3.212 -   </hints>
   3.213 -  </connection>
   3.214 - </connections>
   3.215 -</ui>