gnokii-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: zphone smssend.ui, NONE, 1.1 smssend.ui.cpp, NONE, 1.1 smssend.ui.h


From: Pavel Machek <address@hidden>
Subject: CVS: zphone smssend.ui, NONE, 1.1 smssend.ui.cpp, NONE, 1.1 smssend.ui.h, NONE, 1.1 README, 1.1.1.1, 1.2 main.cpp, 1.1, 1.2 mainwin.ui.cpp, 1.1, 1.2 mainwin.ui.h, 1.1, 1.2 mkit, 1.1, 1.2
Date: Mon, 14 Jul 2003 18:29:37 -0400

Update of /cvsroot/gnokii/zphone
In directory subversions:/tmp/cvs-serv3813

Modified Files:
        README main.cpp mainwin.ui.cpp mainwin.ui.h mkit 
Added Files:
        smssend.ui smssend.ui.cpp smssend.ui.h 
Log Message:
Add capability of SMS sending.


--- NEW FILE ---
<!DOCTYPE UI><UI>
<class>smssend</class>
<widget>
    <class>QDialog</class>
    <property stdset="1">
        <name>name</name>
        <cstring>smssend</cstring>
    </property>
    <property stdset="1">
        <name>geometry</name>
        <rect>
            <x>0</x>
            <y>0</y>
            <width>247</width>
            <height>274</height>
        </rect>
    </property>
    <property stdset="1">
        <name>caption</name>
        <string>Send SMS message</string>
    </property>
    <widget>
        <class>QLabel</class>
        <property stdset="1">
            <name>name</name>
            <cstring>TextLabel3</cstring>
        </property>
        <property stdset="1">
            <name>geometry</name>
            <rect>
                <x>10</x>
                <y>10</y>
                <width>30</width>
                <height>21</height>
            </rect>
        </property>
        <property stdset="1">
            <name>text</name>
            <string>To:</string>
        </property>
    </widget>
    <widget>
        <class>QLineEdit</class>
        <property stdset="1">
            <name>name</name>
            <cstring>number_line</cstring>
        </property>
        <property stdset="1">
            <name>geometry</name>
            <rect>
                <x>40</x>
                <y>10</y>
                <width>150</width>
                <height>26</height>
            </rect>
        </property>
    </widget>
    <widget>
        <class>QMultiLineEdit</class>
        <property stdset="1">
            <name>name</name>
            <cstring>text_multiline</cstring>
        </property>
        <property stdset="1">
            <name>geometry</name>
            <rect>
                <x>10</x>
                <y>50</y>
                <width>220</width>
                <height>151</height>
            </rect>
        </property>
    </widget>
    <widget>
        <class>QPushButton</class>
        <property stdset="1">
            <name>name</name>
            <cstring>addressbook_button</cstring>
        </property>
        <property stdset="1">
            <name>geometry</name>
            <rect>
                <x>201</x>
                <y>10</y>
                <width>30</width>
                <height>31</height>
            </rect>
        </property>
        <property stdset="1">
            <name>text</name>
            <string>...</string>
        </property>
    </widget>
    <widget>
        <class>QPushButton</class>
        <property stdset="1">
            <name>name</name>
            <cstring>send_button</cstring>
        </property>
        <property stdset="1">
            <name>geometry</name>
            <rect>
                <x>171</x>
                <y>220</y>
                <width>60</width>
                <height>31</height>
            </rect>
        </property>
        <property stdset="1">
            <name>text</name>
            <string>Send</string>
        </property>
    </widget>
    <widget>
        <class>QPushButton</class>
        <property stdset="1">
            <name>name</name>
            <cstring>options_button</cstring>
        </property>
        <property stdset="1">
            <name>geometry</name>
            <rect>
                <x>70</x>
                <y>220</y>
                <width>90</width>
                <height>31</height>
            </rect>
        </property>
        <property stdset="1">
            <name>text</name>
            <string>Options...</string>
        </property>
    </widget>
    <widget>
        <class>QLabel</class>
        <property stdset="1">
            <name>name</name>
            <cstring>length_label</cstring>
        </property>
        <property stdset="1">
            <name>geometry</name>
            <rect>
                <x>10</x>
                <y>210</y>
                <width>51</width>
                <height>21</height>
            </rect>
        </property>
        <property stdset="1">
            <name>text</name>
            <string>0/150</string>
        </property>
    </widget>
</widget>
</UI>

--- NEW FILE ---
/****************************************************************************
** Form implementation generated from reading ui file 'smssend.ui'
**
** Created: Mon Jul 14 23:16:29 2003
**      by:  The User Interface Compiler (uic)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#include "smssend.ui.h"

#include <qlabel.h>
#include <qlineedit.h>
#include <qmultilineedit.h>
#include <qpushbutton.h>
#include <qlayout.h>
#include <qvariant.h>
#include <qtooltip.h>
#include <qwhatsthis.h>

/* 
 *  Constructs a smssend which is a child of 'parent', with the 
 *  name 'name' and widget flags set to 'f' 
 *
 *  The dialog will by default be modeless, unless you set 'modal' to
 *  TRUE to construct a modal dialog.
 */
smssend::smssend( QWidget* parent,  const char* name, bool modal, WFlags fl )
    : QDialog( parent, name, modal, fl )
{
    if ( !name )
        setName( "smssend" );
    resize( 247, 274 ); 
    setCaption( tr( "Send SMS message" ) );

    TextLabel3 = new QLabel( this, "TextLabel3" );
    TextLabel3->setGeometry( QRect( 10, 10, 30, 21 ) ); 
    TextLabel3->setText( tr( "To:" ) );

    number_line = new QLineEdit( this, "number_line" );
    number_line->setGeometry( QRect( 40, 10, 150, 26 ) ); 

    text_multiline = new QMultiLineEdit( this, "text_multiline" );
    text_multiline->setGeometry( QRect( 10, 50, 220, 151 ) ); 
    text_multiline->setMaxLength(150);

    addressbook_button = new QPushButton( this, "addressbook_button" );
    addressbook_button->setGeometry( QRect( 201, 10, 30, 31 ) ); 
    addressbook_button->setText( tr( "..." ) );

    send_button = new QPushButton( this, "send_button" );
    send_button->setGeometry( QRect( 171, 220, 60, 31 ) ); 
    send_button->setText( tr( "Send" ) );

    options_button = new QPushButton( this, "options_button" );
    options_button->setGeometry( QRect( 70, 220, 90, 31 ) ); 
    options_button->setText( tr( "Options..." ) );

    length_label = new QLabel( this, "length_label" );
    length_label->setGeometry( QRect( 10, 210, 51, 21 ) ); 
    length_label->setText( tr( "0/150" ) );

    // signals and slots connections
    connect( send_button, SIGNAL( clicked() ), this, SLOT( send() ) );
}

/*  
 *  Destroys the object and frees any allocated resources
 */
smssend::~smssend()
{
    // no need to delete child widgets, Qt does it all for us
}


--- NEW FILE ---
/****************************************************************************
** Form interface generated from reading ui file 'smssend.ui'
**
** Created: Mon Jul 14 23:16:14 2003
**      by:  The User Interface Compiler (uic)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#ifndef SMSSEND_H
#define SMSSEND_H

#include <qvariant.h>
#include <qdialog.h>
class QVBoxLayout; 
class QHBoxLayout; 
class QGridLayout; 
class QLabel;
class QLineEdit;
class QMultiLineEdit;
class QPushButton;

class smssend : public QDialog
{ 
    Q_OBJECT

public:
    smssend( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, 
WFlags fl = 0 );
    ~smssend();

    QLabel* TextLabel3;
    QLineEdit* number_line;
    QMultiLineEdit* text_multiline;
    QPushButton* addressbook_button;
    QPushButton* send_button;
    QPushButton* options_button;
    QLabel* length_label;

public slots:
    virtual void send();
};

#endif // SMSSEND_H

--- Diff text surpressed ---

--- Diff text surpressed ---

--- Diff text surpressed ---

--- Diff text surpressed ---

--- Diff text surpressed ---





reply via email to

[Prev in Thread] Current Thread [Next in Thread]