[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] Qt-problem...



"Erwin S. Andreasen" wrote:
> 
> On Wed, 17 Feb 1999, Johan Andersson wrote:
> 
> > Det är ett enkelt "Hello World" exempel (fast på svenska ;). Där är en
> > label och 2 knappar. Hur gör jag för att få knappen som har texten
> > "Hejsan världen" att göra något enkelt?? Kanske bara ändra texten på
> > Labelen eller något??
> 
> Du skal have et slot som tager imod signalet fra knappen, og saa lave en
> CONNECT ellers som du har gjort ved at connect'e test2 til quit allerede,
> bare til dit slot. Se QT dokumentationen.
> 

Men hur gör jag en SLOT då??
Kollade i dokumentationen till QT, men jag förstod inte hur man gjorde en SLOT som man kopplade till en knapp.
När jag väl fått in SLOT'en så skriver jag bara in den där jag har quit() nu då??

(jag är som sagt var nybörjade i programmering...)

> --
> ==============================================================================
> Erwin Andreasen   Herlev, Denmark <sslug@sslug>          UNIX System Programmer
> <URL:http://www.andreasen.org>              <*>         (not speaking for) DDE
> ==============================================================================

-- 
     If the truth is out there, does anyone have the URL?       #####
                                                               #######
                  @   // Johan Andersson                       ##O#O##
 ######          @@#                                           #VVVVV#
   ##             #                                          ##  VVV  ##
   ##         @@@   ### ####   ###    ###  ##### #####      #          ##
   ##        @  @#   ###    ##  ##     ##    ###  ##       #            ##
   ##       @   @#   ##     ##  ##     ##      ###         #            ###
   ##          @@#   ##     ##  ##     ##      ###        QQ#           ##Q
   ##       # @@#    ##     ##  ##     ##     ## ##     QQQQQQ#       #QQQQQQ
   ##      ## @@# #  ##     ##  ###   ###    ##   ##    QQQQQQQ#     #QQQQQQQ
 ############  ###  ####   ####   #### ### ##### ######   QQQQQ#######QQQQQ


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:07 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *