From: <f-r...@us...> - 2011-02-11 19:25:37
|
Revision: 239 http://netemul.svn.sourceforge.net/netemul/?rev=239&view=rev Author: f-r-o-s-t Date: 2011-02-11 19:25:30 +0000 (Fri, 11 Feb 2011) Log Message: ----------- rename program files Added Paths: ----------- trunk/src/dialogs/programdialog.cpp trunk/src/dialogs/programdialog.h trunk/src/forms/programdialog.ui Removed Paths: ------------- trunk/src/dialogs/programmdialog.cpp trunk/src/dialogs/programmdialog.h trunk/src/forms/programmdialog.ui Copied: trunk/src/dialogs/programdialog.cpp (from rev 238, trunk/src/dialogs/programmdialog.cpp) =================================================================== --- trunk/src/dialogs/programdialog.cpp (rev 0) +++ trunk/src/dialogs/programdialog.cpp 2011-02-11 19:25:30 UTC (rev 239) @@ -0,0 +1,119 @@ +/**************************************************************************************** +** NetEmul - program for simulating computer networks. +** Copyright © 2009 Semenov Pavel and Omilaeva Anastasia +** +** NetEmul is free software; you can redistribute it and/or +** modify it under the terms of the GNU Lesser General Public +** License as published by the Free Software Foundation; either +** version 2.1 of the License, or (at your option) any later version. +** +** NetEmul 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 GNU +** Lesser General Public License for more details. +** +** You should have received a copy of the GNU Lesser General Public +** License along with the NetEmul; if not, write to the Free +** Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +** 02111-1307 USA. +****************************************************************************************/ +#include "programmdialog.h" +#include "smartdevice.h" +#include "installdialog.h" +#include <QCheckBox> + +programmDialog::programmDialog(QWidget *parent) : QDialog(parent) +{ + setupUi(this); + setAttribute(Qt::WA_DeleteOnClose); +} + +/*! + Обновляет список программ. +*/ +void programmDialog::updateList() +{ + list->clear(); + foreach ( Program *i, s->programs() ){ + QListWidgetItem *item = new QListWidgetItem(i->name()); + item->setFlags(Qt::ItemIsEnabled | Qt::ItemIsUserCheckable | Qt::ItemIsSelectable); + item->setData( Qt::UserRole , i->id() ); + if ( i->isEnable() ) item->setCheckState(Qt::Checked); + else item->setCheckState(Qt::Unchecked); + list->addItem(item); + } +} +//------------------------------------------------- +void programmDialog::programmChanged() +{ + btn_remove->setEnabled( list->currentItem() ); + btn_settings->setEnabled( list->currentItem() ); +} + +void programmDialog::stateChanged(QListWidgetItem *item) +{ + if ( !item ) return; + Program *p = s->programAt( item->data( Qt::UserRole).toInt() ); + p->setEnable( item->checkState() == Qt::Checked ); + p->updateView(); +} + +void programmDialog::setDevice( SmartDevice *d ) +{ + s = d; + updateList(); +} +/*! + Слот, вызываемый при нажатии на кнопку Ok, + выполняет все принятые изменения, закрывает диалог. +*/ +void programmDialog::apply() +{ + for ( int i = 0; i < list->count(); i++) { + QListWidgetItem *n = list->item(i); + if (n->checkState() == Qt::Checked ) s->programAt( n->data(Qt::UserRole).toInt() )->setEnable(true); + else s->programAt( n->data(Qt::UserRole).toInt() )->setEnable(false); + } + accept(); +} +//---------------------------------------------------- +/*! + Слот вызывает диалог установки программ, + обновляет список установленных программ. +*/ +void programmDialog::add() +{ + installDialog *d = new installDialog; + d->setDevice( s ); + d->exec(); + btn_ok->setFocus(); + updateList(); +} +//----------------------------------------------------- +/*! + Слот удаляет выделенную программу. +*/ +void programmDialog::remove() +{ + QListWidgetItem *w = list->currentItem(); + s->removeProgram( s->programAt(w->data(Qt::UserRole).toInt() ) ); + updateList(); +} + +void programmDialog::settings() +{ + s->programAt( list->currentItem()->data(Qt::UserRole).toInt() )->showProperty(); +} + +//----------------------------------------------------- +void programmDialog::changeEvent(QEvent *e) +{ + QDialog::changeEvent(e); + switch (e->type()) { + case QEvent::LanguageChange: + retranslateUi(this); + break; + default: + break; + } +} Copied: trunk/src/dialogs/programdialog.h (from rev 238, trunk/src/dialogs/programmdialog.h) =================================================================== --- trunk/src/dialogs/programdialog.h (rev 0) +++ trunk/src/dialogs/programdialog.h 2011-02-11 19:25:30 UTC (rev 239) @@ -0,0 +1,51 @@ +/**************************************************************************************** +** NetEmul - program for simulating computer networks. +** Copyright © 2009 Semenov Pavel and Omilaeva Anastasia +** +** NetEmul is free software; you can redistribute it and/or +** modify it under the terms of the GNU Lesser General Public +** License as published by the Free Software Foundation; either +** version 2.1 of the License, or (at your option) any later version. +** +** NetEmul 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 GNU +** Lesser General Public License for more details. +** +** You should have received a copy of the GNU Lesser General Public +** License along with the NetEmul; if not, write to the Free +** Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +** 02111-1307 USA. +****************************************************************************************/ +#ifndef PROGRAMMDIALOG_H +#define PROGRAMMDIALOG_H + +#include "ui_programmdialog.h" + +class SmartDevice; + +/*! + Реализует диалог установленных пограмм устройства. +*/ +class programmDialog : public QDialog, private Ui::programmDialog { + Q_OBJECT + Q_DISABLE_COPY(programmDialog) +public: + programmDialog(QWidget *parent = 0); + void setDevice( SmartDevice *d ); +protected: + void updateList(); + void changeEvent(QEvent *e); +private: + SmartDevice *s; //!< Указатель на устройство. +public slots: + void apply(); +private slots: + void stateChanged(QListWidgetItem *item); + void programmChanged(); + void settings(); + void add(); + void remove(); +}; + +#endif // PROGRAMMDIALOG_H Deleted: trunk/src/dialogs/programmdialog.cpp =================================================================== --- trunk/src/dialogs/programmdialog.cpp 2011-02-11 18:54:11 UTC (rev 238) +++ trunk/src/dialogs/programmdialog.cpp 2011-02-11 19:25:30 UTC (rev 239) @@ -1,119 +0,0 @@ -/**************************************************************************************** -** NetEmul - program for simulating computer networks. -** Copyright © 2009 Semenov Pavel and Omilaeva Anastasia -** -** NetEmul is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License as published by the Free Software Foundation; either -** version 2.1 of the License, or (at your option) any later version. -** -** NetEmul 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 GNU -** Lesser General Public License for more details. -** -** You should have received a copy of the GNU Lesser General Public -** License along with the NetEmul; if not, write to the Free -** Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -** 02111-1307 USA. -****************************************************************************************/ -#include "programmdialog.h" -#include "smartdevice.h" -#include "installdialog.h" -#include <QCheckBox> - -programmDialog::programmDialog(QWidget *parent) : QDialog(parent) -{ - setupUi(this); - setAttribute(Qt::WA_DeleteOnClose); -} - -/*! - Обновляет список программ. -*/ -void programmDialog::updateList() -{ - list->clear(); - foreach ( Program *i, s->programs() ){ - QListWidgetItem *item = new QListWidgetItem(i->name()); - item->setFlags(Qt::ItemIsEnabled | Qt::ItemIsUserCheckable | Qt::ItemIsSelectable); - item->setData( Qt::UserRole , i->id() ); - if ( i->isEnable() ) item->setCheckState(Qt::Checked); - else item->setCheckState(Qt::Unchecked); - list->addItem(item); - } -} -//------------------------------------------------- -void programmDialog::programmChanged() -{ - btn_remove->setEnabled( list->currentItem() ); - btn_settings->setEnabled( list->currentItem() ); -} - -void programmDialog::stateChanged(QListWidgetItem *item) -{ - if ( !item ) return; - Program *p = s->programAt( item->data( Qt::UserRole).toInt() ); - p->setEnable( item->checkState() == Qt::Checked ); - p->updateView(); -} - -void programmDialog::setDevice( SmartDevice *d ) -{ - s = d; - updateList(); -} -/*! - Слот, вызываемый при нажатии на кнопку Ok, - выполняет все принятые изменения, закрывает диалог. -*/ -void programmDialog::apply() -{ - for ( int i = 0; i < list->count(); i++) { - QListWidgetItem *n = list->item(i); - if (n->checkState() == Qt::Checked ) s->programAt( n->data(Qt::UserRole).toInt() )->setEnable(true); - else s->programAt( n->data(Qt::UserRole).toInt() )->setEnable(false); - } - accept(); -} -//---------------------------------------------------- -/*! - Слот вызывает диалог установки программ, - обновляет список установленных программ. -*/ -void programmDialog::add() -{ - installDialog *d = new installDialog; - d->setDevice( s ); - d->exec(); - btn_ok->setFocus(); - updateList(); -} -//----------------------------------------------------- -/*! - Слот удаляет выделенную программу. -*/ -void programmDialog::remove() -{ - QListWidgetItem *w = list->currentItem(); - s->removeProgram( s->programAt(w->data(Qt::UserRole).toInt() ) ); - updateList(); -} - -void programmDialog::settings() -{ - s->programAt( list->currentItem()->data(Qt::UserRole).toInt() )->showProperty(); -} - -//----------------------------------------------------- -void programmDialog::changeEvent(QEvent *e) -{ - QDialog::changeEvent(e); - switch (e->type()) { - case QEvent::LanguageChange: - retranslateUi(this); - break; - default: - break; - } -} Deleted: trunk/src/dialogs/programmdialog.h =================================================================== --- trunk/src/dialogs/programmdialog.h 2011-02-11 18:54:11 UTC (rev 238) +++ trunk/src/dialogs/programmdialog.h 2011-02-11 19:25:30 UTC (rev 239) @@ -1,51 +0,0 @@ -/**************************************************************************************** -** NetEmul - program for simulating computer networks. -** Copyright © 2009 Semenov Pavel and Omilaeva Anastasia -** -** NetEmul is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License as published by the Free Software Foundation; either -** version 2.1 of the License, or (at your option) any later version. -** -** NetEmul 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 GNU -** Lesser General Public License for more details. -** -** You should have received a copy of the GNU Lesser General Public -** License along with the NetEmul; if not, write to the Free -** Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -** 02111-1307 USA. -****************************************************************************************/ -#ifndef PROGRAMMDIALOG_H -#define PROGRAMMDIALOG_H - -#include "ui_programmdialog.h" - -class SmartDevice; - -/*! - Реализует диалог установленных пограмм устройства. -*/ -class programmDialog : public QDialog, private Ui::programmDialog { - Q_OBJECT - Q_DISABLE_COPY(programmDialog) -public: - programmDialog(QWidget *parent = 0); - void setDevice( SmartDevice *d ); -protected: - void updateList(); - void changeEvent(QEvent *e); -private: - SmartDevice *s; //!< Указатель на устройство. -public slots: - void apply(); -private slots: - void stateChanged(QListWidgetItem *item); - void programmChanged(); - void settings(); - void add(); - void remove(); -}; - -#endif // PROGRAMMDIALOG_H Copied: trunk/src/forms/programdialog.ui (from rev 238, trunk/src/forms/programmdialog.ui) =================================================================== --- trunk/src/forms/programdialog.ui (rev 0) +++ trunk/src/forms/programdialog.ui 2011-02-11 19:25:30 UTC (rev 239) @@ -0,0 +1,260 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>programmDialog</class> + <widget class="QDialog" name="programmDialog"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>400</width> + <height>250</height> + </rect> + </property> + <property name="minimumSize"> + <size> + <width>400</width> + <height>250</height> + </size> + </property> + <property name="windowTitle"> + <string>Programs</string> + </property> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <widget class="QLabel" name="lb_prog"> + <property name="text"> + <string>Installed programs</string> + </property> + </widget> + </item> + <item> + <widget class="QListWidget" name="list"/> + </item> + </layout> + </item> + <item> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <spacer name="verticalSpacer_3"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Fixed</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="btn_add"> + <property name="text"> + <string>Add</string> + </property> + <property name="icon"> + <iconset> + <normaloff>:/im/images/edit_add.png</normaloff>:/im/images/edit_add.png</iconset> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="btn_settings"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Settings</string> + </property> + <property name="icon"> + <iconset> + <normaloff>:/im/images/setting.png</normaloff>:/im/images/setting.png</iconset> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="btn_remove"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Delete</string> + </property> + <property name="icon"> + <iconset> + <normaloff>:/im/images/edit_remove.png</normaloff>:/im/images/edit_remove.png</iconset> + </property> + </widget> + </item> + <item> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="btn_ok"> + <property name="text"> + <string>Ok</string> + </property> + <property name="icon"> + <iconset> + <normaloff>:/im/images/ok.png</normaloff>:/im/images/ok.png</iconset> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="btn_cancel"> + <property name="text"> + <string>Cancel</string> + </property> + <property name="icon"> + <iconset> + <normaloff>:/im/images/not.png</normaloff>:/im/images/not.png</iconset> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </item> + </layout> + </widget> + <resources/> + <connections> + <connection> + <sender>btn_cancel</sender> + <signal>clicked()</signal> + <receiver>programmDialog</receiver> + <slot>reject()</slot> + <hints> + <hint type="sourcelabel"> + <x>393</x> + <y>243</y> + </hint> + <hint type="destinationlabel"> + <x>188</x> + <y>245</y> + </hint> + </hints> + </connection> + <connection> + <sender>btn_ok</sender> + <signal>clicked()</signal> + <receiver>programmDialog</receiver> + <slot>apply()</slot> + <hints> + <hint type="sourcelabel"> + <x>393</x> + <y>214</y> + </hint> + <hint type="destinationlabel"> + <x>180</x> + <y>277</y> + </hint> + </hints> + </connection> + <connection> + <sender>btn_add</sender> + <signal>clicked()</signal> + <receiver>programmDialog</receiver> + <slot>add()</slot> + <hints> + <hint type="sourcelabel"> + <x>343</x> + <y>63</y> + </hint> + <hint type="destinationlabel"> + <x>313</x> + <y>18</y> + </hint> + </hints> + </connection> + <connection> + <sender>btn_remove</sender> + <signal>clicked()</signal> + <receiver>programmDialog</receiver> + <slot>remove()</slot> + <hints> + <hint type="sourcelabel"> + <x>393</x> + <y>132</y> + </hint> + <hint type="destinationlabel"> + <x>315</x> + <y>135</y> + </hint> + </hints> + </connection> + <connection> + <sender>btn_settings</sender> + <signal>clicked()</signal> + <receiver>programmDialog</receiver> + <slot>settings()</slot> + <hints> + <hint type="sourcelabel"> + <x>360</x> + <y>89</y> + </hint> + <hint type="destinationlabel"> + <x>386</x> + <y>23</y> + </hint> + </hints> + </connection> + <connection> + <sender>list</sender> + <signal>currentRowChanged(int)</signal> + <receiver>programmDialog</receiver> + <slot>programmChanged()</slot> + <hints> + <hint type="sourcelabel"> + <x>140</x> + <y>120</y> + </hint> + <hint type="destinationlabel"> + <x>351</x> + <y>13</y> + </hint> + </hints> + </connection> + <connection> + <sender>list</sender> + <signal>itemClicked(QListWidgetItem*)</signal> + <receiver>programmDialog</receiver> + <slot>stateChanged(QListWidgetItem*)</slot> + <hints> + <hint type="sourcelabel"> + <x>232</x> + <y>109</y> + </hint> + <hint type="destinationlabel"> + <x>335</x> + <y>30</y> + </hint> + </hints> + </connection> + </connections> + <slots> + <slot>apply()</slot> + <slot>add()</slot> + <slot>remove()</slot> + <slot>settings()</slot> + <slot>programmChanged()</slot> + <slot>stateChanged(QListWidgetItem*)</slot> + </slots> +</ui> Deleted: trunk/src/forms/programmdialog.ui =================================================================== --- trunk/src/forms/programmdialog.ui 2011-02-11 18:54:11 UTC (rev 238) +++ trunk/src/forms/programmdialog.ui 2011-02-11 19:25:30 UTC (rev 239) @@ -1,260 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ui version="4.0"> - <class>programmDialog</class> - <widget class="QDialog" name="programmDialog"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>400</width> - <height>250</height> - </rect> - </property> - <property name="minimumSize"> - <size> - <width>400</width> - <height>250</height> - </size> - </property> - <property name="windowTitle"> - <string>Programs</string> - </property> - <layout class="QHBoxLayout" name="horizontalLayout"> - <item> - <layout class="QHBoxLayout" name="horizontalLayout_2"> - <item> - <layout class="QVBoxLayout" name="verticalLayout_2"> - <item> - <widget class="QLabel" name="lb_prog"> - <property name="text"> - <string>Installed programs</string> - </property> - </widget> - </item> - <item> - <widget class="QListWidget" name="list"/> - </item> - </layout> - </item> - <item> - <layout class="QVBoxLayout" name="verticalLayout"> - <item> - <spacer name="verticalSpacer_3"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Fixed</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>40</height> - </size> - </property> - </spacer> - </item> - <item> - <widget class="QPushButton" name="btn_add"> - <property name="text"> - <string>Add</string> - </property> - <property name="icon"> - <iconset> - <normaloff>:/im/images/edit_add.png</normaloff>:/im/images/edit_add.png</iconset> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="btn_settings"> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="text"> - <string>Settings</string> - </property> - <property name="icon"> - <iconset> - <normaloff>:/im/images/setting.png</normaloff>:/im/images/setting.png</iconset> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="btn_remove"> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="text"> - <string>Delete</string> - </property> - <property name="icon"> - <iconset> - <normaloff>:/im/images/edit_remove.png</normaloff>:/im/images/edit_remove.png</iconset> - </property> - </widget> - </item> - <item> - <spacer name="verticalSpacer"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>40</height> - </size> - </property> - </spacer> - </item> - <item> - <widget class="QPushButton" name="btn_ok"> - <property name="text"> - <string>Ok</string> - </property> - <property name="icon"> - <iconset> - <normaloff>:/im/images/ok.png</normaloff>:/im/images/ok.png</iconset> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="btn_cancel"> - <property name="text"> - <string>Cancel</string> - </property> - <property name="icon"> - <iconset> - <normaloff>:/im/images/not.png</normaloff>:/im/images/not.png</iconset> - </property> - </widget> - </item> - </layout> - </item> - </layout> - </item> - </layout> - </widget> - <resources/> - <connections> - <connection> - <sender>btn_cancel</sender> - <signal>clicked()</signal> - <receiver>programmDialog</receiver> - <slot>reject()</slot> - <hints> - <hint type="sourcelabel"> - <x>393</x> - <y>243</y> - </hint> - <hint type="destinationlabel"> - <x>188</x> - <y>245</y> - </hint> - </hints> - </connection> - <connection> - <sender>btn_ok</sender> - <signal>clicked()</signal> - <receiver>programmDialog</receiver> - <slot>apply()</slot> - <hints> - <hint type="sourcelabel"> - <x>393</x> - <y>214</y> - </hint> - <hint type="destinationlabel"> - <x>180</x> - <y>277</y> - </hint> - </hints> - </connection> - <connection> - <sender>btn_add</sender> - <signal>clicked()</signal> - <receiver>programmDialog</receiver> - <slot>add()</slot> - <hints> - <hint type="sourcelabel"> - <x>343</x> - <y>63</y> - </hint> - <hint type="destinationlabel"> - <x>313</x> - <y>18</y> - </hint> - </hints> - </connection> - <connection> - <sender>btn_remove</sender> - <signal>clicked()</signal> - <receiver>programmDialog</receiver> - <slot>remove()</slot> - <hints> - <hint type="sourcelabel"> - <x>393</x> - <y>132</y> - </hint> - <hint type="destinationlabel"> - <x>315</x> - <y>135</y> - </hint> - </hints> - </connection> - <connection> - <sender>btn_settings</sender> - <signal>clicked()</signal> - <receiver>programmDialog</receiver> - <slot>settings()</slot> - <hints> - <hint type="sourcelabel"> - <x>360</x> - <y>89</y> - </hint> - <hint type="destinationlabel"> - <x>386</x> - <y>23</y> - </hint> - </hints> - </connection> - <connection> - <sender>list</sender> - <signal>currentRowChanged(int)</signal> - <receiver>programmDialog</receiver> - <slot>programmChanged()</slot> - <hints> - <hint type="sourcelabel"> - <x>140</x> - <y>120</y> - </hint> - <hint type="destinationlabel"> - <x>351</x> - <y>13</y> - </hint> - </hints> - </connection> - <connection> - <sender>list</sender> - <signal>itemClicked(QListWidgetItem*)</signal> - <receiver>programmDialog</receiver> - <slot>stateChanged(QListWidgetItem*)</slot> - <hints> - <hint type="sourcelabel"> - <x>232</x> - <y>109</y> - </hint> - <hint type="destinationlabel"> - <x>335</x> - <y>30</y> - </hint> - </hints> - </connection> - </connections> - <slots> - <slot>apply()</slot> - <slot>add()</slot> - <slot>remove()</slot> - <slot>settings()</slot> - <slot>programmChanged()</slot> - <slot>stateChanged(QListWidgetItem*)</slot> - </slots> -</ui> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |